perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Veremey" <scimi...@mail.ru>
Subject Problem compiling mod_perl on Solaris: incompatible types in assignment in XS_Apache__Connection_remote_ip
Date Wed, 01 Mar 2000 07:05:18 GMT
Hi,
I keep getting an error trying to compile mod_perl on Solaris x86:

-----------------------------------------------------------------
gcc -B/usr/ccs/bin/ -mpentium -O2 -I/usr/local/include -I/usr/local/lib/perl5/5.00503/i86pc-solaris/CORE
 -DMOD_PERL_VERSION=\"1.18\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.18\" -I../..  -I/usr/local/lib/perl5/5.00503/i86pc-solaris/CORE
-I../../os/unix -I../../include  -O2 -fno-strength-reduce -DSOLARIS2=270 -DMOD_PERL -DUSE_PERL_SSI
-I/usr/local/include `../../apaci` -c URI.c
perl /usr/local/lib/perl5/5.00503/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.00503/ExtUtils/typemap
Util.xs >Util.c
gcc -B/usr/ccs/bin/ -mpentium -O2 -I/usr/local/include -I/usr/local/lib/perl5/5.00503/i86pc-solaris/CORE
 -DMOD_PERL_VERSION=\"1.18\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.18\" -I../..  -I/usr/local/lib/perl5/5.00503/i86pc-solaris/CORE
-I../../os/unix -I../../include  -O2 -fno-strength-reduce -DSOLARIS2=270 -DMOD_PERL -DUSE_PERL_SSI
-I/usr/local/include `../../apaci` -c Util.c
perl /usr/local/lib/perl5/5.00503/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.00503/ExtUtils/typemap
Connection.xs >Connection.c
gcc -B/usr/ccs/bin/ -mpentium -O2 -I/usr/local/include -I/usr/local/lib/perl5/5.00503/i86pc-solaris/CORE
 -DMOD_PERL_VERSION=\"1.18\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.18\" -I../..  -I/usr/local/lib/perl5/5.00503/i86pc-solaris/CORE
-I../../os/unix -I../../include  -O2 -fno-strength-reduce -DSOLARIS2=270 -DMOD_PERL -DUSE_PERL_SSI
-I/usr/local/include `../../apaci` -c Connection.c
Connection.xs: In function `XS_Apache__Connection_remote_ip':
Connection.xs:86: incompatible types in assignment
gcc: file path prefix `/usr/ccs/bin/' never used
*** Error code 1
make: Fatal error: Command failed for target `Connection.o'
Current working directory /export/home/src/test/apache_1.3.6/src/modules/perl
*** Error code 1
----------------------------------------------------------------------

[perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=i86pc-solaris
    uname='sunos easter 5.7 generic_106542-08 i86pc i386 i86pc '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc -B/usr/ccs/bin/', optimize='-mpentium -O2', gccversion=2.95.2 19991024 (release)
    cppflags='-I/usr/local/include'
    ccflags ='-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=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /shlib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under solaris
  Compiled at Feb 29 2000 20:26:46
  @INC:
    /usr/local/lib/perl5/5.00503/i86pc-solaris
    /usr/local/lib/perl5/5.00503
    /usr/local/lib/perl5/site_perl/5.005/i86pc-solaris
    /usr/local/lib/perl5/site_perl/5.005
    .
------------------------------------------------------------------------

gcc -v    
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)

-------------------------------------------------------------------------

I keep getting no metter how I try to compile mod_perl (1.18,1.20,1.21,1.21dev)
as DSO or statically linked.
Anybody expirienced this problem?

Thanks,
Artem

Mime
View raw message