You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stephen Marriott <st...@hisoft.co.uk> on 2000/08/17 17:32:05 UTC

mod_perl-1.24 - Make FAILS!

Last few lines of make 
...
MOD_PERL mod_auth.c
cc -c  -I../../os/unix -I../../include   -DLINUX=2 -DMOD_PERL 
-DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED -D
MOD_PERL mod_setenvif.c
rm -f libstandard.a
ar cr libstandard.a mod_env.o mod_log_config.o mod_mime.o 
mod_negotiation.o mod_status.o mod_include.o mod_autoindex.o mod_dir.o
 mod_cgi.o mod_asis.o mod_imap.o mod_actions.o mod_userdir.o 
mod_alias.o mod_access.o mod_auth.o mod_setenvif.o
ranlib libstandard.a
<=== modules/standard
===> modules/perl
cc -O2 -Dbool=char -DHAS_BOOL -I/usr/local/include 
-I/usr/lib/perl5/5.00503/i386-linux/CORE -DMOD_PERL_VERSION=\"1.24\" 
-DMOD_PE
RL_STRING_VERSION=\"mod_perl/1.24\" -DNO_PERL_METHOD_HANDLERS=1 
-DNO_PERL_DIRECTIVE_HANDLERS=1 -DNO_PERL_SECTIONS=1 -DNO_PERL_SS
I=1  -I../../os/unix -I../../include   -DLINUX=2 -DMOD_PERL 
-DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED -DMO
D_PERL -c mod_perl.c
In file included from mod_perl.h:92,
                 from mod_perl.c:67:
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2546: redefinition of 
`union semun'
make[3]: *** [mod_perl.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/src/httpd_perl/apache_1.3.12/src'
make: *** [apache_httpd] Error 2


Perl version 5.005_03 built for i386-linux (2.0.36)

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.2.1-ac1, archname=i386-linux
    uname='linux porky.devel.redhat.com 2.2.1-ac1 #1 smp mon feb 1
17:44:44 est 1999 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=undef, 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='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Built under linux
  Compiled at Apr  6 1999 23:34:07
  @INC:
    /usr/lib/perl5/5.00503/i386-linux
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005/i386-linux
    /usr/lib/perl5/site_perl/5.005

Any ideas?


--
Stephen Marriott - stevem@hisoft.co.uk
HiSOFT, The Old School, Greenfield, Bedford, MK45 5DE, UK
Tel: +44 1525 718181 Fax: +44 1525 713716 Freecall: 0500 223 660
http://www.hisoft.co.uk/ PGP public key on request.ICQ#:29793027
http://aist.co.uk/ http://cinema4d.co.uk/ http://speedyshop.com/
AFFILIATES NETWORK - http://www.hisoft.co.uk/cgi-bin/gp?pg=an.main



Re: mod_perl-1.24 - Make FAILS!

Posted by Doug MacEachern <do...@covalent.net>.
On Thu, 17 Aug 2000, Stephen Marriott wrote:

> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2546: redefinition of 
> `union semun'
 
> Perl version 5.005_03 built for i386-linux (2.0.36)

this problem has been reported in the past, upgrading to a newer kernel
has cured.