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.
|
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] |
Quote:
|
Quote:
Enjoy! --- Cerbere |
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: |
Quote:
|
All times are GMT -5. The time now is 01:56 PM. |