I want to build my own apache with statically linked mod_perl. Buildng from sources aborts with an error :-( See my log below. I really appreciate any help and would be glad about solving this problem. Any information about versions of Apache and mod_perl is provided by the log below.
Cheers, Oliver
[EMAIL PROTECTED]:~$ ls
HTML-Mason-1.25.tar.gz apache_1.3.29 apache_1.3.29.tar.gz mod_perl-1.0-current.tar.gz mod_perl-1.29
[EMAIL PROTECTED]:~$ cd mod_perl-1.29
[EMAIL PROTECTED]:~/mod_perl-1.29$ perl Makefile.PL APACHE_SRC=../apache_1.3.29/src APACHE_PREFIX=/usr/local/apache EVERYTHING=1 DO_HTTPD=1 USE_APACI=1 APACI_ARAGS='--enable-module=rewrite, --enable-module=info, --enable-module=expires'
************* WARNING *************
Your Perl is configured to link against libgdbm, but libgdbm.so was not found. You could just symlink it to /usr/lib/libgdbm.so.1.7.3
************* WARNING *************
Will configure via APACI
cp apaci/Makefile.libdir ../apache_1.3.29/src/modules/perl/Makefile.libdir
cp apaci/Makefile.tmpl ../apache_1.3.29/src/modules/perl/Makefile.tmpl
cp apaci/README ../apache_1.3.29/src/modules/perl/README
cp apaci/configure ../apache_1.3.29/src/modules/perl/configure
cp apaci/libperl.module ../apache_1.3.29/src/modules/perl/libperl.module
cp apaci/mod_perl.config.sh ../apache_1.3.29/src/modules/perl/mod_perl.config.sh
cp apaci/load_modules.pl ../apache_1.3.29/src/modules/perl/load_modules.pl
cp apaci/find_source ../apache_1.3.29/src/modules/perl/find_source
cp apaci/apxs_cflags ../apache_1.3.29/src/modules/perl/apxs_cflags
cp apaci/perl_config ../apache_1.3.29/src/modules/perl/perl_config
cp apaci/mod_perl.exp ../apache_1.3.29/src/modules/perl/mod_perl.exp
PerlDispatchHandler.........enabled
PerlChildInitHandler........enabled
PerlChildExitHandler........enabled
PerlPostReadRequestHandler..enabled
PerlTransHandler............enabled
PerlHeaderParserHandler.....enabled
PerlAccessHandler...........enabled
PerlAuthenHandler...........enabled
PerlAuthzHandler............enabled
PerlTypeHandler.............enabled
PerlFixupHandler............enabled
PerlHandler.................enabled
PerlLogHandler..............enabled
PerlInitHandler.............enabled
PerlCleanupHandler..........enabled
PerlRestartHandler..........enabled
PerlStackedHandlers.........enabled
PerlMethodHandlers..........enabled
PerlDirectiveHandlers.......enabled
PerlTableApi................enabled
PerlLogApi..................enabled
PerlUriApi..................enabled
PerlUtilApi.................enabled
PerlFileApi.................enabled
PerlConnectionApi...........enabled
PerlServerApi...............enabled
PerlSections................enabled
PerlSSI.....................enabled
Will run tests as User: 'oliver' Group: 'oliver'
(cd ../apache_1.3.29 && CC="cc" CFLAGS=" -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 --enable-module=rewrite --enable-module=info --enable-module=expires --prefix=/usr/local/apache)
Configuring for Apache, Version 1.3.29
+ 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.29
+ id: Perl/v5.6.1 (linux) [perl]
Creating Makefile in src
+ configured for Linux platform
+ setting C pre-processor to cc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
+ using -ldb1 for DBM support
enabling DBM support for mod_rewrite
o perl_module uses ConfigStart/End
+ mod_perl build type: OBJ
+ setting up mod_perl build environment
+ adjusting Apache build environment
+ enabling Perl support for SSI (mod_include)
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; cc -DLINUX=22 -I/usr/include/db1 -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 -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `./apaci` -I. -I/usr/lib/perl/5.6.1/CORE -o helpers/dummy helpers/dummy.c -lm -lcrypt -ldb1 -rdynamic -L/usr/local/lib /usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6.1/CORE -lperl -ldl -lm -lc -lcrypt
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
Aborting!
Checking CGI.pm VERSION..........ok
Checking for LWP::UserAgent......failed
Can't locate LWP/UserAgent.pm in @INC (@INC contains: ./lib /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at Makefile.PL line 1157.
The libwww-perl library is needed to run the test suite. Installation of this library is recommended, but not required.
Checking for HTML::HeadParser....ok Writing Makefile for Apache Writing Makefile for Apache::Connection Writing Makefile for Apache::Constants Writing Makefile for Apache::File Writing Makefile for Apache::Leak Writing Makefile for Apache::Log Writing Makefile for Apache::ModuleConfig Writing Makefile for Apache::PerlRunXS Writing Makefile for Apache::Server Writing Makefile for Apache::Symbol Writing Makefile for Apache::Table Writing Makefile for Apache::URI Writing Makefile for Apache::Util Writing Makefile for mod_perl [EMAIL PROTECTED]:~/mod_perl-1.29$ make (cd ../apache_1.3.29 && PERL5LIB=/home/oliver/mod_perl-1.29/lib: make) make[1]: Entering directory `/home/oliver/apache_1.3.29' ===> src make[2]: Entering directory `/home/oliver/apache_1.3.29' make[3]: Entering directory `/home/oliver/apache_1.3.29/src' make[3]: *** No rule to make target `all'. Stop. make[3]: Leaving directory `/home/oliver/apache_1.3.29/src' make[2]: *** [build-std] Error 2 make[2]: Leaving directory `/home/oliver/apache_1.3.29' make[1]: *** [build] Error 2 make[1]: Leaving directory `/home/oliver/apache_1.3.29' make: *** [apaci_httpd] Error 2 [EMAIL PROTECTED]:~/mod_perl-1.29$
-- http://bh.udev.org/
-- /"\ mailto:[EMAIL PROTECTED] \ / http://www.the-unchallenged.de X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL / \
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html