did you ever get this sorted out? looks like an rpm version of Perl
maybe? have you tried configuring/build Perl from source?
On Thu, 4 Nov 1999, Eva Neuberger wrote:
> Hallo,
> I'm trying to install mod_perl_1.21 with apache 1.36 perl 5.005_03
> and Linux Kernel 2.2.10
>
> I follow the instructions in INSTALL.apaci
>
> perl Makefile.PL APACHE_SRC=../apache_1.3.6/src DO_HTTPD=1
> PREP_HTTPD=1 USE_APACI=1 EVERYTHING=1
>
> Everything is ok, then typing make
> .....
> cc -c -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -pipe
> -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fpic
> -I/usr/lib/perl5/5.00503/i586-linux/CORE Leak.c
> In file included from Leak.xs:12:
> /usr/lib/perl5/5.00503/i586-linux/CORE/perl.h:2546: redefinition of
> `union semun'
> make[1]: *** [Leak.o] Error 1
> make[1]: Leaving directory`/usr/src/mod_perl-1.21/Leak'
> make: *** [subdirs] Error 2
>
> and with
> perl Makefile.PL
> APACHE_SRC=../apache_1.3.6/src APACHE_PREFIX=/usr/local/apache
> DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
>
> I've got
> cc -c -I../.. -I/usr/lib/perl5/5.00503/i586-linux/CORE
> -I../../os/unix -I../../include -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI
> -Dbool=char -DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX
> `../../apaci` mod_include.c In file included from
> ../../modules/perl/mod_perl.h:41,
> from mod_include.c:85:
> /usr/lib/perl5/5.00503/i586-linux/CORE/perl.h:2546: redefinition of
> `union semun'
> make[5]: *** [mod_include.o] Error 1
> make[4]: *** [all] Error 1
> make[3]: *** [subdirs] Error 1
> make[3]:Leaving directory`/usr/src/apache_1.3.6/src'
> make[2]: ***[build-std] Error 2
> make[2]: Leaving directory`/usr/src/apache_1.3.6'
> make[1]: ***[build] Error 2
> make[1]: Leaving directory`/usr/src/apache_1.3.6'
> make: *** [apaci_httpd] Error 2
>
> the same "redefinition of union semun"
> I've no idea, what's wrong.
>
> Eva Neuberger
>