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
Makefile help tantric High Level Programming 4 04-13-2007 01:35 AM
Makefile NamrataGurav High Level Programming 7 10-07-2006 02:29 PM
about the makefile ligerdave High Level Programming 2 01-31-2006 01:21 AM
Using cut within makefile wvdeijk UNIX for Dummies Questions & Answers 2 12-14-2005 05:11 PM
makefile help pieter023 Shell Programming and Scripting 1 06-06-2005 01:20 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 02-17-2005
ECBROWN ECBROWN is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 40
makefile

I'm new to the admin world, and I'm trying to install the GNU C Compiler to work on my project.

I got the source code, and was able to configure it. Most of the info I've read tells me the next step is to run a command called "make". when I run it, I get a "command not found" message. I've looked around, and found make in my binaries (I believe it's in usr/ccs/bin, not sure...). The man page even works. There is a makefile.in file in the target folder as well. Do I need to add something to my command path to make it work? Thanks.

BTW, I'm running SunOS 5.9, Sun Blade 2000.


ECB
  #2 (permalink)  
Old 02-17-2005
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
Make sure the path to "make" is in your path ($PATH). For make to work, a Makefile is needed. Makefile.in is used to construct the final Makefile, usually through a "configure" script. If there is no Makefile, usually you need to do the configure step, or similar operations to generate the Makefile first.
  #3 (permalink)  
Old 02-17-2005
ECBROWN ECBROWN is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 40
Thanks cbi. I erred in my last message. there's just a makefile in the folder. Seemed to be going along fine when I got a "command failed for target libiberty.a' error message. I'm looking that one up now.
  #4 (permalink)  
Old 02-17-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
Bear in mind that you could just download a pre-built version of gcc from http://www.sunfreeware.com and have it running in 5 minutes.
  #5 (permalink)  
Old 02-17-2005
ECBROWN ECBROWN is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 40
I tried that. Did a pkgadd -d to intall it, then made sure it was there with pkginfo. Couldn't configure any projects, so I got the source. Any suggestions?
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 09:33 AM.


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