On 17/06/09 11:08 , h...@welinux.cl wrote:
> Hi,
> 
> I'm having trouble compiling mod_perl on latest ubuntu (Jaunty), i've tried 
> the latest version of mod_perl: 1.31 and apache: 1.3.41 without success, then 
> i downgraded to some older versions once i was able to build: mod_perl.1.30 
> and apache 1.3.39, without success too.
> 
> The problem is that after doing perl Makefile.PL DO_HTTPD=1 USE_APACI=1 
> EVERYTHING=1
> 
> I get the following error:
> 
> ** A test compilation with your Makefile configuration
> ** failed.  The below error output from the compilation
> ** test will give you an idea what is failing. Note that
> ** Apache requires an ANSI C Compiler, such as gcc. 
> 
> ======== Error Output for sanity check ========
> cd ..; cc  -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT  -DDEBIAN 
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT -DDEBIAN 
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 `./apaci` -I. -I/usr/lib/perl/5.10/CORE    -o 
> helpers/dummy helpers/dummy.c   -lm -Wl,-E  -L/usr/local/lib  
> -L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt 

Have you tried running that cc command directly and see what happens ?

Sounds like the compiler is failing and we are not capturing the reason somehow.

-- 
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to