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.
but y do i get ....
# ./configure
loading cache ./config.cache
checking for a BSD compatible install... cfgaux/install-sh -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... ./configure: make: not found
no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
#
You are compiling squid from source code and so you do need a compiler for this. However, you can just get the squid package with 'pkg-get' command that Jillagre stated without needing gcc.
# pkgadd -d pkg_get.pkg
pkgadd: ERROR: attempt to process datastream failed
- open of <pkg_get.pkg> failed, errno=2
pkgadd: ERROR: could not process datastream from <pkg_get.pkg>
Originally posted by krayz1e # pkgadd -d pkg_get.pkg
pkgadd: ERROR: attempt to process datastream failed
- open of <pkg_get.pkg> failed, errno=2
pkgadd: ERROR: could not process datastream from <pkg_get.pkg>
Please go to http://www.blastwave.org/pkg-get.php
and get the two packages pkg-get.pkg and wget-i386.bin or wget-sparc.bin (depending on your architecture).
All the information you need is given at www.blastwave.org
Please follow the instructions given there. You should be able to get gcc/squid/whatever else from there without having to compile from source (which is what you are trying to do now).
Regards,
Maidros
I think everyone assumed you had more *nix experience when you posted.
Your best bet is what was already stated, look for precompiled binary packages, not source code, on http://sunfreeware.com/ or through pkg-get (you have to install this precompiled pkg-get binary package before you can use it to get other packages, see the site for instructions) at http://www.blastwave.org/ and download them. If you do not find precompiled packages for what you need then you will need source code for the application you want (squid) and all the compiler tools, also mentioned previously, such as gcc and make. Since Solaris is not Linux, it does not come with these compiler tools, so you will have to find precompiled binary packages of these compiler tools to install before you can actually compile new programs from source (run configure and make.)
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Since Solaris is not Linux, it does not come with these compiler tools
No doubt Solaris is not Linux, but both share a lot of Gnu stuff, including gcc, should
one bother to install it from the Solaris companion CD. http://www.sun.com/software/solaris/freeware/
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
As said before, you do not NEED a compiler to install squid.
Neither you need to download the companion CD.
However, you need to learn the basics of computing, and that is taking for everyone a much longer time that what it takes to download a CD ...
Please clarify what you are still missing from what we already answered if you want to go further.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.