LinuxQuestions.org
Review your favorite Linux distribution.
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 09-18-2005, 04:47 AM   #1
anuode
Member
 
Registered: Nov 2004
Location: china
Distribution: Mandrake 10.1 Official
Posts: 37

Rep: Reputation: 15
What's wrong with this?


bash-3.00# make test
bash: make: command not found
bash-3.00# /usr/local/bin/make test
cp OICQ.pm blib/lib/Crypt/OICQ.pm
/usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap OICQ.xs > OICQ.xsc && mv OICQ.xsc OICQ.c
cc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -KPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE" OICQ.c
/usr/ucb/cc: language optional software package not installed
make: *** [OICQ.o] Error 1
 
Old 09-18-2005, 05:03 AM   #2
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
what are you running? This is telling you it can't find a c compiler.
type 'echo $PATH' (without the quotes at the command prompt) and report what it says. it doesn't look like you have it set correctly.
 
Old 09-19-2005, 08:33 AM   #3
anuode
Member
 
Registered: Nov 2004
Location: china
Distribution: Mandrake 10.1 Official
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks for replaying!
But I'm sure that the gcc has been installed (/usr/local/bin/)
And PATH includes it!
 
Old 09-19-2005, 11:37 AM   #4
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
Yes, but your Makefile tries to execute cc, not gcc.
Moreover, it finds in your path an obsolete cc script that is setting options for the Sun C compiler to have Solaris 1 (SunOS 4.x) compatibility, which is certainly not what you want.
 
Old 09-19-2005, 01:01 PM   #5
cdhjrt
Member
 
Registered: Mar 2002
Location: Marysville, WA
Distribution: Redhat, Win2K, Solaris
Posts: 45

Rep: Reputation: 15
Make sure /usr/local/bin is before /usr/ucb in your path. Make is finding cc before gcc.
 
  


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
what' s wrong phoenix_fei Programming 4 01-18-2005 10:56 AM
my time is wrong and calender is also wrong Paxmaster Linux - General 6 12-16-2004 12:46 AM
What's wrong? whaase Linux - Software 7 10-20-2003 12:39 AM
What am I doing wrong? funkenbooty Linux - Newbie 14 07-26-2003 02:16 AM
What did I do wrong? yakko Linux - Newbie 7 05-02-2002 07:09 PM

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

All times are GMT -5. The time now is 06:45 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