perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Williams, David G. (HQ-JF000)[INDYNE INC]" <david.g.willi...@nasa.gov>
Subject RE: Compiling Embperl
Date Fri, 16 Oct 2009 20:18:57 GMT
Soltan,

I would be interested in hearing about an easy way to get Embperl and XALAN running on an
RPM-based system (without sources).  To get things working quickly on Fedora, I just uninstalled
the RPM version of Apache 2, mod_perl, and a number of other things and then manually installed
Apache 2.2.x and mod_perl 2 from source.  I have been unsuccessful in compiling libxml and
XALAN on Fedora from source, but I can live without them for now.

Gerald, is there an easier way to get Embperl and all its prerequisites running on Fedora?

Good luck.
________________________________________
From: Soltan Safavi [soltan@mycopa.com]
Sent: Friday, October 16, 2009 2:38 PM
To: Ed Grimm
Cc: embperl@perl.apache.org
Subject: Re: Compiling Embperl

Hi Ed,

I am still looking for the solution. Please find below the output of
Makefile.PL,
it shows that mod_perl is properly installed but could find Apache2

Thank you

Soltan


I am using:
httpd-2.2.10
mod_perl-2.0.4
perl-5.10.0

Build with support for Apache mod_perl?(y/n) [y]
Searching for Apache sources...
Look at ..
Look at ../src
Look at ./src
Apache source not found, enter path name or q to quit [q]/usr/include/httpd
Searching for Apache sources...
Look at /usr/include/httpd
Use /usr/include/httpd as Apache source(y/n) [y]
Will use /usr/include/httpd for Apache Headers
Enter path and file to start as httpd
[/usr/include/httpd/httpd]/usr/sbin/httpd
Apache Version Server version: Apache/2.2.10 (Unix)
Library for mod_actions.c not found, please enter path to
mod_actions.so  []/usr/lib/httpd/modules
 + Load dynamic module mod_actions.c
   (/usr/lib/httpd/modules/mod_actions.so)
 + Load dynamic module mod_cgi.c
   (/usr/lib/httpd/modules/mod_cgi.so)
 + Load dynamic module mod_alias.c
   (/usr/lib/httpd/modules/mod_alias.so)
 + Load dynamic module mod_env.c
   (/usr/lib/httpd/modules/mod_env.so)
 + Load dynamic module mod_perl.c
   (/usr/lib/httpd/modules/mod_perl.so)
 + Load dynamic module mod_mime.c
   (/usr/lib/httpd/modules/mod_mime.so)
 + Load dynamic module mod_dir.c
   (/usr/lib/httpd/modules/mod_dir.so)
 + mod_perl was build with USE_DSO
Can't locate Apache/src.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl .) at Makefile.PL line 982, <STDIN> line 5.


Ed Grimm wrote:
> All perl packages which are provided by your distribution should put
> their perl modules in one of the vendor_perl directories (excluding, of
> course, the perl package itself and any direct components thereof, which
> should put things in the core directories.)
>
> The easiest manner one could make it not work in this fashion would be
> to utilize a mod_perl package from someone other than the distribution
> vendor which places its files elsewhere.
>
> Perl silently ignores any @INC directories which do not exist.  So long
> as the files it is looking for are in a directory which does exist and
> is included in @INC, you should be good.
>
> Presence of mind check: do you need a mod_perl-dev package or something
> like that?  I'm pretty sure you would if you were running Ubuntu, as the
> normal Ubuntu mentality is to move things only needed to compile other
> things and are not specifically compiling tools themselves into -dev
> packages.
>
> Ed
>
> On Tue, 6 Oct 2009, Soltan Safavi wrote:
>
>
>> Hi Gerald
>>
>> I believe mod_perl is installed correctly.
>> Here I have the content of the @INC
>>
>> /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
>> /usr/local/lib/perl5/site_perl/5.10.0
>> /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
>> /usr/lib/perl5/5.10.0/i386-linux-thread-multi
>> /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl
>> .
>> but paths with site_perl are missing on my system.
>> Could this be the source of the problem?
>>
>> Thank you
>>
>> Soltan
>>
>>
>>
>> Gerald Richter wrote:
>>
>>> Hi,
>>>
>>> Apache::src is part of mod_perl 1, since you use mod_perl 2, it seems that
>>> mod_perl 2 is not detected by Makefile.PL. Maybe it is not fully/correctly
>>> installed?
>>>
>>> Gerald
>>>
>>>
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: Soltan Safavi [mailto:soltan@mycopa.com]
>>>> Sent: Wednesday, September 30, 2009 11:11 PM
>>>> To: embperl@perl.apache.org
>>>> Subject: Compiling Embperl
>>>>
>>>> Hi
>>>>
>>>> I am trying to build Embperl 2.2.0 on Fedora 10 and I get the
>>>> error "Can't locate Apache/src.pm in @INC"
>>>> I am using:
>>>> httpd-2.2.10
>>>> mod_perl-2.0.4
>>>> perl-5.10.0
>>>>
>>>> I appreciate your help
>>>>
>>>> Soltan
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>>>> For additional commands, e-mail: embperl-help@perl.apache.org
>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>> For additional commands, e-mail: embperl-help@perl.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message