httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <go...@cpan.org>
Subject Re: [apreq-2] perl build system
Date Wed, 11 Jun 2003 08:52:00 GMT
On Wed, 2003-06-11 at 02:48, Joe Schaefer wrote:
>   % cvs update
>   % make
>   % make test
>   % make perl_glue
>   % make perl_test
>   ...
>   apreq/big_input....ok
>   apreq/cookie.......ok
>   apreq/inherit......NOK 1# Failed test 1 in apreq/inherit.t at line 11
>   apreq/inherit......FAILED test 1
>         Failed 1/1 tests, 0.00% okay
>   apreq/request......NOK 1# Failed test 1 in apreq/request.t at line 18
>   apreq/request......NOK 2# Failed test 2 in apreq/request.t at line 26
>   apreq/request......FAILED tests 1-2
> 
> IOW, the perl glue now builds & compiles successfully,
> and the first two tests pass.  Before moving on to the 
> rest of the perl API, I'd like to get some feedback on 
> how the build system is faring on other platforms besides 
> my own RH 8 box :-).

I'm on a RH 9 box, mostly up to date and I get:

++ cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co httpd-apreq-2
[...]
++ cd httpd-apreq-2
++ ./buildconf
removing stale config files
running libtoolize --automake --copy --force
running aclocal
running autoconf
running automake -a -c
configure.ac: installing `build/install-sh'
configure.ac: installing `build/mkinstalldirs'
configure.ac: installing `build/missing'
env/Makefile.am: installing `build/depcomp'
buildconf successful.
++ ./configure --with-apache2-apxs=/home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/bin/apxs
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
[...]
checking whether ln -s works... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating env/Makefile
config.status: creating t/Makefile
config.status: executing depfiles commands
rm: cannot remove `core': Is a directory
++ make
[...]
mkdir .libs
gcc "-DPACKAGE_NAME=\"libapreq - Apache Request Library\"" -DPACKAGE_TARNAME=\"libapreq\"
-DPACKAGE_VERSION=\"2.0\" "-DPACKAGE_STRING=\"libapreq - Apache Request Library 2.0\"" -DPACKAGE_BUGREPORT=\"apreq-dev@httpd.apache.org\"
-DPACKAGE=\"libapreq\" -DVERSION=\"2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../src -I/home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/include
-g -O2 -MT mod_apreq.lo -MD -MP -MF .deps/mod_apreq.Tpo -c mod_apreq.c  -fPIC -DPIC -o .libs/mod_apreq.lo
In file included from /home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/include/ap_config.h:269,
                 from /home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/include/httpd.h:72,
                 from mod_apreq.c:55:
/home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/include/ap_config_auto.h:161:1: warning:
"PACKAGE_BUGREPORT" redefined
mod_apreq.c:1:1: warning: this is the location of the previous definition
/home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/include/ap_config_auto.h:164:1: warning:
"PACKAGE_NAME" redefined
mod_apreq.c:1:1: warning: this is the location of the previous definition
/home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/include/ap_config_auto.h:167:1: warning:
"PACKAGE_STRING" redefined
mod_apreq.c:1:1: warning: this is the location of the previous definition
/home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/include/ap_config_auto.h:170:1: warning:
"PACKAGE_TARNAME" redefined
mod_apreq.c:1:1: warning: this is the location of the previous definition
/home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/include/ap_config_auto.h:173:1: warning:
"PACKAGE_VERSION" redefined
mod_apreq.c:1:1: warning: this is the location of the previous definition
gcc "-DPACKAGE_NAME=\"libapreq - Apache Request Library\"" -DPACKAGE_TARNAME=\"libapreq\"
-DPACKAGE_VERSION=\"2.0\" "-DPACKAGE_STRING=\"libapreq - Apache Request Library 2.0\"" -DPACKAGE_BUGREPORT=\"apreq-dev@httpd.apache.org\"
-DPACKAGE=\"libapreq\" -DVERSION=\"2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../src -I/home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/include
-g -O2 -MT mod_apreq.lo -MD -MP -MF .deps/mod_apreq.Tpo -c mod_apreq.c -o mod_apreq.o >/dev/null
2>&1
mv -f .libs/mod_apreq.lo mod_apreq.lo
[...]
make[1]: Entering directory `/home/gozer/opt/tmp/httpd-apreq-2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/gozer/opt/tmp/httpd-apreq-2'
++ make test
Making check in src
make[1]: Entering directory `/home/gozer/opt/tmp/httpd-apreq-2/src'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/gozer/opt/tmp/httpd-apreq-2/src'
Making check in env
make[1]: Entering directory `/home/gozer/opt/tmp/httpd-apreq-2/env'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/gozer/opt/tmp/httpd-apreq-2/env'
Making check in t
make[1]: Entering directory `/home/gozer/opt/tmp/httpd-apreq-2/t'
make  testall
make[2]: Entering directory `/home/gozer/opt/tmp/httpd-apreq-2/t'
if gcc -DPACKAGE_NAME=\"libapreq\ -\ Apache\ Request\ Library\" -DPACKAGE_TARNAME=\"libapreq\"
-DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"libapreq\ -\ Apache\ Request\ Library\ 2.0\"
-DPACKAGE_BUGREPORT=\"apreq-dev@httpd.apache.org\" -DPACKAGE=\"libapreq\" -DVERSION=\"2.0\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1  -I. -I. -I../src -I/home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/include
   -g -O2 -MT testall.o -MD -MP -MF ".deps/testall.Tpo" \
  -c -o testall.o `test -f 'testall.c' || echo './'`testall.c; \
