LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 07-19-2008, 11:24 PM   #1
Cyrano_de_Bergerac
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
how to configure/install a compiler?


I am completely new to Solaris, and am installing it on a pc to learn it. I have installed it and run all updates, and now am prepared to install apache, bind, sendmail, etc.

When attempting to install apache, I download the source and try to './configure' it, I get this:


checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
Configuring APR library
Platform: i386-pc-solaris2.10
checking for working mkdir -p... yes
APR Version: 1.3.0
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr


How do I set up/install/configure an "acceptable C compiler" and set the path?
 
Old 07-20-2008, 01:40 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,481

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Welcome to LQ !

Apache, bind and sendmail are already installed on Solaris 10.

If you want to build from the source, you need to add /usr/sfw/bin and /usr/ccs/bin to your PATH.
 
Old 07-20-2008, 11:04 AM   #3
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,413

Rep: Reputation: 99
or get yourself gcc from
http://www.sunfreeware.com/
if you are new to solaris this may be a helpful link anyway
 
Old 07-20-2008, 11:26 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,481

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
gcc is actually bundled with Solaris 10. There is normally no need to download it, just to have it in the PATH (/usr/sfw/bin/gcc).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
configure/compiler error MrSnrub Linux - Newbie 2 03-18-2006 03:50 PM
how to specify the compiler when configure? baosheng Ubuntu 1 01-24-2006 10:52 AM
install problem ./configure no acceptable C compiler ALInux Linux - Software 3 05-05-2005 01:46 PM
./configure cant find a compiler habitue Linux - Software 18 10-15-2003 03:34 PM


All times are GMT -5. The time now is 11:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration