Wie macht man aus tar.gz ein rpm

Zitat von Bâshgob

tar xzvf checkinstall<Version>.tgz
cd checkinstall<Version>
less README
less INSTALL
make
su
make install
checkinstall

Das habe ich so ausgeführt (vorher aber auch schon mal). Deshalb kamm folgende Antwort:
An existing checkinstallrc file has been found.
The one from this distribution can be found at:

/usr/local/lib/checkinstall/checkinstallrc-dist

OK - muss ja noch nichts Negatives heißen. Aber wenn ich dann "checkinstall" eingebe, sagt er, dass er diesen Befehl nicht kenne.
bash: checkinstall: command not found

Kann mir das einer erklären?
 
Liegt vielleicht nicht im Pfad ?

Probier mal /usr/local/sbin/checkinstall (oder /usr/sbin/checkinstall) ...
 
@ ChrisMD: mit nem RPM hab ich es auch schon versucht - leider mit dem gleichen Ergebnis wie oben beschrieben
@ devilz: leider wurde keiner der Pfade gefunden

ÄNDERUNG: Meine angabe war falsch: /usr/local/sbin/checkinstall gibt es. aber er sagt: es ist kein Verzeichnis, wenn ich "cd /usr/local/sbin/checkinstall" eingebe. Was soll ich tun?

Neue Ergebnisse:
MyAspire:/usr/local/lib/checkinstall # /usr/local/sbin/checkinstall

checkinstall 1.6.0, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.

which: no vi in (/usr/local/bin:/usr/bin:/sbin:/usr/X11R6/bin:/usr/sbin:/bin:/u r/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin)

The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: y

Preparing package documentation...OK

*** No known documentation files were found. The new package
*** won't include a documentation directory.

Please choose the packaging method you want to use.
Slackware , RPM [R] or Debian [D]? r


Please write a description for the package.
End your description with an empty line or EOF.
>> checkinstallEOF
>>

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

This package will be built according to these values:

1 - Summary: [ checkinstallEOF ]
2 - Name: [ checkinstall ]
3 - Version: [ 20051222 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ checkinstall ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ checkinstall ]

Enter a number to change any of them or press ENTER to continue:

Installing with make install...

========================= Installation results ===========================
make: *** Keine Regel, um »install« zu erstellen. Schluss.

**** Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

MyAspire:/usr/local/lib/checkinstall # checkinstall
bash: checkinstall: command not found
 
Zuletzt bearbeitet:
Zurück
Oben