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 > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to compile from source code? wrapster UNIX and Linux Applications 1 05-27-2008 05:03 PM
Compile gcc on AIX 5.2 untamed AIX 7 01-31-2008 05:21 AM
How do I compile source undfer Suse Linux? Mark Ward SuSE 3 05-26-2006 02:28 PM
¿compile .ksh? DebianJ Shell Programming and Scripting 1 05-09-2005 05:33 PM
error trying to compile a c++ source file ldrojasm High Level Programming 1 03-05-2002 02:12 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-27-2001
eddie eddie is offline
Registered User
  
 

Join Date: Aug 2001
Location: Ontario, Canada
Posts: 20
Wink compile rpm-4.0 source

Hello Unix experts,

I downloaded rpm-4.0 source from ftp.redhat.com and tried to make it. There are something I could not understand.

- Makefile.in and Makefile.am instead of Makefile
- file INSTALL doesn't show clearly the steps of compiling

What are these 2 files, Makefile.in and Makefile.am? What are they for?

Is there anyone who has experience of compiling rpm-4.0 source code? I'd like you to give me some tips.

I am using Red Hat Linux 6.0, kernel-2.2.5-15.i586.

Thanks!

Eddie



Last edited by eddie; 08-28-2001 at 12:25 AM..
  #2 (permalink)  
Old 08-28-2001
LivinFree's Avatar
LivinFree LivinFree is offline Forum Advisor  
Goober Extraordinaire
  
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584

After you read the README and INSTALL files, look for a file called configure. If that exists, run it: ./configure.

You may need to edit the Makefile later on to reflect your system, but that will require more specific steps.

Once configure has run (if it exists), simply type make. Some times there is an option to make install - that will place the binaries where the author thought they should go.

These steps will not cover every complilation, but it should give you the basic steps for most of them.

HTH, HAND
  #3 (permalink)  
Old 08-28-2001
eddie eddie is offline
Registered User
  
 

Join Date: Aug 2001
Location: Ontario, Canada
Posts: 20
I tried it.
run ./confugure seems OK, but installation still failed. I know that I need to install other updated packages wanted by rpm-4.0.x after I read file INSTALL very carefully. Thank you, LivinFree.
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:14 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