Computing.Net > Forums > Solaris > gcc not found on Solaris

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

gcc not found on Solaris

Reply to Message Icon

Name: phaneendra
Date: May 22, 2008 at 07:25:34 Pacific
OS: Solaris
CPU/Ram: SPARC
Product: SUNFire V890
Comment:

When I tried to run apache I got error for libiconv-1.12 lib.

I downloaded source and trying to install then I am stuck at gcc error.

Please find the error below.

Can you please guide me the next step?

$ cd ../../../apps1/reclass/apache2/dist/libiconv-1.12
$ pwd
/apps1/reclass/apache2/dist/libiconv-1.12
$ ./configure --prefix=/usr/local $ make $ make install
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: $
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: $
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... no
checking whether make sets $(MAKE)... (cached) no
checking for $-gcc... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

thanks,
phaneendra



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: May 22, 2008 at 08:17:18 Pacific
Reply:

gcc is part of the GNU compiler collection. It looks like you don't have it installed. You should be able to install it from this website:

http://gcc.gnu.org/


0

Response Number 2
Name: iebner
Date: May 23, 2008 at 23:18:26 Pacific
Reply:

You can also get ready to install packages for most popular gnu/freeware software from:

http://www.sunfreeware.com/


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: gcc not found on Solaris

Installing Gcc-3.0 on Solaris 8( Intel) www.computing.net/answers/solaris/installing-gcc30-on-solaris-8-intel/546.html

Cups not compiling on Solaris 8 www.computing.net/answers/solaris/cups-not-compiling-on-solaris-8/3393.html

sar not working on Solaris www.computing.net/answers/solaris/sar-not-working-on-solaris/4850.html