LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-05-2005, 12:23 AM   #1
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Rep: Reputation: 15
Proftpd problem


Hi all,

I'm trying to install FTP server using Proftpd. I follow this tutorial http://www.linuxquestions.org/questi...ticle&artid=17

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.
and this is output of $PATH env
Code:
-bash-3.00# echo $PATH
/usr/sbin:/usr/bin
How do i need to do to fix it?

Thanks in advance
 
Old 11-05-2005, 12:39 AM   #2
anuode
Member
 
Registered: Nov 2004
Location: china
Distribution: Mandrake 10.1 Official
Posts: 37

Rep: Reputation: 15
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.
 
Old 11-05-2005, 01:17 AM   #3
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15
hmm, maybe I have to install gcc and C compiler. I don't see the directory /opt/sfw/bin
 
Old 11-05-2005, 03:14 AM   #4
AgentX
Member
 
Registered: Sep 2005
Posts: 43

Rep: Reputation: 15
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.
 
Old 11-05-2005, 04:41 AM   #5
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
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.
 
Old 11-05-2005, 09:21 AM   #6
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15
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....

Last edited by saudoi; 11-05-2005 at 09:23 AM.
 
Old 11-05-2005, 09:31 AM   #7
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:
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.
 
Old 11-05-2005, 12:38 PM   #8
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15
Can I have "add/remove Solaris component" as "add/remove Windows component" in Windows world ?
 
Old 11-05-2005, 02:02 PM   #9
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
pkgadd/pkgrm
or the higher level
pkg-get, from blastwave.
 
Old 11-06-2005, 01:46 AM   #10
AgentX
Member
 
Registered: Sep 2005
Posts: 43

Rep: Reputation: 15
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.
 
Old 11-06-2005, 10:12 AM   #11
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15
Oh, if i want to add gcc which included in 4 disks Solaris 10, how can i do ?
 
Old 11-06-2005, 10:30 AM   #12
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
Put the CD-ROM containing gcc in your drive, then run something like:
Code:
cd /cdrom/cdrom0/Solaris_10/Product
pkgadd -d . SUNWgccmn
pkgadd -d . SUNWgccruntime
pkgadd -d . SUNWgcc
Then, get gcc patches from sunsolve, as it seems the initial Solaris 10 gcc had several bugs.
Alternatively, you can install gcc from blastwave:
Code:
pkg-get -i gcc
Finally, you can go the Solaris Express way, and use Sun's own compiler for free as a member of the OpenSolaris community.

Last edited by jlliagre; 11-06-2005 at 10:45 AM.
 
Old 11-06-2005, 10:55 AM   #13
AgentX
Member
 
Registered: Sep 2005
Posts: 43

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

Any help?

Last edited by AgentX; 11-06-2005 at 10:58 AM.
 
Old 11-06-2005, 11:40 AM   #14
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
"pkg-get -d" will download a package without installing it, you can then install from the saved file later on another computer (or the same).
 
Old 11-06-2005, 11:44 AM   #15
AgentX
Member
 
Registered: Sep 2005
Posts: 43

Rep: Reputation: 15
pkg-get -d downloads the file in the current directiry, but without any dependencies.
pkg-get -i installs programs with required dependencies.

What I want is to download and save my specified packages with all their
dependencies for future usage. There doesn't seem any workaround so far.
 
  


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
problem with proftpd abudabis Linux - Software 0 02-11-2005 07:08 AM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 10:27 AM
Proftpd problem kelper Linux - Networking 11 04-01-2004 12:07 PM
proftpd problem thesnaggle Linux - Software 1 10-27-2003 11:20 AM
proftpd problem dsgdevil Linux - General 5 10-13-2003 12:02 AM

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

All times are GMT -5. The time now is 12:07 PM.

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