Installing Apache on Sol 10 - Compiler Error

From: Ketan Patel (k2pattu@yahoo.com)
Date: Wed Sep 19 2007 - 07:21:19 EDT


Hello Gurus,
   
  I am installing apache 2.2 on Sol 10. To test before installing, I tried this:
   
  ./configure --prefix=/app/apache/apache2 --no-create
   
  It came back with the error -
  checking for gcc... /opt/gcc/bin/gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables

  Below are a couple of env variables:
   
  bash-3.00# echo $CC
/opt/gcc/bin/gcc
  bash-3.00# echo $LD_LIBRARY_PATH
/opt/gcc/lib

  I'd been googling for past 4 hours with very little luck. I tried suggestions but in vain:
   
  Installed gcc-3.4.6 from sunfreeware in /usr/local/bin and amended the PATH, library path and CC, still got the same C output file error
   
  Installed libiconv-1.11 from Sunfreeware in /usr/local/bin and tried again, still got the same C output file error
   
  Installed SUNW0scgfss and SUNW0gccfss - free compilers (cool tool) from SUN in /opt/gcc/bin. Set the path, library path, cc to /opt/gcc/bin/gcc and /opt/gcc/lib. Ran the same command and got the same C output file error
   
  I am downloading the gcc package from http://www.gnu.org/software/gcc/gcc.html as a last resort but I don't have much hope.
   
  I know the error message is related to the C compiler but I am running out of idea on where to debug. Config.log file is long and has no error messages recorded in it. I couldn't find any summary on this in Sunmanagers archive list.
   
  Please can someone point out what wrong I am doing here?
   
  Many thanks
  Ketan

       
---------------------------------
 Check out the hottest 2008 models today at Yahoo! Autos.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:20 EDT