perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Poo <hans...@gmail.com>
Subject Compile mod_perl 1.0 on ubuntu 12.04 or later
Date Fri, 22 Feb 2019 11:47:47 GMT
Hi,

I've been unable  to compile 1.0 on ubuntu 12.04 or later. Anyone has been
able to compile it or has a patched mod_perl source tree ?

cd ~/src
wget https://archive.apache.org/dist/httpd/apache_1.3.42.tar.gz
wget http://apache.org/dist/perl/mod_perl-1.31.tar.gz
tar xzvf apache_1.3.42.tar.gz
tar xzvf mod_perl-1.31.tar.gz
cd mod_perl-1.31
perl Makefile.PL APACHE_SRC=../apache_1.3.42/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
make


<=== src/modules/standard
===> src/modules/perl
cc -O2 -g -I/usr/lib/perl/5.14/CORE -D_REENTRANT  -DDEBIAN
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.31\"
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.31\" -I../..
-I/usr/lib/perl/5.14/CORE -I../../os/unix -I../../include    -DLINUX=22
-DHAVE_SET_DUMPABLE -DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT  -DDEBIAN
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED
-D_REENTRANT  -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
`../../apaci` -c mod_perl.c
mod_perl.c: In function ‘mp_check_version’:
mod_perl.c:527:11: warning: unknown conversion type character ‘_’ in format
[-Wformat]
mod_perl.c:527:11: warning: unknown conversion type character ‘_’ in format
[-Wformat]
mod_perl.c:536:2: warning: unknown conversion type character ‘_’ in format
[-Wformat]
mod_perl.c: In function ‘perl_module_init’:
mod_perl.c:562:2: warning: unknown conversion type character ‘v’ in format
[-Wformat]
mod_perl.c: In function ‘perl_startup’:
mod_perl.c:788:15: error: lvalue required as left operand of assignment
make[5]: *** [mod_perl.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/root/src/apache_1.3.42/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/root/src/apache_1.3.42'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/root/src/apache_1.3.42'
make: *** [apaci_httpd] Error 2

Thanks
Hans Poo

Mime
View raw message