[Act] Act services moving on a new server

Sébastien Aperghis-Tramoni sebastien at aperghis.net
Wed Feb 17 01:57:24 CET 2016


Alex Muntada wrote:

> Sébastien Aperghis-Tramoni:
> 
> > On the hosting facility I use, the oldest Ubuntu they provide
> > is 12.04 LTS. They also provide Debian 6 squeeze.
> 
> Good news: I compiled apache-1.3.42 on 14.04 with the _getline
> patch only. So it wasn't apache's fault that I had to downgrade
> to 10.04.
> 
> Bad news: statically compiling mod_perl-1.31 with apache fails
> due to some weird format strings:
> 
> ===> src/modules/perl
> cc -O2 -g -I/usr/lib/perl/5.18/CORE -D_REENTRANT  -DDEBIAN
> -fstack-protector -fno-strict-aliasing -pipe -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.18/CORE -I../../os/unix -I../../include
>    -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_PERL -DUSE_PERL_SSI
> -D_REENTRANT  -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -DUSE_HSREGEX -D_REENTRANT  -DDEBIAN -fstack-protector
> -fno-strict-aliasing -pipe -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=]
>            version));
>            ^
> mod_perl.c:527:11: warning: unknown conversion type character ‘_’ in
> format [-Wformat=]
> mod_perl.c:527:11: warning: too many arguments for format
> [-Wformat-extra-args]
> mod_perl.c:536:2: warning: unknown conversion type character ‘_’ in
> format [-Wformat=]
>   sv_setpvf(namesv, "%_/Apache.pm", dir);
>   ^
> mod_perl.c:536:2: warning: too many arguments for format
> [-Wformat-extra-args]
> mod_perl.c: In function ‘perl_module_init’:
> mod_perl.c:562:2: warning: unknown conversion type character ‘v’ in
> format [-Wformat=]
>   char *version = form("Perl/v%vd", PL_patchlevel);
>   ^
> mod_perl.c:562:2: warning: too many arguments for format
> [-Wformat-extra-args]
> mod_perl.c: In function ‘perl_startup’:
> mod_perl.c:788:15: error: lvalue required as left operand of
> assignment
>   GvCV(exitgp) = perl_get_cv("Apache::exit", TRUE);
>                ^
> 
> I will try some other options now and will keep you posted.

On my side, I tried to compile older versions of GCC, which failed with
the error stating that some features were not supported in C99 mode.
This led me to looking in this direction, and I found that passing the
-std=gnu89 option passed to cc make things much easier.
I could compile the static Apache with no problems. Now I'm working on
the Apache+mod_perl, but first had to reinstall a Perl compiled with
this option as well.


-- 
Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.


More information about the Act mailing list