httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: libapreq install issue on Redhat 9.0
Date Wed, 04 Jun 2003 18:10:42 GMT
Nick Rigby <nick.rigby@orange.net> writes:

> Syntax error on line 31 of
> /root/bricolage-1.6.0/libapreq-1.1/t/httpd.conf: 
> Can't load '/root/bricolage-1.6.0/libapreq-
> 1.1/blib/arch/auto/Apache/Request/Request.so' for module 
> Apache::Request: libapreq.so.1: cannot open shared object file: No
> such file or directory at
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. 
> at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/mod_perl.pm
> line 14 
> Compilation failed in require at (eval 16) line 3.
> 
> make: *** [start_httpd] Error 1
> 
> Perhaps I have bitten off more than I can chew?
> =)

Looks like you've been hooked =).  Normally Request.so links
statically against libapreq.a (the perl build of libapreq
doesn't generate a shared library). Your version of gcc might
not like our choice of linker flags in Request/Makefile.PL,
or it might not be locating src/libapreq.a- it's hard for me 
to tell from just this error message.

Try doing the build this way

  % ./configure --with-apache-includes=DIR && make && make install
  % perl Makefile.PL
  % make && make test

DIR needs to be the path to your apache includes directory,
usually it's /usr/local/apache/include.  The first line will
install libapreq-1.0.1.so into /usr/local/lib and the
header files will go to /usr/local/include.  Should this 
process still fail, you might need to manually remove those 
installed header & library files.

-- 
Joe Schaefer


Mime
View raw message