DEB-File erstellen statt make install

FatManStanding

Lt. Junior Grade
Registriert
Aug. 2021
Beiträge
458
Hallo,

ich versuche gerade das Tool 'nchat' zu kompilieren wie hier https://github.com/d99kris/nchat beschrieben, was bisher gut funktioniert. Build lief sauber durch. Jetzt müsste ich das ganze mit

Code:
sudo make install

Installieren. Ich kenne es so, dass man beim klassischen Dreisatz aus

Code:
./configure
make
make install

einfach

Code:
./configure
make
make checkinstall

nimmt. Checkinstall erstellt dann eine installierbare *.deb.

Hier gibt es aber diesen Dreisatz nicht. Wenn ich stattdessen

Code:
sudo make checkinstall

ausführe kommt

make: *** Keine Regel, um „checkinstall“ zu erstellen. Schluss.

Wie müsste ich hier vorgehen um eine DEB zu erstellen?
 
Google "make install create deb", erster Hit.

sudo checkinstall (kein zusätzliches "make") statt sudo make install
 
Scheint er dann dennoch machen zu wollen:

Installing with make install...

====================== Installations-Ergebnisse ==========================
make: *** Keine Regel, um „install“ zu erstellen. Schluss.

**** Installation fehlgeschlagen. Breche Paket-Erzeugung ab.
 
FatManStanding schrieb:
Jetzt müsste ich das ganze mit

Code:
sudo make install

Installieren.
Warum machst du es nicht so? :D Genau so steht es doch auch im Github in der Anleitung.

EDIT: Bzw. wofür wird denn die .DEB benötigt? make install installiert doch automatisch.
 
Weil ich nichts an der Paketverwaltung vorbei installieren will. Sowas macht irgendwann immer Probleme.
 
Wenn du nach /usr/local installierst, kommen sich Systempakete und selbstkompiliertes Zeugs nicht ins Gehege, die Installationsroutine von nchat macht das automatisch so:
> sudo make install [sudo] Passwort für root: [ 1%] Built target clip [ 5%] Built target ncutil [ 11%] Built target nchat [ 11%] Built target duchat [ 14%] Built target tdtl [ 15%] Built target generate_common [ 15%] Built target tl-parser [ 15%] Generate TLO files [ 15%] Built target tl_generate_tlo [ 15%] Generate common TL source files [ 15%] Built target tl_generate_common [ 15%] Built target generate_mime_types_gperf [ 16%] Built target tdmime_auto [ 33%] Built target tdutils [ 35%] Built target tdapi [ 35%] Built target tdsqlite [ 36%] Built target tdactor [ 40%] Built target tddb [ 45%] Built target tdnet [ 98%] Built target tdcore [ 98%] Built target tdclientshared [100%] Built target tgchat Install the project... -- Install configuration: "Release" -- Installing: /usr/local/bin/nchat -- Set runtime path of "/usr/local/bin/nchat" to "/usr/local/lib" -- Installing: /usr/local/lib/libncutil.so -- Set runtime path of "/usr/local/lib/libncutil.so" to "/usr/local/lib" -- Installing: /usr/local/lib/libduchat.so -- Set runtime path of "/usr/local/lib/libduchat.so" to "/usr/local/lib" -- Installing: /usr/local/lib/libtgchat.so -- Set runtime path of "/usr/local/lib/libtgchat.so" to "/usr/local/lib" -- Installing: /usr/local/lib/libtdclientshared.so -- Installing: /usr/local/man/man1/nchat.1 -- Installing: /usr/local/share/nchat/themes/default/color.conf -- Installing: /usr/local/share/nchat/themes/basic-color/color.conf -- Installing: /usr/local/share/nchat/themes/basic-color/usercolor.conf -- Installing: /usr/local/share/nchat/themes/dracula/color.conf -- Installing: /usr/local/share/nchat/themes/dracula/usercolor.conf -- Installing: /usr/local/share/nchat/themes/catppuccin-mocha/color.conf -- Installing: /usr/local/share/nchat/themes/catppuccin-mocha/usercolor.conf -- Installing: /usr/local/share/nchat/themes/espresso/color.conf -- Installing: /usr/local/share/nchat/themes/espresso/usercolor.conf -- Installing: /usr/local/share/nchat/themes/gruvbox-dark/color.conf -- Installing: /usr/local/share/nchat/themes/gruvbox-dark/usercolor.conf -- Installing: /usr/local/share/nchat/themes/solarized-dark-higher-contrast/color.conf -- Installing: /usr/local/share/nchat/themes/solarized-dark-higher-contrast/usercolor.conf -- Installing: /usr/local/share/nchat/themes/tokyo-night/color.conf -- Installing: /usr/local/share/nchat/themes/tokyo-night/usercolor.conf -- Installing: /usr/local/share/nchat/themes/tomorrow-night/color.conf -- Installing: /usr/local/share/nchat/themes/tomorrow-night/usercolor.conf -- Installing: /usr/local/share/nchat/themes/zenbones-dark/color.conf -- Installing: /usr/local/share/nchat/themes/zenbones-dark/usercolor.conf -- Installing: /usr/local/share/nchat/themes/zenburned/color.conf -- Installing: /usr/local/share/nchat/themes/zenburned/usercolor.conf

Deinstallation mittels sudo make uninstall funktioniert hier auch.
 
Zurück
Oben