Re: Build problem (lperl)
On Sun, 15 Apr 2001, Sean LeBlanc wrote: > I'm trying to have mod_perl build apache during its own build, > but I'm getting an error that I can't dig any answers up on. I have > the libperl.so.5.6.0 in /usr/lib, but I'm uncertain how to get > compiler to recognize that it is there. I ran ldconfig, but still > no luck. % ln -s libperl.so.5.6.0 libperl.so but you shouldn't need todo that and your libperl should not be in /usr/lib > -L/usr/lib/perl/5.6.0/CORE this looks broken, there should be an architecture component to the path. your perl -V might shed some light.
Build problem (lperl)
I'm trying to have mod_perl build apache during its own build, but I'm getting an error that I can't dig any answers up on. I have the libperl.so.5.6.0 in /usr/lib, but I'm uncertain how to get compiler to recognize that it is there. I ran ldconfig, but still no luck. Here's the command I'm using (I'm trying to use Slashcode, and they have this in their directions): perl Makefile.PL APACHE_SRC=../apache_1.3.19 DO_HTTPD=1\ USE_APACI=1 PERL_MARK_WHERE=1 EVERYTHING=1 \ APACHE_PREFIX=/usr/local/apache And here's the output: Will configure via APACI cp apaci/Makefile.libdir ../apache_1.3.19/src/modules/perl/Makefile.libdir cp apaci/Makefile.tmpl ../apache_1.3.19/src/modules/perl/Makefile.tmpl cp apaci/README ../apache_1.3.19/src/modules/perl/README cp apaci/configure ../apache_1.3.19/src/modules/perl/configure cp apaci/libperl.module ../apache_1.3.19/src/modules/perl/libperl.module cp apaci/mod_perl.config.sh ./apache_1.3.19/src/modules/perl/mod_perl.config.sh cp apaci/load_modules.pl.PL ./apache_1.3.19/src/modules/perl/load_modules.pl.PL cp apaci/find_source.PL ../apache_1.3.19/src/modules/perl/find_source.PL cp apaci/apxs_cflags.PL ../apache_1.3.19/src/modules/perl/apxs_cflags.PL cp apaci/mod_perl.exp ../apache_1.3.19/src/modules/perl/mod_perl.exp PerlDispatchHandler.enabled PerlChildInitHandlerenabled PerlChildExitHandlerenabled PerlPostReadRequestHandler..enabled PerlTransHandlerenabled PerlHeaderParserHandler.enabled PerlAccessHandler...enabled PerlAuthenHandler...enabled PerlAuthzHandlerenabled PerlTypeHandler.enabled PerlFixupHandlerenabled PerlHandler.enabled PerlLogHandler..enabled PerlInitHandler.enabled PerlCleanupHandler..enabled PerlRestartHandler..enabled PerlStackedHandlers.enabled PerlMethodHandlers..enabled PerlDirectiveHandlers...enabled PerlTableApienabled PerlLogApi..enabled PerlUriApi..enabled PerlUtilApi.enabled PerlFileApi.enabled PerlConnectionApi...enabled PerlServerApi...enabled PerlSectionsenabled PerlSSI.enabled PERL_MARK_WHERE.enabled (experimental) Will run tests as User: 'nobody' Group: 'root' (cd ../apache_1.3.19 && CC="cc" CFLAGS=" -DPERL_MARK_WHERE=1 -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ./configure --activate-module=src/modules/perl/libperl.a --disable-rule=EXPAT --prefix=/usr/local/apache) Configuring for Apache, Version 1.3.19 + using installation path layout: Apache (config.layout) + activated perl module (modules/perl/libperl.a) Creating Makefile Creating Configuration.apaci in src + id: mod_perl/1.25 + id: Perl/v5.6.0 (linux) [perl] cd ..; cc -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -DPERL_MARK_WHERE=1 -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `./apaci` -I. -I/usr/lib/perl/5.6.0/CORE-o helpers/dummy helpers/dummy.c -lm -lcrypt -rdynamic -L/usr/local/lib /usr/lib/perl/5.6.0/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6.0/CORE -lperl -lnsl -ldl -lm -lc -lcrypt /usr/bin/ld: cannot find -lperl collect2: ld returned 1 exit status make: *** [dummy] Error 1 Thanks in advance, -- Sean LeBlanc - [EMAIL PROTECTED] A programmer is someone who solves a problem you didn't know you had in a way you don't understand.