Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Dev

[mp1] test suite is borked without LWP

 

 

ModPerl dev RSS feed   Index | Next | Previous | View Threaded


stas at stason

Oct 28, 2003, 3:25 PM

Post #1 of 1 (377 views)
Permalink
[mp1] test suite is borked without LWP

Philippe, can you please look at this issue with mp1 test suite:

If LWP is not available, test suite fails to run (bug #1), but returns true
(bug #2), so 'make test && make install' installs nevertheless. Moreover 'make
install goes again into src/modules and recompiles a few .c files (bug #3).
The last one could be an apache build bug, as the target timestamps aren't
updated.

Here is the log with perl 5.6.2:

perl Makefile.PL ...
make
make test && make install

cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache-1.3/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/home/stas/perl/5.6.2/bin/perl t/TEST 0
Can't locate LWP/UserAgent.pm in @INC (@INC contains: ../blib/lib ../blib/arch
/home/stas/perl/5.6.2/lib/5.6.2/i686-linux /home/stas/perl/5.6.2/lib/5.6.2
/home/stas/perl/5.6.2/lib/site_perl/5.6.2/i686-linux
/home/stas/perl/5.6.2/lib/site_perl/5.6.2 /home/stas/perl/5.6.2/lib/site_perl
../.) at t/TEST line 48.

I still can't find LWP::UserAgent, try:
/home/stas/perl/5.6.2/bin/perl -MCPAN -e "install q{LWP}"

or

http://www.perl.com/cgi-bin/cpan_mod?module=LWP

Must skip important tests without LWP...

kill `cat t/logs/httpd.pid`
rm -f t/logs/httpd.pid
rm -f t/logs/error_log
(cd ../apache-1.3 && PERL5LIB=/home/stas/apache.org/modperl/lib: make)
make[1]: Entering directory `/home/stas/apache.org/apache-1.3'
===> src
make[2]: Entering directory `/home/stas/apache.org/apache-1.3'
make[3]: Entering directory `/home/stas/apache.org/apache-1.3/src'
===> src/regex
make[4]: Nothing to be done for `all'.
<=== src/regex
===> src/os/unix
make[4]: Nothing to be done for `all'.
<=== src/os/unix
===> src/ap
make[4]: Nothing to be done for `all'.
<=== src/ap
===> src/main
make[4]: Nothing to be done for `all'.
<=== src/main
===> src/lib
<=== src/lib
===> src/modules
===> src/modules/standard
make[5]: Nothing to be done for `all'.
<=== src/modules/standard
===> src/modules/proxy
make[5]: Nothing to be done for `all'.
<=== src/modules/proxy
===> src/modules/perl
make[5]: Nothing to be done for `all'.
<=== src/modules/perl
<=== src/modules
cc -c -I. -I/home/stas/perl/5.6.2/lib/5.6.2/i686-linux/CORE -I./os/unix
-I./include -DLINUX=22 -I/usr/include/db1 -DMOD_PERL -DUSE_PERL_SSI
-DDEBUGGING -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_HSREGEX -DNO_DL_NEEDED -DDEBUGGING -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2
`./apaci` modules.c
cc -c -I. -I/home/stas/perl/5.6.2/lib/5.6.2/i686-linux/CORE -I./os/unix
-I./include -DLINUX=22 -I/usr/include/db1 -DMOD_PERL -DUSE_PERL_SSI
-DDEBUGGING -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_HSREGEX -DNO_DL_NEEDED -DDEBUGGING -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2
`./apaci` buildmark.c
cc -DLINUX=22 -I/usr/include/db1 -DMOD_PERL -DUSE_PERL_SSI -DDEBUGGING
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX
-DNO_DL_NEEDED -DDEBUGGING -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2 `./apaci` \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/proxy/libproxy.a modules/perl/libperl.a main/libmain.a
./os/unix/libos.a ap/libap.a regex/libregex.a -lm -lcrypt -ldb1 -rdynamic
-Wl,-rpath,/home/stas/perl/5.6.2/lib/5.6.2/i686-linux/CORE -L/usr/local/lib
/home/stas/perl/5.6.2/lib/5.6.2/i686-linux/auto/DynaLoader/DynaLoader.a
-L/home/stas/perl/5.6.2/lib/5.6.2/i686-linux/CORE -lperl -lnsl -ldl -lm -lc
-lcrypt -lutil
modules/proxy/libproxy.a(proxy_cache.o)(.text+0x2bed): In function
`ap_proxy_cache_update':
/home/stas/apache.org/apache-1.3/src/modules/proxy/proxy_cache.c:1624: the use
of `mktemp' is dangerous, better use `mkstemp'
make[3]: Leaving directory `/home/stas/apache.org/apache-1.3/src'
make[2]: Leaving directory `/home/stas/apache.org/apache-1.3'
make[2]: Entering directory `/home/stas/apache.org/apache-1.3'
===> src/support
make[3]: Entering directory `/home/stas/apache.org/apache-1.3/src/support'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/stas/apache.org/apache-1.3/src/support'
<=== src/support
make[2]: Leaving directory `/home/stas/apache.org/apache-1.3'
<=== src
make[1]: Leaving directory `/home/stas/apache.org/apache-1.3'
make[1]: Entering directory `/home/stas/apache.org/modperl/Apache'
make[1]: Leaving directory `/home/stas/apache.org/modperl/Apache'
make[1]: Entering directory `/home/stas/apache.org/modperl/Connection'
make[1]: Leaving directory `/home/stas/apache.org/modperl/Connection'
make[1]: Entering directory `/home/stas/apache.org/modperl/Constants'
make[1]: Leaving directory `/home/stas/apache.org/modperl/Constants'
make[1]: Entering directory `/home/stas/apache.org/modperl/File'
make[1]: Leaving directory `/home/stas/apache.org/modperl/File'
make[1]: Entering directory `/home/stas/apache.org/modperl/Leak'
make[1]: Leaving directory `/home/stas/apache.org/modperl/Leak'
make[1]: Entering directory `/home/stas/apache.org/modperl/Log'
make[1]: Leaving directory `/home/stas/apache.org/modperl/Log'
make[1]: Entering directory `/home/stas/apache.org/modperl/ModuleConfig'
make[1]: Leaving directory `/home/stas/apache.org/modperl/ModuleConfig'
make[1]: Entering directory `/home/stas/apache.org/modperl/PerlRunXS'
make[1]: Leaving directory `/home/stas/apache.org/modperl/PerlRunXS'
make[1]: Entering directory `/home/stas/apache.org/modperl/Server'
make[1]: Leaving directory `/home/stas/apache.org/modperl/Server'
make[1]: Entering directory `/home/stas/apache.org/modperl/Symbol'
make[1]: Leaving directory `/home/stas/apache.org/modperl/Symbol'
make[1]: Entering directory `/home/stas/apache.org/modperl/Table'
make[1]: Leaving directory `/home/stas/apache.org/modperl/Table'
make[1]: Entering directory `/home/stas/apache.org/modperl/URI'
make[1]: Leaving directory `/home/stas/apache.org/modperl/URI'
make[1]: Entering directory `/home/stas/apache.org/modperl/Util'
make[1]: Leaving directory `/home/stas/apache.org/modperl/Util'
Installing
/home/stas/perl/5.6.2/lib/site_perl/5.6.2/i686-linux/auto/Apache/include/include/ap_config_auto.h
[...]

__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas[at]stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe[at]perl.apache.org
For additional commands, e-mail: dev-help[at]perl.apache.org

ModPerl dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.