httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brock Murch <bmu...@marine.usf.edu>
Subject libapreq2-2.04-dev BUGS
Date Wed, 09 Feb 2005 17:34:18 GMT
Lo all:

	I have been having some problems with the --enable-perl-glue option in both 
.configure or using perl Makefile --with-apache2-apxs=/usr/sbin/apxs. Some 
system info at end of email.

First a little thing in t/testall.c

testall.c:49: error: syntax error before '/' token
testall.c:49: warning: initialization from incompatible pointer type
testall.c:50: error: syntax error before '{' token
make[2]: *** [testall.o] Error 1
make[2]: Leaving directory `/tmp/libapreq2-2.04-dev/t'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/tmp/libapreq2-2.04-dev/t'
make: *** [check-recursive] Error 1

Fix on line 49:
from: 
//    {"performance", testperformance},
to:
/*    {"performance", testperformance}, */
or just get rid of the line all together




The problem is with the cgi.t 41/41 fail with this in the logs:
[Wed Feb 09 10:23:33 2005] [error] [client 127.0.0.1] Can't load 
'/tmp/libapreq2-2.04-dev/glue/perl/t/cgi-bin/../../blib/arch/auto/Apache/Request/Request.so'

for module Apache::Request: libapreq2.so.2: cannot open shared object file: 
No such file or directory at 
/usr/lib64/perl5/5.8.3/x86_64-linux-thread-multi/DynaLoader.pm line 229.
[Wed Feb 09 10:23:33 2005] [error] [client 127.0.0.1]  at 
/tmp/libapreq2-2.04-dev/glue/perl/t/cgi-bin/test_cgi.pl line 12
[Wed Feb 09 10:23:33 2005] [error] [client 127.0.0.1] Compilation failed in 
require at /tmp/libapreq2-2.04-dev/glue/perl/t/cgi-bin/test_cgi.pl line 12.
[Wed Feb 09 10:23:33 2005] [error] [client 127.0.0.1] BEGIN 
failed--compilation aborted at 
/tmp/libapreq2-2.04-dev/glue/perl/t/cgi-bin/test_cgi.pl line 12.
[Wed Feb 09 10:23:33 2005] [error] [client 127.0.0.1] Premature end of script 
headers: test_cgi.pl

The file exists here:
[xband@cyclops libapreq2-2.04-dev]$ ll src/.libs/*
-rw-r--r--  1 xband users  15K Feb  9 12:10 src/.libs/apreq_cookie.o
-rw-r--r--  1 xband users  13K Feb  9 12:10 src/.libs/apreq_env.o
-rw-r--r--  1 xband users  18K Feb  9 12:09 src/.libs/apreq.o
-rw-r--r--  1 xband users 7.1K Feb  9 12:10 src/.libs/apreq_params.o
-rw-r--r--  1 xband users  16K Feb  9 12:10 src/.libs/apreq_parsers.o
-rw-r--r--  1 xband users 1.6K Feb  9 12:10 src/.libs/apreq_version.o
-rw-r--r--  1 xband users  70K Feb  9 12:10 src/.libs/libapreq2.a
lrwxrwxrwx  1 xband users   15 Feb  9 12:10 src/.libs/libapreq2.la -> 
../libapreq2.la
-rw-r--r--  1 xband users  966 Feb  9 12:10 src/.libs/libapreq2.lai
lrwxrwxrwx  1 xband users   19 Feb  9 12:10 src/.libs/libapreq2.so -> 
libapreq2.so.2.0.20*
lrwxrwxrwx  1 xband users   19 Feb  9 12:10 src/.libs/libapreq2.so.2 -> 
libapreq2.so.2.0.20*
-rwxr-xr-x  1 xband users  53K Feb  9 12:10 src/.libs/libapreq2.so.2.0.20*

However, the /usr/lib64/perl5/5.8.3/x86_64-linux-thread-multi/DynaLoader.pm 
can't find it. 

Is there a work around for this test?

-- 
Brock Murch
Managing Director
Institute for Marine Remote Sensing 
University of South Florida 
140 7th Ave South  
St. Petersburg, FL 33701 
http://imars.usf.edu/
(727) 553-1186

__SYSTEM_INFO__
[xband@cyclops logs]$ gcc -v
Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --disable-libunwind-exceptions --with-system-zlib 
--enable-__cxa_atexit --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)

[xband@cyclops libapreq2-2.04-dev]$ uname -a
Linux cyclops.marine.usf.edu 2.6.8-1.521custom #3 SMP Wed Sep 1 11:42:14 EDT 
2004 x86_64 x86_64 x86_64 GNU/Linux

[xband@cyclops libapreq2-2.04-dev]$ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.4.21-9.elsmp, archname=x86_64-linux-thread-multi
    uname='linux dolly.build.redhat.com 2.4.21-9.elsmp #1 smp thu jan 8 
16:52:31 est 2004 x86_64 x86_64 x86_64 gnulinux '
    config_args='-des -Doptimize=-O2 -g -pipe -Dversion=5.8.3 
-Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, 
Inc. -Dinstallprefix=/usr -Dprefix=/usr -Dlibpth=/usr/local/lib64 /lib64 
/usr/lib64 -Dprivlib=/usr/lib/perl5/5.8.3 
-Dsitelib=/usr/lib/perl5/site_perl/5.8.3 
-Dvendorlib=/usr/lib/perl5/vendor_perl/5.8.3 
-Darchlib=/usr/lib64/perl5/5.8.3/x86_64-linux-thread-multi 
-Dsitearch=/usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi 
-Dvendorarch=/usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi 
-Darchname=x86_64-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib 
-Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db 
-Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio 
-Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr 
-Dinc_version_list=5.8.2 5.8.1 5.8.0'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -g -pipe',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING 
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='3.3.3 20040412 (Red Hat Linux 3.3.3-7)', 
gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =''
    libpth=/usr/local/lib64 /lib64 /usr/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.3.3.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.3'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic 
-Wl,-rpath,/usr/lib64/perl5/5.8.3/x86_64-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared'


Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_64_BIT_INT 
USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Apr 15 2004 13:13:16
  @INC:
    /usr/lib64/perl5/5.8.3/x86_64-linux-thread-multi
    /usr/lib/perl5/5.8.3
    /usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi
    /usr/lib64/perl5/site_perl/5.8.2/x86_64-linux-thread-multi
    /usr/lib64/perl5/site_perl/5.8.1/x86_64-linux-thread-multi
    /usr/lib64/perl5/site_perl/5.8.0/x86_64-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.3
    /usr/lib/perl5/site_perl/5.8.2
    /usr/lib/perl5/site_perl/5.8.1
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    /usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi
    /usr/lib64/perl5/vendor_perl/5.8.2/x86_64-linux-thread-multi
    /usr/lib64/perl5/vendor_perl/5.8.1/x86_64-linux-thread-multi
    /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.3
    /usr/lib/perl5/vendor_perl/5.8.2
    /usr/lib/perl5/vendor_perl/5.8.1
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl

Mime
View raw message