Re: Compilation problems with mod_perl

2002-11-28 Thread Stas Bekman
Stas Bekman wrote:

Benny Jensen wrote:


 
Hello,
 
I'm trying to compile mod_perl for apache2. But i got a error message 
that i dont know how to solve. The following message is what i get:
 
/LD_RUN_PATH="" cc  -shared -L/usr/local/lib APR.o  -o 
../../../blib/arch/Apache2/auto/APR/APR.so   -lapr -laprutil
/usr/bin/ld: cannot find -lapr
collect2: ld returned 1 exit status
/
APR.so exist in following map:
 
//usr/local/lib/perl/5.8.0/Apache2/auto/APR/APR.so/
If anyone could help me to solve it


it's looking for libapr, not APR. You must have messed up the apache 
build step or missed it completely and don't have apache built yet. 
Review the installation steps at:
http://perl.apache.org/docs/2.0/user/install/install.html#Condiguring_and_Installing_Prerequisites 

That was actually a broken build after the apr project has changed the 
way it names the libraries. So please disregard my previous reply and 
get the latest cvs, it should work now.


__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Re: Compilation problems with mod_perl

2002-11-11 Thread Stas Bekman
Benny Jensen wrote:

 
Hello,
 
I'm trying to compile mod_perl for apache2. But i got a error message 
that i dont know how to solve. The following message is what i get:
 
/LD_RUN_PATH="" cc  -shared -L/usr/local/lib APR.o  -o 
../../../blib/arch/Apache2/auto/APR/APR.so   -lapr -laprutil
/usr/bin/ld: cannot find -lapr
collect2: ld returned 1 exit status
/
APR.so exist in following map:
 
//usr/local/lib/perl/5.8.0/Apache2/auto/APR/APR.so/
If anyone could help me to solve it

it's looking for libapr, not APR. You must have messed up the apache 
build step or missed it completely and don't have apache built yet. 
Review the installation steps at:
http://perl.apache.org/docs/2.0/user/install/install.html#Condiguring_and_Installing_Prerequisites



__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@;stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Compilation problems with mod_perl

2002-10-18 Thread Benny Jensen




 
Hello,
 
I'm trying to compile mod_perl for apache2. But i 
got a error message that i dont know how to solve. The following message is what 
i get: 

 
LD_RUN_PATH="" cc  -shared 
-L/usr/local/lib APR.o  -o 
../../../blib/arch/Apache2/auto/APR/APR.so   -lapr 
-laprutil/usr/bin/ld: cannot find -laprcollect2: ld returned 1 exit 
status
APR.so exist in following map:
 
/usr/local/lib/perl/5.8.0/Apache2/auto/APR/APR.so
If anyone could help me to solve 
it
 
//Benny Jensen