Hi, just got a fresh VPS server and wanted to install the second apache on 8080 but without success

The configure process was ok, with only one warning:

Your Perl is configured to link against libgdbm,
but libgdbm.so was not found.
You could just symlink it to /usr/lib/libgdbm.so.2.0.0

perl Makefile.PL MP_USE_STATIC=1 MP_AP_PREFIX=/usr/local/src/httpd_perl2/httpd-2.2.9 MP_AP_CONFIGURE="--prefix=/usr/local/httpd_perl --with-mpm=prefork --disable-cgi --with-port=8080"

But when I hit make, a lot off error messages appears, almost all of them with a "perl.h" problem, here are some lines:
-------------------------------------
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/perl.h:3852: error: storage class specified for parameter ???PerlExitListEntry??? In file included from /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/perl.h:3881,
from modperl_perl_includes.h:65,
from modperl_common_includes.h:24,
from mod_perl.h:21,
from mod_perl.c:17:
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/thrdvar.h:34: error: expected specifier-qualifier-list before ???SV???
In file included from modperl_perl_includes.h:65,
from modperl_common_includes.h:24,
from mod_perl.h:21,
from mod_perl.c:17:
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/perl.h:3889: warning: empty declaration
-------------------------------------

There is one apache on this server that already have mod_perl as a shared module, but I don't think this is the cause.

here some lines from perl -V:
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
osname=linux, osvers=2.6.18-53.1.14.el5pae, archname=i386-linux-thread-multi
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API

Does someone know where the shoe pinches?
Thanks.

Reply via email to