On 24 Oct 2002 at 14:46, Philippe M. Chiasson wrote:

> On Thu, 2002-10-24 at 14:40, Dipl.-Inform. Kai Hofmann wrote:
> > I tried to compile 1.99_07 - but there is a definition of
> > IoTYPE_WRONLY and IoTYPE_REONLY within the file apr_perlio.c
> > which can not be resolved unter SuSE Linux 7.2 with Apache 2.0.43
> > I greped all includes without any success where these things will be 
> > defined - any hints?
> > Last time I compiles 1.99_03 successfully.
> 
> Can you specify the version of Perl you are using (i.e. output of perl
> -V), options you passed to perl Makefile.PL, and maybe also the relevant
> output from the compilation phase when it fails.

island# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) 
configuration:
  Platform:
    osname=linux, osvers=2.4.3, archname=i586-linux
    uname='linux subbotin 2.4.3 #1 tue may 8 21:54:34 gmt 2001 i686 
unknown '
    config_args='-ds -e -Dprefix=/usr -Di_db -Di_dbm -Di_ndbm -
Di_gdbm'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=undef use64bitall=undef uselongdouble=undef 
usesocks=undef
  Compiler:
    cc='cc', optimize='-O2 -pipe', gccversion=2.95.3 20010315 (SuSE)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    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
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, 
Off_t='off_t', lseeksize=8
    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 -ldl -lm -lc -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):
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at May 11 2001 15:16:11
  @INC:
    /usr/lib/perl5/5.6.0/i586-linux
    /usr/lib/perl5/5.6.0
    /usr/lib/perl5/site_perl/5.6.0/i586-linux
    /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl


**********************************************************************

cd httpd-2.0.43

./configure --prefix=/usr/local/apache-test --enable-so --enable-ssl -
-with-ssl=/usr/local/openssl --enable-info --with-mpm=prefork --with-
port=4080 --enable-speling --enable-deflate --enable-mime-magic --
enable-modules="mod_ldap mod_auth_ldap"

make
make install

cd ../mod_perl-1.99_07
perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=/usr/local/apache-
test EVERYTHING=1 PERL_USELARGEFILES=0
make

[...]

make[3]: Entering directory `/usr/src/packages/SOURCES/mod_perl-
1.99_07/xs/APR/PerlIO'
mkdir ../../../blib/arch/Apache2/auto/APR/PerlIO
mkdir ../../../blib/lib/Apache2/auto/APR/PerlIO
cp PerlIO.pm ../../../blib/lib/Apache2/APR/PerlIO.pm
/usr/bin/perl -I/usr/lib/perl5/5.6.0/i586-linux -
I/usr/lib/perl5/5.6.0 /usr/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap 
/usr/lib/perl5/5.6.0/ExtUtils/typemap -typemap 
/usr/src/packages/SOURCES/mod_perl-1.99_07/xs/typemap PerlIO.xs > 
PerlIO.xsc && mv PerlIO.xsc PerlIO.c
cc -c -I/usr/src/packages/SOURCES/mod_perl-1.99_07/src/modules/perl -
I/usr/src/packages/SOURCES/mod_perl-1.99_07/xs -I/usr/local/apache-
test/include -fno-strict-aliasing -I/usr/local/include  -DMOD_PERL -
O2 -pipe     -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fpic -
I/usr/lib/perl5/5.6.0/i586-linux/CORE  PerlIO.c
In file included from /usr/src/packages/SOURCES/mod_perl-
1.99_07/src/modules/perl/modperl_perl_includes.h:42,
                 from /usr/src/packages/SOURCES/mod_perl-
1.99_07/src/modules/perl/mod_perl.h:5,
                 from PerlIO.xs:1:
/usr/lib/perl5/5.6.0/i586-linux/CORE/perl.h:23: warning: `VOIDUSED' 
redefined
/usr/lib/perl5/5.6.0/i586-linux/CORE/config.h:3028: warning: this is 
the location of the previous definition
cc -c -I/usr/src/packages/SOURCES/mod_perl-1.99_07/src/modules/perl -
I/usr/src/packages/SOURCES/mod_perl-1.99_07/xs -I/usr/local/apache-
test/include -fno-strict-aliasing -I/usr/local/include  -DMOD_PERL -
O2 -pipe     -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fpic -
I/usr/lib/perl5/5.6.0/i586-linux/CORE  apr_perlio.c
In file included from /usr/src/packages/SOURCES/mod_perl-
1.99_07/src/modules/perl/modperl_perl_includes.h:42,
                 from /usr/src/packages/SOURCES/mod_perl-
1.99_07/src/modules/perl/mod_perl.h:5,
                 from apr_perlio.c:3:
/usr/lib/perl5/5.6.0/i586-linux/CORE/perl.h:23: warning: `VOIDUSED' 
redefined
/usr/lib/perl5/5.6.0/i586-linux/CORE/config.h:3028: warning: this is 
the location of the previous definition
apr_perlio.c: In function `apr_perlio_apr_file_to_glob':
apr_perlio.c:573: `IoTYPE_WRONLY' undeclared (first use in this 
function)
apr_perlio.c:573: (Each undeclared identifier is reported only once
apr_perlio.c:573: for each function it appears in.)
apr_perlio.c:577: `IoTYPE_RDONLY' undeclared (first use in this 
function)
make[3]: *** [apr_perlio.o] Error 1
make[3]: Leaving directory `/usr/src/packages/SOURCES/mod_perl-
1.99_07/xs/APR/PerlIO'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/usr/src/packages/SOURCES/mod_perl-
1.99_07/xs/APR'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/usr/src/packages/SOURCES/mod_perl-
1.99_07/xs'
make: *** [subdirs] Error 2



Greetings

    Kai Hofmann


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to