LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2004, 10:03 PM   #1
webazoid
Member
 
Registered: Jun 2004
Posts: 224

Rep: Reputation: 30
how do i make an rpm?


after compiling apps, how can i make an rpm out of them so i don't have to compile them again the next time i install them (i.e. after a new install). also, how do i unistally apps create by the ./configure, make, make install commands? thansk.
 
Old 07-11-2004, 10:38 PM   #2
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Try checkinstall. It replaces the 'make install' step when compiling from source, and it creates an RPM (or Slack *.tgz or Debian *.deb) package for you.

Enjoy!
--- Cerbere

[edit] For packages that have been installed from source, the usual method to uninstall is with the command 'make uninstall' from the original source directory. What, you deleted the original source directory? Get checkinstall. [/edit]

Last edited by Cerbere; 07-11-2004 at 10:45 PM.
 
Old 07-11-2004, 10:45 PM   #3
eisman
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Sidux , Debian, Haiku, PC-BSD, CentOS --> XenExpress
Posts: 77

Rep: Reputation: 16
Quote:
Originally posted by Cerbere
Try checkinstall. It replaces the 'make install' step when compiling from source, and it creates an RPM (or Slack *.tgz or Debian *.deb) package for you.
That is correct, but you must add an option to save the rpm, else its gone again.
 
Old 07-12-2004, 12:48 AM   #4
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Quote:
Originally posted by eisman
That is correct, but you must add an option to save the rpm, else its gone again.
Not with any of the versions I've used. The package has always been created and put in the source directory, so all you have to do is move it somewhere before you delete the directory.

Enjoy!
--- Cerbere
 
Old 07-12-2004, 07:27 PM   #5
webazoid
Member
 
Registered: Jun 2004
Posts: 224

Original Poster
Rep: Reputation: 30
are there any alternative programs? how do sites like sourceforge and programs like gaim build rpm's? checkinstall? i'm using mdk 10. is this program 'common' software? i woulnd't use it if it's sketchy/buggy and may adversely affect my system/future installations. thanks.



Copying files to the temporary directory...OK

Striping ELF binaries and libraries...OK

Compressing man pages...OK

Building file list...OK


**************************************
**** RPM package creation selected ***
**************************************

Building RPM package... FAILED!

*** Failed to build the package


========
opening up the error log:



Building target platforms: i386
Building for target i386
Processing files: atk-1.6.0-1
Finding Provides: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-provides
Using BuildRoot: /home/backup/gtk/atk-1.6.0/buildroot to search libs
Finding Requires: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-requires /home/backup/gtk/atk-1.6.0/buildroot i386
Provides: atk libatk-1.0.so.0 devel(libatk-1.0)
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileN
ames) <= 3.0.4-1
Requires(post): /bin/sh
Requires: /bin/sh libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.
6(GLIBC_2.2) libdl.so.2 libglib-2.0.so.0 libgmodule-2.0.so.0 libgobject-2.0.so.0
devel(libdl) devel(libglib-2.0) devel(libgmodule-2.0) devel(libgobject-2.0)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/backup/gtk/
atk-1.6.0/buildroot
error: Installed (but unpackaged) file(s) found:



RPM build errors:
Installed (but unpackaged) file(s) found:

Last edited by webazoid; 07-12-2004 at 07:46 PM.
 
Old 08-07-2004, 02:09 AM   #6
eisman
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Sidux , Debian, Haiku, PC-BSD, CentOS --> XenExpress
Posts: 77

Rep: Reputation: 16
Quote:
Originally posted by Cerbere
Not with any of the versions I've used. The package has always been created and put in the source directory, so all you have to do is move it somewhere before you delete the directory.

Enjoy!
--- Cerbere
Hmmm thanks for the information, I'll have to look into this then.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM vs Make Install help agtlewis Linux - Software 4 11-17-2005 01:59 PM
how do I make a binary rpm from a source rpm darkone66669 Linux - Software 3 01-11-2005 10:42 AM
How do you make a RPM? aaronruss Linux - Newbie 2 06-08-2004 10:57 PM
trying to make rpm 2.6.0 kernel illtbagu Linux - Software 0 12-27-2003 03:01 AM
make rpm kernel 2.6.0 illtbagu Linux - Software 4 12-24-2003 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration