Compiling programs & RPM info?

system irrelevant topics

Compiling programs & RPM info?

Postby Z3K3 » 12 Aug 2004, 15:44

Hey all,

I'm looking for some howto's on compiling software from source under YDL. Also, I would be interested to know how RPM's are made so that once I figure out how to compile from source under ppc, I can then create RPMs for distribution?

Thanks,

-- Chris
------------------------------------------------------------------
PowerBook G4 (667Mhz)
YDL 3.0.1
KERNEL 2.4.22-2g
Z3K3
ydl newbie
ydl newbie
 
Posts: 14
Joined: 06 Aug 2004, 21:21
Location: Ontario

Postby kamika » 12 Aug 2004, 17:08

man rpm :D

here is a quick link:
http://erizo.ucdavis.edu/~dmk/notes/RPMs/Creating_RPMs.html

basically it is as always

get source
configure
compile
make rpm

:P
User avatar
kamika
Site Admin
Site Admin
 
Posts: 234
Joined: 22 Jun 2004, 09:13
Location: Saarbruecken, Germany

RPM is your friend...

Postby sloopy » 22 Aug 2004, 22:13

try going to http://www.rpm.org/ and you will find a wealth of info... including a book called 'Maximum RPM' which has just about everything you need to know...

one thing it doesnt tell you is that it is for an older version of rpm (but is still fine... i used it to learn how to make rpms) so the command 'rpm -ba etc' is now 'rpmbuild -ba etc'


sloopy.
sloopy.
sloopy
ydl newbie
ydl newbie
 
Posts: 4
Joined: 24 Jun 2004, 18:01

Postby virgule » 25 Nov 2004, 05:12

I know a one-step-does-it-all way:

as root: rpmbuild -ta filename.tar.gz

The rpm will show up on /usr/src/rpm/RPMS/ppc/
along with the source in /usr/src/rpm/SOURCES/

quite clever.
To Be or Not To Be?? --This is NOT even a question...
User avatar
virgule
ydl addict
ydl addict
 
Posts: 151
Joined: 25 Nov 2004, 02:52
Location: Quebec, Canada ( hey.. its not my fault..ok?)


Return to Off Topic

Who is online

Users browsing this forum: No registered users and 28 guests