LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This 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


Reply
  Search this Thread
Old 05-19-2005, 09:50 PM   #16
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492

you do not need to use gcc to install squid.
 
Old 05-19-2005, 11:41 PM   #17
krayz1e
Member
 
Registered: Aug 2004
Location: Sydney
Distribution: FC3
Posts: 39

Original Poster
Rep: Reputation: 15
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
#
 
Old 05-20-2005, 12:52 AM   #18
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
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.

-twantrd
 
Old 05-20-2005, 12:59 AM   #19
krayz1e
Member
 
Registered: Aug 2004
Location: Sydney
Distribution: FC3
Posts: 39

Original Poster
Rep: Reputation: 15
# pkg-get
pkg-get: not found


not installed

any idea how 2?
 
Old 05-20-2005, 01:03 AM   #20
krayz1e
Member
 
Registered: Aug 2004
Location: Sydney
Distribution: FC3
Posts: 39

Original Poster
Rep: Reputation: 15
# 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>
 
Old 05-20-2005, 01:58 AM   #21
Maidros
Member
 
Registered: Jan 2004
Location: Haifa, Israel
Distribution: Debian, FreeBSD, Solaris
Posts: 101

Rep: Reputation: 15
Quote:
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
 
Old 05-20-2005, 02:01 AM   #22
krayz1e
Member
 
Registered: Aug 2004
Location: Sydney
Distribution: FC3
Posts: 39

Original Poster
Rep: Reputation: 15
ok thanks ill give it a shot before i go home
 
Old 05-20-2005, 02:04 AM   #23
krayz1e
Member
 
Registered: Aug 2004
Location: Sydney
Distribution: FC3
Posts: 39

Original Poster
Rep: Reputation: 15
im not sure what i must do here...

save as "wget" somewhere in your $PATH, and dont forget to "chmod 0755 wget". (If you have solaris 9, you probably already have it in /usr/sfw/bin)

You also need gzip "somewhere" in your PATH. Most people do these days, unless you did a minimalist "Core install" of Solaris.

Add /opt/csw/bin to root's PATH
 
Old 05-20-2005, 03:28 AM   #24
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
What parts are you missing in these instructions ?
They appear quite clear to me.

What return these commands ?
Code:
type wget
type gzip
 
Old 05-20-2005, 06:59 AM   #25
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
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.)
 
Old 05-20-2005, 08:27 AM   #26
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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/
 
Old 05-23-2005, 07:12 PM   #27
krayz1e
Member
 
Registered: Aug 2004
Location: Sydney
Distribution: FC3
Posts: 39

Original Poster
Rep: Reputation: 15
i have a dvd copy that was given to me so im not sure if it would have it on there
 
Old 05-23-2005, 10:57 PM   #28
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
It is not on the dvd, you must get a copy or download the companion cd for these freewares.
 
Old 05-23-2005, 11:27 PM   #29
krayz1e
Member
 
Registered: Aug 2004
Location: Sydney
Distribution: FC3
Posts: 39

Original Poster
Rep: Reputation: 15
damn thats goin 2 take a while
 
Old 05-24-2005, 12:38 AM   #30
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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.
 
  


Reply



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
Setting up the NFS server on Solaris Box suresheva31 Linux - Networking 1 04-01-2005 12:51 PM
problems jumpstarting Solaris from a fedora core 2 box coontie Linux - General 0 11-08-2004 11:26 PM
LINUX on Solaris sparc BOX ? nuwanguy Solaris / OpenSolaris 5 08-26-2003 01:57 PM
A tape drive and a Solaris box allocate Linux - Hardware 3 07-29-2003 09:40 AM
im on a solaris box and i want to see access log? ForumKid Solaris / OpenSolaris 4 11-05-2002 12:12 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:04 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration