Re: Errors building mod_perl on 64 bit perl Solaris

John D Groenveld <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
In message <CAJFC5W1JAHwV+fYxCkBC0CnhwkwjFWxVct2SjcTT-CS+CN-qeA@mail.gmail.com>
, Kartik Vashishta writes:
>perl was built with the same compiler as mod_perl
>./Configure -ders -Dcc=cc -Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth=
>-Uloclibpth=  -Duse64bitint -Duse64bitall -Ud_strerror_r -Ud_signbit
>-Duselargefiles -Dprefix=/usr/perl6/5.18.0

config_args='-Dprefix=/opt/apache2/perl-5.18.0 -Dcc=cc -Duseshrplib -Uusemymalc -Duselargefiles -Ubincompat5005 -Doptimize=-xO3 -Duse64bitall'

>apache was built from sources.....probably used gcc....not sure...

$ cat config.nice
#! /bin/sh
#
# Created by configure

CC="cc"; export CC
CFLAGS="-m64 -xO3"; export CFLAGS
LDFLAGS="-m64"; export LDFLAGS
"./configure" \
"--with-expat=/usr/sfw" \
"--with-ssl=/usr" \
"--enable-ssl" \
"--enable-proxy" \
"--enable-rewrite" \
"--enable-modules=all" \
"--enable-mods-shared=all" \
"--with-included-apr" \
"--prefix=/opt/apache2" \
"CC=cc" \
"CFLAGS=-m64 -xO3" \
"LDFLAGS=-m64" \
"$@"


John
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.