The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
make[2]: *** [xml] Error 1 praveen_b744 UNIX for Advanced & Expert Users 1 04-14-2008 02:46 AM
Error in issuing a make and make install ahjiefreak Linux 1 03-11-2008 09:32 PM
gcc & make error- Help please moe2266 UNIX for Advanced & Expert Users 10 09-04-2007 08:58 PM
Error when running make shashidhara_01 High Level Programming 1 02-02-2007 02:35 PM
Solaris 9: make: Fatal error:Command failed for target eldiego UNIX for Dummies Questions & Answers 2 10-28-2005 12:11 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-22-2007
Registered User
 

Join Date: May 2007
Posts: 2
Stumble this Post!
sun solaris 10 make error

i am new to solaris 10 just installed the entire DVD
i have the make and gmake installed in the right postions but even when logged in as root when i run make i get "a command not found "
do i have to specify a sepecial path in solaris am trying to compile postfix for a mail server
i have used these on linux for long
please give me some examples commands on the console solving that!
thanx
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-23-2007
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
Stumble this Post!
You may try to set the PATH to where make/gmake is installed, something like
Code:
export PATH=$PATH:/usr/bin:/usr/local/bin
Reply With Quote
  #3 (permalink)  
Old 05-23-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Stumble this Post!
also "/usr/ccs/bin"
Reply With Quote
  #4 (permalink)  
Old 05-23-2007
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
Stumble this Post!
The bundled gnu utils are located in /usr/sfw/bin
Reply With Quote
  #5 (permalink)  
Old 05-24-2007
Registered User
 

Join Date: May 2007
Posts: 2
Stumble this Post!
make error corrected!!

thanx guys after exporting /usr/local/bin and the others i managed to use the make and gmake
thanx again for your help
Reply With Quote
  #6 (permalink)  
Old 05-24-2007
Registered User
 

Join Date: May 2007
Posts: 10
Stumble this Post!
please gnu make replace solaris's make
Reply With Quote
  #7 (permalink)  
Old 05-25-2007
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
Stumble this Post!
Quote:
Originally Posted by formyz
please gnu make replace solaris's make
Why?

The make installed by default ( /usr/ccs/make ) is not really used for building software. The one that comes with SunStudio (dmake) is the one that should be used.

The only real reason for using gmake is to compile code which uses gnu makefile which do not always follow proper makefile rules. Often makefiles that require gnu make also require the entire gnu build chain, and these do not comply with standards, where Sun versions do.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:04 PM.


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

Content Relevant URLs by vBSEO 3.2.0