[prev] [thread] [next] [Date index for 2004/10/29]
Hi! Because "perl Makefile.PL" did not find LWP::UserAgent and HTML::HeadParser in my Debian box, I did "apt-get install libapache-mod-perl". Then I did "dpkg -P libapache-mod-perl" to remove that package. Since then "perl Makefile.PL" seems to have trouble as it complains "cat: ../apache_1.3.32/src/Makefile.config: No such file or directory": ================== host1:/usr/src/mod_perl-1.29# perl Makefile.PL Configure mod_perl with ../apache_1.3.32/src ? [y] y Shall I build httpd in ../apache_1.3.32/src for you? [y] n (cd ../apache_1.3.32/src && ./Configure -file Configuration)PerlDispatchHandler.........disabled (enable with PERL_DISPATCH=1) PerlChildInitHandler........enabled PerlChildExitHandler........enabled PerlPostReadRequestHandler..disabled (enable with PERL_POST_READ_REQUEST=1) PerlTransHandler............disabled (enable with PERL_TRANS=1) PerlHeaderParserHandler.....disabled (enable with PERL_HEADER_PARSER=1) PerlAccessHandler...........disabled (enable with PERL_ACCESS=1) PerlAuthenHandler...........disabled (enable with PERL_AUTHEN=1) PerlAuthzHandler............disabled (enable with PERL_AUTHZ=1) PerlTypeHandler.............disabled (enable with PERL_TYPE=1) PerlFixupHandler............disabled (enable with PERL_FIXUP=1) PerlHandler.................enabled PerlLogHandler..............disabled (enable with PERL_LOG=1) PerlInitHandler.............disabled (enable with PERL_INIT=1) PerlCleanupHandler..........disabled (enable with PERL_CLEANUP=1) PerlRestartHandler..........disabled (enable with PERL_RESTART=1) PerlStackedHandlers.........disabled (enable with PERL_STACKED_HANDLERS=1) PerlMethodHandlers..........disabled (enable with PERL_METHOD_HANDLERS=1) PerlDirectiveHandlers.......disabled (enable with PERL_DIRECTIVE_HANDLERS=1) PerlTableApi................disabled (enable with PERL_TABLE_API=1) PerlLogApi..................disabled (enable with PERL_LOG_API=1) PerlUriApi..................disabled (enable with PERL_URI_API=1) PerlUtilApi.................disabled (enable with PERL_UTIL_API=1) PerlFileApi.................disabled (enable with PERL_FILE_API=1) PerlConnectionApi...........enabled PerlServerApi...............enabled PerlSections................disabled (enable with PERL_SECTIONS=1) PerlSSI.....................disabled (enable with PERL_SSI=1) cat: ../apache_1.3.32/src/Makefile.config: No such file or directory Will run tests as User: 'nobody' Group: 'root' Checking CGI.pm VERSION..........ok Checking for LWP::UserAgent......ok 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 ================== I ignore it, and try to build apache: ./configure --with-layout=Apache \ --disable-rule=EXPAT \ --activate-module=src/modules/perl/libperl.a --disable-shared=perl host1:/usr/src/apache_1.3.32# make [snip] ===> src/modules/perl gcc -I. -I../../include -I../../include/regex -I../../include/../ -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -DNO_DL_NEEDED `../apaci` -I`/usr/bin/perl -MConfig -e 'print $Config{archlibexp}'`/CORE `/usr/bin/perl '-MApache::ExtUtils=%Config' -e 'print $Config{ccflags}'` -DNO_PERL_DISPATCH -DNO_PERL_POST_READ_REQUEST -DNO_PERL_TRANS -DNO_PERL_HEADER_PARSER -DNO_PERL_ACCESS -DNO_PERL_AUTHEN -DNO_PERL_AUTHZ -DNO_PERL_TYPE -DNO_PERL_FIXUP -DNO_PERL_LOG -DNO_PERL_INIT -DNO_PERL_CLEANUP -DNO_PERL_RESTART -DNO_PERL_STACKED_HANDLERS -DNO_PERL_SECTIONS -DNO_PERL_METHOD_HANDLERS -DNO_PERL_SSI -DNO_PERL_DIRECTIVE_HANDLERS -DMOD_PERL_VERSION=\"1.29\" -c -o mod_perl_opmask.o mod_perl_opmask.c /bin/sh: ../apaci: No such file or directory In file included from ../../include/httpd.h:29, from apache_inc.h:120, from mod_perl.h:162, from mod_perl_opmask.c:1: ../../include/ap_config.h:73: os.h: No such file or directory make[4]: *** [mod_perl_opmask.o] Error 1 make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/usr/src/apache_1.3.32/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/usr/src/apache_1.3.32' make: *** [build] Error 2 I notice that apaci resides in /usr/src/apache_1.3.32/src/ rather than /usr/src/apache_1.3.32/src/modules/. Before doing "apt-get install libapache-mod-perl" and "dpkg -P libapache-mod-perl", I did not have this "cat: ../apache_1.3.32/src/Makefile.config: No such file or directory" problem, but the linker complained a huge number of unknown symbols in libperl.a. Helps are much appreciated! Regards, CN -- 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
![]() |
Fail to configure mod_perl and build apache
|
![]() |
![]() |
Re: Fail to configure mod_perl and build apache
|
![]() |
![]() |
![]() |
Re: Fail to configure mod_perl and build apache
|
Generated at 12:15 on 16 Jan 2005 by mariachi v0.52