Utilisation de checkinstall avec cmake

Demande d'aide : c'est ici.
Répondre
Avatar de l’utilisateur
lol
Site Admin
Site Admin
Messages : 4974
Inscription : 04 avr. 2016, 12:11
Localisation : Madagascar
Status : Hors-ligne

Salut,

J'ai un programme en C++ à installer.
Il faut le compiler de cette façon:

Code : Tout sélectionner

mkdir build
cd build
cmake ..
make
Rien d'extraordinaire. Le bianire est bien créé dans le répertoire build.
Maintenant je souhaite en faire un deb avec checkinstall plutôt que de l'installer avec cmake install (Que je trouve moins propre).

Code : Tout sélectionner

checkinstall cmake .. -P cmake_install.cmake

Code : Tout sélectionner

Installing with cmake .. -P cmake_install.cmake ...

========================= Installation results ===========================
-- Install configuration: ""

======================== Installation successful ==========================
cp: cannot stat '//var/tmp/tmp.gLScjnMlsF/newfiles.tmp': No such file or directory

Some of the files created by the installation are inside the build
directory: /root/Ocelot/build

You probably don't want them to be included in the package,
especially if they are inside your home directory.
Do you want me to list them?  [n]: 
Should I exclude them from the package? (Saying yes is a good idea)  [y]: 
Mais je n'y arrive pas le deb obtenu ne contient pas le binaire...


Et je ne trouve pas de solution à mon problème...
Auriez-vous des idées ? Merci d'avance.
Règles d'usage du forum. Signalez si vous avez posté votre question sur un autre forum. Explications ici
Debian Unstable. Mate/LXQT. Dieu, en créant l'homme, a quelque peu surestimé ses capacités.
Avatar de l’utilisateur
piratebab
Site Admin
Site Admin
Messages : 4962
Inscription : 24 avr. 2016, 18:41
Localisation : sud ouest
Status : En ligne

as tu essayé equivs-build ?
Avatar de l’utilisateur
lol
Site Admin
Site Admin
Messages : 4974
Inscription : 04 avr. 2016, 12:11
Localisation : Madagascar
Status : Hors-ligne

Salut,
piratebab a écrit : 12 nov. 2023, 15:24 as tu essayé equivs-build ?

Non.
Ça fonctionne comment ?
Règles d'usage du forum. Signalez si vous avez posté votre question sur un autre forum. Explications ici
Debian Unstable. Mate/LXQT. Dieu, en créant l'homme, a quelque peu surestimé ses capacités.
Avatar de l’utilisateur
piratebab
Site Admin
Site Admin
Messages : 4962
Inscription : 24 avr. 2016, 18:41
Localisation : sud ouest
Status : En ligne

Code : Tout sélectionner

equivs-build
No control file was specified
Usage: equivs-build [--full|-f] [--source|-s] [--arch=foo|-a=foo] [--templates=bar|-t=bar] controlfile
controlfile is the name of an equivs controlfile.
You can use "equivs-control filename" to create one.

--full      Full build including signing, etc., suitable for upload to Debian
--source    Source build including signing, etc., suitable for upload to a PPA
--arch      Build package for a different architecture.
            Used e.g. for building Hurd packages under Linux.
--templates Build package using alternative templates in the given directory.
            Use with caution, this can break equivs-build.
Avatar de l’utilisateur
lol
Site Admin
Site Admin
Messages : 4974
Inscription : 04 avr. 2016, 12:11
Localisation : Madagascar
Status : Hors-ligne

Merci, je regarde ça.
Règles d'usage du forum. Signalez si vous avez posté votre question sur un autre forum. Explications ici
Debian Unstable. Mate/LXQT. Dieu, en créant l'homme, a quelque peu surestimé ses capacités.
Répondre