The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
make file_Configuration lookup disabled for target. mannam srinivas Linux 0 04-16-2008 12:19 AM
Fatal error: Command failed for target `build_crypto' sayed_021 SUN Solaris 1 02-13-2008 08:16 AM
sun solaris 10 make error sunrise SUN Solaris 9 05-29-2007 01:20 AM
Solaris 9 Installation Error: Mount Failed vtsao UNIX for Dummies Questions & Answers 1 02-07-2005 03:31 PM
Error when running the make command nattynatty UNIX for Advanced & Expert Users 2 03-25-2003 01:30 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-27-2005
Registered User
 

Join Date: Oct 2005
Posts: 13
Solaris 9: make: Fatal error:Command failed for target

Hi everyone

first of all you should know that I've been working with solaris for a few days only.

I need to install some programs and I have had the following troubles:

1. When I used /.configure it showed the following message:
"no acceptable C compiler found in $PATH"
I included /usr/css/bin/ in the path and it worked but I think is using ucbcc instead of cc

2.Then again with ./configure it showed:
"error: C compiler cannot create executables"
I followed some advices I found in the internet and now ./configure is ok

3. I tried with 'make" which is the next step in the installation process but it said: "make: not found"

4.I tried with "/usr/ccs/bin/./make" and is trying to compile but the following message appears (when trying to install gnu m4-1.4.3):
"make: fatal error: command failed for target 'libm4.a'

this kind of error appears with all programs I try to install

my path is:
/usr/sbin: /usr/bin: /usr/dt/bin/: /usr/openwin/bin: /bin: /usr/ucb: /usr/css/bin

I don't know what's wrong. Do I need to configure another path, am I missing something?? help please

thank you very much
diego
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-28-2005
Registered User
 

Join Date: May 2005
Location: Scotland
Posts: 28
Two important things i have found when compiling packages in Solaris are the PATH & LD_LIBRARY_PATH

PATH=/usr/bin:/sbin:/usr/local/bin:/usr/openwin/bin:/usr/dt/bin
LD_LIBARAY_PAT=/lib:/usr/lib:/usr/local/lib

I have also found that the cc compiler with Solaris hasn't always compiled what i wanted to.. So what i would suggest you do is download gcc from say www.sunfreeware.com. You can install this with a pkgadd and you might even find that the package your are trying to compile is already on there!

If not once you have gcc installed then i would suggest your re-run the ./configure and see how you get on!
Reply With Quote
  #3 (permalink)  
Old 10-28-2005
Registered User
 

Join Date: Oct 2005
Posts: 13
I tried with the PATH and the LD_LIBRARY_PATH and it worked!!!!


thank you very much plimpix

diego
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:51 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0