Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help w/ mod_perl install on solaris 9

Status
Not open for further replies.

ponetguy2

MIS
Aug 28, 2002
442
US
Hello,

I'm trying to install mod_perl on solaris 9, but I get an error. It seems to complain about my c compiler, but I may be wrong. If it is, I already defined the path to my c complier, which is gcc. Please advise.

#cd /usr/src/mod_perl-1.29

#perl Makefile.PL APACHE_SRC=../apache_1.3.36/src APACHE_PREFIX=/home/httpd DO_HTTPD=1 USE_APACI=1 EVERYTHING=1


Here is the error output from the install:

======== Error Output for sanity check ========
cd ..; cc -DSOLARIS2=290 -DMOD_PERL -DUSE_PERL_SSI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNO_DL_NEEDED
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `./apaci` -I. -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE
-o helpers/dummy helpers/dummy.c -lsocket -lnsl -lpthread -R /usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE
/usr/perl5/5.6.1/lib/sun4-solaris-64int/auto/DynaLoader/DynaLoader.a -L/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE
-lperl -lsocket -lnsl -ldl -lm -lc

sh: cc: not found
*** Error code 1
make: Fatal error: Command failed for target `dummy'
============= End of Error Report =============

Thank you in advance.

 
thank you m.brooks. despite of mod_perl assuring that gcc should work with mod_perl, it does not seem to like gcc. i specified gcc and it still fails with thesame error.

i am in the process of installing studio11 from solaris. i hope this works. i'll keep this thread updated with my progress. :)
 
That doesn't surprise me that mod_perl would fail a compilation with gcc because perl will fail compilation with gcc too, from what I remember.

Sun Studio 11 will also give you faster binaries. You can google for results of gcc vs. SS11. I have also had problems compiling some IO benchmarking tools that just plain would not compile with gcc, but compiled perfectly with SS11.

The path for the SS11 cc will be /opt/SUNWspro/bin.
 
kHz is absolutely on the money on this one. i installed studio11 and all is well. i just had to specify the path: /opt/SUNWspro/bin

thank you kHz and mbrooks. i appreciate your assitance :)
 
no problem Annihilannic. i'll update it as soon as i get a chance. i'm at work right now. i'll update it when i get home :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top