httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brock Murch <>
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:
//    {"performance", testperformance},
/*    {"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] Can't load 

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

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/ -> 
-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/ ->*
lrwxrwxrwx  1 xband users   19 Feb  9 12:10 src/.libs/ ->*
-rwxr-xr-x  1 xband users  53K Feb  9 12:10 src/.libs/*

However, the /usr/lib64/perl5/5.8.3/x86_64-linux-thread-multi/ 
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
(727) 553-1186

[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 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:
    osname=linux, osvers=2.4.21-9.elsmp, archname=x86_64-linux-thread-multi
    uname='linux 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 
-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 
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -g -pipe',
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='3.3.3 20040412 (Red Hat Linux 3.3.3-7)', 
    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', 
    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/, so=so, useshrplib=true,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic 
    cccdlflags='-fPIC', lddlflags='-shared'

Characteristics of this binary (from libperl):
  Built under linux
  Compiled at Apr 15 2004 13:13:16

View raw message