The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
Google UNIX.COM


UNIX and Linux Applications Questions involving software not covered by other forum go here. This includes Databases and Middleware.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Compile a code for running on boot d4n1l0d Filesystems, Disks and Memory 2 08-14-2006 11:44 AM
How do I compile source undfer Suse Linux? Mark Ward Linux 3 05-26-2006 10:28 AM
error trying to compile a c++ source file ldrojasm High Level Programming 1 03-05-2002 10:12 AM
Unable to compile ANSI compatible code on HP-UX jyotipg HP-UX 9 10-18-2001 07:02 PM
compile rpm-4.0 source eddie High Level Programming 2 08-28-2001 02:59 PM

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

Join Date: Jan 2008
Posts: 183
How to compile from source code?

Hi all,

I downloaded the source code for a pkg.
But i dont know how to build from it?
I have no prior experience in building from source,so could you pls help me?

I tried ./configure(after entering into the dir containing the src codes)
but it generated some errors!!!!!
Some files .......... no ;gcc not found

This was the o/p i got where many files showed the same o/p...
But i know that gcc comes built in with solaris ,B-79a( /usr/sfw/bin/gcc)..
How to execute using this??
Do i have to pass this as an arg from the command line?

Pls assist!!
Thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-27-2008
Registered User
 

Join Date: May 2008
Posts: 6
Try 'export CC="/usr/sfw/bin/gcc"' before running the compile.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:34 AM.


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