perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Soltan Safavi <sol...@mycopa.com>
Subject Re: Compiling Embperl
Date Fri, 16 Oct 2009 18:38:30 GMT
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


Mime
View raw message