The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 03:19 AM
Fatal error: Command failed for target `build_crypto' sayed_021 SUN Solaris 1 02-13-2008 12:16 PM
sun solaris 10 make error sunrise SUN Solaris 9 05-29-2007 04:20 AM
Solaris 9 Installation Error: Mount Failed vtsao UNIX for Dummies Questions & Answers 1 02-07-2005 07:31 PM
Error when running the make command nattynatty UNIX for Advanced & Expert Users 2 03-25-2003 05:30 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-27-2005
eldiego eldiego is offline
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
  #2 (permalink)  
Old 10-28-2005
plimpix plimpix is offline
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!
  #3 (permalink)  
Old 10-28-2005
eldiego eldiego is offline
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0