then mv -f ".deps/testall.Tpo" ".deps/testall.Po"; \
else rm -f ".deps/testall.Tpo"; exit 1; \
fi
/home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/bin/apxs -c -p -lapreq -o testall  testall.o
libapreq_tests.a -L../src
/home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/build/libtool --silent --mode=link gcc
-o testall  -lapreq   /home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/lib/libaprutil-0.la
-lgdbm -ldb-4.0 -lexpat   /home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/lib/libapr-0.la
-lrt -lm -lcrypt -lnsl  -ldl  testall.o libapreq_tests.a -L../src
make[2]: Leaving directory `/home/gozer/opt/tmp/httpd-apreq-2/t'
make[1]: Leaving directory `/home/gozer/opt/tmp/httpd-apreq-2/t'
make[1]: Entering directory `/home/gozer/opt/tmp/httpd-apreq-2'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/home/gozer/opt/tmp/httpd-apreq-2'
t/testall -v
All APREQ Tests:
    Cookie:                   ....
    Param:                    ..
    Parsers:                  ..

8 tests run:  8 passed, 0 failed, 0 not implemented.

cd env; make test
make[1]: Entering directory `/home/gozer/opt/tmp/httpd-apreq-2/env'
perl ../build/test_config.pl -apxs /home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/bin/apxs
==> inheriting config file: /etc/httpd/conf/httpd.conf
==> inheriting config file: /etc/httpd/conf.d/*.conf
==> LoadModule access_module mod_access.c
==> LoadModule auth_module mod_auth.c
==> LoadModule auth_anon_module mod_auth_anon.c
==> LoadModule auth_dbm_module mod_auth_dbm.c
==> LoadModule auth_digest_module mod_auth_digest.c
==> LoadModule include_module mod_include.c
==> LoadModule log_config_module mod_log_config.c
==> LoadModule env_module mod_env.c
==> LoadModule mime_magic_module mod_mime_magic.c
==> LoadModule cern_meta_module mod_cern_meta.c
==> LoadModule expires_module mod_expires.c
==> LoadModule headers_module mod_headers.c
==> LoadModule usertrack_module mod_usertrack.c
==> LoadModule unique_id_module mod_unique_id.c
==> LoadModule setenvif_module mod_setenvif.c
==> LoadModule mime_module mod_mime.c
==> LoadModule dav_module mod_dav.c
==> LoadModule status_module mod_status.c
==> LoadModule autoindex_module mod_autoindex.c
==> LoadModule asis_module mod_asis.c
==> LoadModule info_module mod_info.c
==> LoadModule dav_fs_module mod_dav_fs.c
==> LoadModule vhost_alias_module mod_vhost_alias.c
==> LoadModule negotiation_module mod_negotiation.c
==> LoadModule dir_module mod_dir.c
==> LoadModule imap_module mod_imap.c
==> LoadModule actions_module mod_actions.c
==> LoadModule speling_module mod_speling.c
==> LoadModule userdir_module mod_userdir.c
==> LoadModule alias_module mod_alias.c
==> LoadModule rewrite_module mod_rewrite.c
==> LoadModule proxy_module mod_proxy.c
==> LoadModule proxy_ftp_module proxy_ftp.c
==> LoadModule proxy_http_module proxy_http.c
==> LoadModule proxy_connect_module proxy_connect.c
==> LoadModule cgi_module mod_cgi.c
==> LoadModule cgid_module mod_cgid.c
==> generating ../c-modules/apache_httpd_test.h
==> WRITING /home/gozer/opt/tmp/httpd-apreq-2/env/c-modules/apreq_request_test/Makefile
==> cd /home/gozer/opt/tmp/httpd-apreq-2/env/c-modules && make all
make[2]: Entering directory `/home/gozer/opt/tmp/httpd-apreq-2/env/c-modules'
cd apreq_request_test && make .libs/mod_apreq_request_test.so
make[3]: Entering directory `/home/gozer/opt/tmp/httpd-apreq-2/env/c-modules/apreq_request_test'
/usr/sbin/apxs -L../../../src -I../../../src -lapreq -DAPACHE2 -I/home/gozer/opt/tmp/httpd-apreq-2/env/c-modules
-c mod_apreq_request_test.c
/usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -march=i386
-mcpu=i686 -I/usr/kerberos/include -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -DNO_DBM_REWRITEMAP
-I/usr/include/httpd -I../../../src -I/home/gozer/opt/tmp/httpd-apreq-2/env/c-modules -DAPACHE2
 -c -o mod_apreq_request_test.lo mod_apreq_request_test.c && touch mod_apreq_request_test.slo
/usr/lib/httpd/build/libtool --silent --mode=link gcc -o mod_apreq_request_test.la -rpath
/usr/lib/httpd/modules -module -avoid-version -I../../../src -I/home/gozer/opt/tmp/httpd-apreq-2/env/c-modules
-DAPACHE2  -L../../../src -lapreq  mod_apreq_request_test.lo
libtool: link: warning: `/home/gozer/opt/httpd/i386-linux/2.0.46-dev/worker/lib/libapr-0.la'
seems to be moved
make[3]: Leaving directory `/home/gozer/opt/tmp/httpd-apreq-2/env/c-modules/apreq_request_test'
make[2]: Leaving directory `/home/gozer/opt/tmp/httpd-apreq-2/env/c-modules'
==> generating htdocs/index.html
Can't stat /home/gozer/opt/tmp/httpd-apreq-2/env/t/conf: No such file or directory
 at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/TestConfig.pm line 1032
make[1]: *** [test_config] Error 255
make[1]: Leaving directory `/home/gozer/opt/tmp/httpd-apreq-2/env'
make: *** [env_test] Error 2

And blam! there it goes ;-(

I see you are using the system Apache::Test, right ? What's the minimum required one, as on
RH
they do ship with it , but it's old...

$> rpm -qf /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/Test.pm
mod_perl-1.99_07-5


> In the meantime I'll be getting back to the libapreq-1.2
> release process, so if people want something included in
> the 1.2 release that hasn't yet been committed to apreq-1's
> cvs, it's time to speak up.
-- 
-- -----------------------------------------------------------------------------
Philippe M. Chiasson /gozer\@(cpan|ectoplasm)\.org/ 88C3A5A5 (122FF51B/C634E37B)
http://gozer.ectoplasm.org/    F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3 A5A5
Q: It is impossible to make anything foolproof because fools are so ingenious.
perl -e'$$=\${gozer};{$_=unpack(P7,pack(L,$$));/^JAm_pH\n$/&&print||$$++&&redo}'

Mime
View raw message