httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Martin <...@ams.org>
Subject libapreq-1.3 Build Error
Date Thu, 14 Oct 2004 15:24:11 GMT
For anyone that has the time to respond, I'm having a compilation 
problem with libapreq-1.3 on Solaris9/Apache/1.3.29 (Unix) 
mod_ssl/2.8.16 OpenSSL/0.9.6h mod_perl/1.29, and was hoping to get some 
advice.  Upon downloading and unpacking libapreq-1.3.tar.gz, I run 'perl 
Makefile.PL && make':

# perl Makefile.PL && make
[   info] generating script t/TEST
Checking if your kit is complete...
Looks good
Writing Makefile for libapreq
mkdir ../blib
mkdir ../blib/arch
mkdir ../blib/arch/auto
mkdir ../blib/arch/auto/libapreq
Warning: -L../blib/arch/auto/libapreq changed to 
-L/.cpan/build/libapreq-1.3/Request/../blib/arch/auto/libapreq
Writing Makefile for Apache::Request
Warning: -L../blib/arch/auto/libapreq changed to 
-L/.cpan/build/libapreq-1.3/Cookie/../blib/arch/auto/libapreq
Writing Makefile for Apache::Cookie
Writing Makefile for libapreq
cp libapreq.pod blib/lib/libapreq.pod
cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm
gcc -c  
-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include 
-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/modules/perl

-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/include

-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/regex

-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/os/unix

-I/usr/local/stow/apache-1.3.29/apache/include  -fno-strict-aliasing 
-I/usr/local/include -O    -DVERSION=\"\"  -DXS_VERSION=\"\" -fPIC 
"-I/usr/local/lib/perl5/sun4-solaris/CORE"   apache_request.c
gcc -c  
-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include 
-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/modules/perl

-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/include

-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/regex

-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/os/unix

-I/usr/local/stow/apache-1.3.29/apache/include  -fno-strict-aliasing 
-I/usr/local/include -O    -DVERSION=\"\"  -DXS_VERSION=\"\" -fPIC 
"-I/usr/local/lib/perl5/sun4-solaris/CORE"   apache_cookie.c
gcc -c  
-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include 
-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/modules/perl

-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/include

-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/regex

-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/os/unix

-I/usr/local/stow/apache-1.3.29/apache/include  -fno-strict-aliasing 
-I/usr/local/include -O    -DVERSION=\"\"  -DXS_VERSION=\"\" -fPIC 
"-I/usr/local/lib/perl5/sun4-solaris/CORE"   apache_multipart_buffer.c
rm -rf ../blib/arch/auto/libapreq/libapreq.a
/usr/ccs/bin/ar cr ../blib/arch/auto/libapreq/libapreq.a 
apache_request.o apache_cookie.o apache_multipart_buffer.o && : 
../blib/arch/auto/libapreq/libapreq.a
chmod 755 ../blib/arch/auto/libapreq/libapreq.a
cp apache_cookie.h ../blib/arch/auto/libapreq/include/apache_cookie.h
cp apache_multipart_buffer.h 
../blib/arch/auto/libapreq/include/apache_multipart_buffer.h
cp apache_request.h ../blib/arch/auto/libapreq/include/apache_request.h
cp Request.pm ../blib/lib/Apache/Request.pm
/bin/perl /usr/local/stow/perl-5.6.0/lib/perl5/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/ExtUtils/typemap -typemap 
/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/typemap  
Request.xs > Request.xsc && mv Request.xsc Request.c
gcc -c  -I../c 
-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include 
-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/modules/perl

-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/include

-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/regex

-I/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/os/unix

-I/usr/local/stow/apache-1.3.29/apache/include  -fno-strict-aliasing 
-I/usr/local/include -O    -DVERSION=\"1.3\"  -DXS_VERSION=\"1.3\" -fPIC 
"-I/usr/local/lib/perl5/sun4-solaris/CORE"   Request.c
In file included from /usr/local/lib/perl5/sun4-solaris/CORE/perl.h:1433,
                 from 
/usr/local/stow/perl-5.6.0/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/Apache/include/modules/perl/mod_perl.h:80,
                 from Request.xs:41:
/usr/local/lib/perl5/sun4-solaris/CORE/handy.h:226:1: warning: "strEQ" 
redefined
In file included from Request.xs:1:
../c/apache_request.h:63:1: warning: this is the location of the 
previous definition
Request.xs: In function `upload_hook':
Request.xs:225: parse error before "fwrite"
Request.xs: In function `XS_Apache__Upload_fh':
Request.xs:525: warning: assignment from incompatible pointer type
*** Error code 1
make: Fatal error: Command failed for target `Request.o'
Current working directory /.cpan/build/libapreq-1.3/Request
*** Error code 1
make: Fatal error: Command failed for target `subdirs'

The make seems to fail in Request.xs.  I can make Apache::Cookie by 
itself without error, just Apache::Request appears to fail at this 
point.  Here is 'perl -V' for my environment:

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos odin 5.8 generic_108528-12 sun4u sparc sunw,ultra-60 '
    config_args='-de -Dcc=gcc -Dld=gcc -Dlddlflags=-shared 
-Duseshrplib=true -Ubincompat5005 -Uuselargefiles -Duseperlio 
-Dprefix=/usr/local -Dinstallprefix=/usr/local/stow/perl-5.6.0 
-Dinstallprivlib=/usr/local/stow/perl-5.6.0/lib/perl5 
-Dprivlib=/usr/local/lib/perl5'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.95.2 19991024 (release)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=4
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt -lsec
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -R 
/usr/local/lib/perl5/sun4-solaris/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options:
  Built under solaris
  Compiled at Jan  4 2002 14:20:24
  @INC:
    /usr/local/lib/perl5/sun4-solaris
    /usr/local/lib/perl5
    /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl
    .

TIA to anyone able to provide assistance regarding this error!!!

Mime
View raw message