Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

compiling on Solaris

megamic

2009-08-19

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi

I am trying to compile modperl2 on Solaris. I am using Perl5.10.0, and because the Solaris compiler seems to have difficulties compiling Perl5.10.0 extensions, I want to compile modperl2 using gcc. I am trying to configure with this command:
perl Makefile.PL MP_APXS=/usr/apache2/bin/apxs CC=gcc CCFLAGS='-fPIC -O2'
gmake CC=gcc

However it still uses the Sun compiler when building. How can I ensure gcc is used to compile modperl2?

Cheers
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.