You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Bob Parkinson <rw...@biome.ac.uk> on 2000/10/23 11:47:01 UTC

tru64/Configure problem with perl5.6.0 for modperl

Hi,

I'm in process of upgrading our perl/modperl/apache installation, and have
a problem. Not sure if this is a perl problem or a modperl problem.

modperl-1.24/perl-5.6.0/tru64-D/apache-1.3.14

I'm gettting the ./Configure fail with:

 + doing sanity check on compiler and options
** 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 ..; gcc  -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEEDED -std -fprm d -ieee -D_INTRINSICS -I/usr/include_ndbm
-I/usr/local/include -DLANGUAGE_C -DMOD_PERL     -o helpers/dummy
helpers/dummy.c  `/usr/local/perl-5.6.0/bin/perl
/usr/local/perl-5.6.0/source_apache_modperl/apache_1.3.14/mod_perl-1.24/src/modules/perl/ldopts
` -lm
gcc: d: No such file or directory
cc1: Invalid option `-std'

It's trying to use the compiled defaults that I've made perl-5.6.0 with
(eg. -std) that work with digital cc, but not with gcc, this is a  bit
from the perl -V for 5.6.0

  Compiler:
    cc='cc', optimize='-O4', gccversion=
    cppflags='-std -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C'
 

when I use the installed perl (5.0 patch4 sublevel4) I don't get this
problem. This was build with digital cc and shows built with non-gcc
flags: eg;

  Compiler:
    cc='cc', optimize='-O4', gccversion=
    cppflags='-std -D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__'
 


Have I misinstalled the new perl or is this a modperl problem (or
something else)? 

Cheers,

Bob