Hi,
with the current CVS, perl 5.8.1-RC3 and APR as of apache 2.0.47, I get the following error in t/apr-ext/uuid.
Might that be a mismatch of APR version and mod_perl version in terms of APR being too old? However, apr_uuid_parse seems to be known:
# g -r apr_uuid_parse /dev/shm/httpd-2.0.47 /dev/shm/httpd-2.0.47/modules/dav/fs/lock.c: if (apr_uuid_parse(&locktoken->uuid, char_token)) { /dev/shm/httpd-2.0.47/srclib/apr-util/include/apr_uuid.h:APU_DECLARE(apr_status_t) apr_uuid_parse(apr_uuid_t *uuid, const char *uuid_str); /dev/shm/httpd-2.0.47/srclib/apr-util/test/testuuid.c: apr_uuid_parse(&uuid2, buf); /dev/shm/httpd-2.0.47/srclib/apr-util/crypto/uuid.c:APU_DECLARE(apr_status_t) apr_uuid_parse(apr_uuid_t *uuid, /dev/shm/httpd-2.0.47/srclib/apr-util/CHANGES: *) Fix apr_uuid_parse() on EBCDIC machines. [Jeff Trawick]
# t/TEST -run-tests -verbose apr-ext/uuid *** setting ulimit to allow core files ulimit -c unlimited; t/TEST -run-tests -verbose 'apr-ext/uuid' *** root mode: changing the files ownership to 'nobody' (65534:65533) *** sudo -u '#65534' /usr/bin/perl -e 'print -r "/usr/src/packages/BUILD/mod_perl-1.99_09_20030803/t" && -w _ && -x _ ? "OK" : "NOK"'
*** result: OK apr-ext/uuid..../usr/bin/perl: relocation error: /usr/src/packages/BUILD/mod_perl-1.99_09_20030803/t/../blib/arch/auto/APR/UUID/UUID.so: undefined symbol: apr_uuid_parse 1..3
That probably means that APR.so is not linked against libapr and libaprutil. Can you please send the output of:
ldd blib/arch/auto/APR/APR.so
I suppose this doesn't work too:
perl -Mblib -MAPR -MAPR::UUID -le 'print APR::UUID->new->format'
(from the build dir)
Mine is:
ldd blib/arch/Apache2/auto/APR/APR.so
libapr-0.so.0 => /home/stas/httpd/prefork/lib/libapr-0.so.0 (0x40003000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40021000)
librt.so.1 => /lib/i686/librt.so.1 (0x40072000)
libm.so.6 => /lib/i686/libm.so.6 (0x40084000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x400a7000)
libnsl.so.1 => /lib/libnsl.so.1 (0x400d4000)
libdl.so.2 => /lib/libdl.so.2 (0x400e8000)
libaprutil-0.so.0 => /home/stas/httpd/prefork/lib/libaprutil-0.so.0 (0x400ec000)
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40102000)
libdb-4.0.so => /usr/lib/libdb-4.0.so (0x40108000)
libexpat.so.0 => /home/stas/httpd/prefork/lib/libexpat.so.0 (0x401b5000)
libc.so.6 => /lib/i686/libc.so.6 (0x401d1000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Also what happens if you apply this patch:
Index: t/apr-ext/uuid.t =================================================================== RCS file: /home/cvs/modperl-2.0/t/apr-ext/uuid.t,v retrieving revision 1.1 diff -u -r1.1 uuid.t --- t/apr-ext/uuid.t 28 Jul 2003 17:33:30 -0000 1.1 +++ t/apr-ext/uuid.t 5 Aug 2003 07:26:19 -0000 @@ -2,7 +2,6 @@ use Apache::Test;
use blib; -use Apache2;
use APR (); use APR::UUID ();
if you have earlier installed into Apache2, but now you didn't it may have picked the old APR.so.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
