You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ihor Bilyy <ih...@mindspring.net> on 2002/08/13 19:41:26 UTC
-Wl,-E
Hello!
I can't build apache 1.3.26 with mod_perl 1.27 on Solaris 2.8
I use:
perl Makefile.pl APACHE_SRC=../apache1/src \
NO_HTTPD=1 USE_APACI=1 PREP_HTTPD \
EVERYTHING=1
and in apache directory:
./configure --activate-module=src/modules/perl/libperl.a
here is the output:
Configuring for Apache, Version 1.3.26
+ using installation path layout: Apache (config.layout)
+ activated perl module (modules/perl/libperl.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Solaris 280 platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o perl_module uses ConfigStart/End
+ mod_perl build type: OBJ
+ id: mod_perl/1.27
+ id: Perl/v5.6.1 (solaris) [perl]
+ setting up mod_perl build environment
+ adjusting Apache build environment
+ enabling Perl support for SSI (mod_include)
+ using builtin Expat
+ checking sizeof various data types
+ 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 -DSOLARIS2=280 -DMOD_PERL -DUSE_PERL_SSI
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FI
LE_OFFSET_BITS=64 -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEEDED `./apaci` -I. -I/usr/local//lib/perl5/5.6.1/sun4-solaris
/CORE -o helpers/dummy helpers/dummy.c -lsocket -lnsl -lpthread
-Wl,-E -L/usr/local/lib
/usr/local/lib/perl5/5.6.1/sun4-solaris/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE
-lperl -lsocket -lnsl -ldl -lm -lc
/usr/ccs/bin/ld: illegal option -- E
usage: ld [-abc:d:e:f:h:il:mo:p:rstu:z:B:D:F:GI:L:M:N:P:Q:R:S:VY:] file(s)
Does anybody know how to fix it?
I tried MP_LD=gcc but with the same effect.
thanks
-i-