![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
|||
|
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! |