Hi there,

On Wed, 17 Dec 2003 [EMAIL PROTECTED] wrote:

> I am running Solaris 9, perl 5.6.1, apache 1.3.22.
> I am trying to install mod_perl as a DSO [snip]

First, please read the documentation to see what other information you
should supply, you'll find useful links at the bottom of any message
sent by the mod_perl list software.

Second, DSO on Solaris has had a chequered history, I recommend static
builds untils you are sure of things.

Third, I recommend that you install LWP and the other things that the
configuration script is asking for, so you can run the test suite
properly.  It's easy with CPAN:

su -
perl -MCPAN -e shell
install HTML::HeaderParser
etc.

Fourth, you should be OK with gcc 3.3.2 and Perl 5.6.1 but why are you
using Apache 1.3.22?  That's well out of date.

Fifth, you need to make sure that your Perl, mod_perl and Apache are
compiled with the same compiler.  If that means you have to rebuild
Perl you should do that first.

Sixth,

> make 
> 
> (cd ./apaci && PERL5LIB=/export/home/kevenj/mod_perl-1.29/lib: make)
> cc -KPIC -xO3 -xdepend -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE 
> [snip]
> Don't have cc and am using gcc 3.3.2. I linked /usr/local/bin/cc to my gcc 
> binary and i am still getting the above error. 

these options aren't right for gcc, you need to look into that.  I
don't think that making desperate symlinks like that is a good idea.
Make sure that the configuration scripts know you want to use gcc, you
might need to delve inside them to see if the fact you're running on
Solaris is confusing them.  You could try something like

CC=gcc

in mod_perl-1.29/src/Configuration to see if that sheds any light.

See also mod_perl-1.29/mod_perl_traps.pod for information about Gnu ld
and building Perl on Solaris.

Did you install gcc yourself?  Is it on your path when you configure?
Are you configuring as a normal user (i.e. not root)?  You should only
use the root account for installing, that is the 'make install' step,
or for example installing things from CPAN.

Phew.  HTH.

73,
Ged.


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to