Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
However, when i execute the command: ./configure, i have an error "No acceptable C compiler found in $PATH"
Here is the output
Code:
-bash-3.00# ./configure
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
The PATH doesn't include the path of gcc/cc.If you have the directory:/opt/sfw/bin and gcc is in it ,you can add it to PATH.If there isn't gcc ,you must install it.
Check in /usr/sfw/bin. GCC and a few other GNU tools that get installed with
Solaris, reside in /usr/sfw. OTOH, Companion CD software gets into /opt/sfw.
And, don't install GCC from Companion CD. Many have had problems with it.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Solaris 10 includes gcc in /usr/sfw. If you haven't it there, that means you choose a partial Solaris installation (end-user) instead of a developper or better, full install.
oh, that mean I should re-install my server again with full option... hmm, I will do it at the Monday :-)
In fact, I'd downloaded 4 CDs from SUN Site, and when I finished disk 4, the installation asked me for another disks but I didn't have them so I chose skip for them. Maybe they were the caused of problems. I will try again.... 1st time with Solaris, not easy....
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
oh, that mean I should re-install my server again with full option... hmm, I will do it at the Monday :-)
You need not.
Quote:
In fact, I'd downloaded 4 CDs from SUN Site, and when I finished disk 4, the installation asked me for another disks but I didn't have them so I chose skip for them. Maybe they were the caused of problems.
Gcc is on one of these four disks.
Quote:
1st time with Solaris, not easy....
Solaris installation may not be that simple, but it seems to me easy to understand that selecting a non developer installation implies the compiler won't be there.
Instead of reinstalling Solaris from scratch, you may find simpler to install gcc from blastwave or sunfreeware.
prodreg is equivalent to "Add/Remove Programs" in Windows. As jlliagre said,
pkgadd/pkgrm are command line tools for installing and removing software
in Solaris Package format.
jlliagre, is there any way to both install and save a package with all its
dependencies when using pkg-get from Blastwave? I can either save the
packages (without dependencies, of course) or install them.
I basically want to save them, so I can install them on my other machines, and
I'll also able to use them later whenever I want to.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.