Hi,

It took a while for this to sink into my weak little brain, but I did almost exactly as you said and life is good! I ended up putting the new Perl in /opt and linking /usr/local/bin/perl to it.

I read some stuff that scared me away from trying to replace the existing 5.6.1 perl.

Thanks for your help,

Eric

At 01:42 PM 9/24/2004, John D Groenveld wrote:
In message <[EMAIL PROTECTED]>, Eric writes
:
>Which sounds like the answer to my problem except I don't know how to
>correctly make these changes so that gcc flags are used instead of Solaris
>compiler flags. I am guessing that mod_perl is being a little too smart for


As root,
# rm /usr/bin/perl

As eric,
$ cd /tmp/perl-5.8.5
$ env PATH=/usr/bin:/usr/ccs/bin:/opt/sfw/bin ./Configure \
-Dprefix=/opt/perl-5.8.5 -Dcc=gcc -Duseshrplib -Uusemymalloc \
-Duselargefiles  -Ubincompat5005 -des
$ env PATH=/usr/bin:/usr/ccs/bin:/opt/sfw/bin make test

When building modperl, remember to be explicit about invoking the
correct Perl.
$ /opt/perl-5.8.5/bin/perl Makefile.PL USE_APXS=1 \
WITH_APXS=/opt/apache/bin/apxs EVERYTHING=1 PERL_TRACE=1

Happy hacking,
John
[EMAIL PROTECTED]


-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html


--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to