Re: Help understanding the following error

2005-11-02 Thread Boysenberry Payne

That was it, thanks

Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Nov 1, 2005, at 9:11 PM, Philip M. Gollucci wrote:


Boysenberry Payne wrote:
I received the following error on my server and was trying to figure  
out how to correct it:
/usr/local/apache2/bin/httpd: relocation error:  
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/APR/ 
Request/Apache2/Apache2.so: undefined symbol: apreq_handle_apache2

My first guess is that you don't have

Load Module apreq_module modules/mod_apreq2.so

in your httpd.conf note the '2'



 --
END

What doesn't kill us can only make us stronger.
Nothing is impossible.

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
  http://www.liquidityservicesinc.com
   http://www.liquidation.com
   http://www.uksurplus.com
   http://www.govliquidation.com
   http://www.gowholesale.com






Resolved: cant build libapreq2 on trustix linux

2005-11-02 Thread Bengt-Arne Fjellner
>
>system trustix secure linux version 2.2
>
>perl 5.8.5  all cpan modules up to date
>mod_perl 2.0.1
>
>tried with normal and cvs version of libapreq2-2.06-dev
>both on a prodution system and on a clean system.
>Almost all tests in parsers fail with: Segmentation fault
>see attached files:
>compile.txt:
>  ./buildconf
>  perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs
>  make
>  make test
>  cd library/t && ./parsers
Finally resolved:
export CFLAGS=`apxs -q CFLAGS`
before Perl Makefile.PL  fixed it.

shouldnt configure take this into account 
hope this helps someone else.
p.s. result of apxs -C CFLAGS
-O3 -fomit-frame-pointer -pipe -s -mpentium -mcpu=pentium -march=pentium
-fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1
-D_LARGEFILE64_SOURCE=1


-- 
Bengt-Arne Fjellner
LuleƄ technical university
LTU SkellefteƄ
SkellefteƄ
Sweden



-- 
Bengt-Arne Fjellner
0910-58 53 69