Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 02/01/2006, à 01:28

bishop

.deb crée avec checkinstall

Peut-on partager, proposer à l' installation un .deb crée avec checkinstall?

Je sais que ce n' est pas la méthode officielle pour créer un .deb et qu' une procédure existe.
Mais l' on me demande si cela est possible et je ne sais que répondre.

Pourquoi cette question?
J' ai compilé et installé un outil de recherche interne "Find++ 1.4.2" car l' outil par défaut ne me convenait pas.
Au lieu de faire un make install, j' ai fait un checkinstall. C' est plus propre pour désinstaller.

Ma config est en i386, est-ce que ce deb peut être installer sur une autre config en i386 en utilisant la commande:
$ sudo dpkg -i le.deb
???

Infos sur la compil:

Installer slocate
$ sudo apt-get install slocate

$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... /usr/bin/gcc-3.4
checking whether the C compiler (/usr/bin/gcc-3.4  ) works... yes
checking whether the C compiler (/usr/bin/gcc-3.4  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether /usr/bin/gcc-3.4 accepts -g... yes
checking for POSIXized ISC... no
checking for gcc... (cached) /usr/bin/gcc-3.4
checking whether the C compiler (/usr/bin/gcc-3.4 -g -O2 ) works... yes
checking whether the C compiler (/usr/bin/gcc-3.4 -g -O2 ) is a cross-compiler.. . no
checking whether we are using GNU C... (cached) yes
checking whether /usr/bin/gcc-3.4 accepts -g... (cached) yes
checking for /usr/bin/gcc-3.4 option to accept ANSI C... none needed
checking how to run the C preprocessor... /usr/bin/gcc-3.4 -E
checking for ANSI C header files... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for ranlib... ranlib
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating intl/Makefile
creating po/Makefile.in
creating config.h


$ make
make  all-recursive
make[1]: entrant dans le répertoire « /home/bishop/find++-1.4.2 »
Making all in intl
make[2]: entrant dans le répertoire « /home/bishop/find++-1.4.2/intl »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/bishop/find++-1.4.2/intl »
Making all in po
make[2]: entrant dans le répertoire « /home/bishop/find++-1.4.2/po »
make[2]: quittant le répertoire « /home/bishop/find++-1.4.2/po »
Making all in src
make[2]: entrant dans le répertoire « /home/bishop/find++-1.4.2/src »
/usr/bin/gcc-3.4 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl         -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include    -g -O2 -Wall -c main.c
/usr/bin/gcc-3.4 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl         -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include    -g -O2 -Wall -c support.c
/usr/bin/gcc-3.4 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl         -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include    -g -O2 -Wall -c interface.c
/usr/bin/gcc-3.4 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl         -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include    -g -O2 -Wall -c callbacks.c
callbacks.c:52: attention : « useFind » défini mais n'a pas été utilisé
/usr/bin/gcc-3.4 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl         -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include    -g -O2 -Wall -c configfile.c
/usr/bin/gcc-3.4  -g -O2 -Wall  -o find++  main.o support.o interface.o callbacks.o configfile.o -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
make[2]: quittant le répertoire « /home/bishop/find++-1.4.2/src »
make[2]: entrant dans le répertoire « /home/bishop/find++-1.4.2 »
make[2]: quittant le répertoire « /home/bishop/find++-1.4.2 »
make[1]: quittant le répertoire « /home/bishop/find++-1.4.2 »


$ sudo checkinstall
Password:

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


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

Preparing package documentation...OK

Installing with "make install"...

========================= Installation results ===========================

Copying documentation directory...
Making install in intl
make[1]: entrant dans le répertoire « /home/bishop/find++-1.4.2/intl »
if test "find++" = "gettext" \
   && test '' = 'intl-compat.o'; then \
  if test -r ./mkinstalldirs; then \
    ./mkinstalldirs /usr/local/lib /usr/local/include; \
  else \
    ../mkinstalldirs /usr/local/lib /usr/local/include; \
  fi; \
  /usr/bin/install -c -m 644 intlh.inst /usr/local/include/libintl.h; \
  /usr/bin/install -c -m 644 libintl.a /usr/local/lib/libintl.a; \
else \
  : ; \
fi
if test "find++" = "gettext"; then \
  if test -r ./mkinstalldirs; then \
    ./mkinstalldirs /usr/local/share/gettext/intl; \
  else \
    ../mkinstalldirs /usr/local/share/gettext/intl; \
  fi; \
  /usr/bin/install -c -m 644 VERSION /usr/local/share/gettext/intl/VERSION; \
  dists="ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in xopen-msg.sed gettext.h gettextP.h hash-string.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c intl-compat.c cat-compat.c"; \
  for file in $dists; do \
    /usr/bin/install -c -m 644 ./$file /usr/local/share/gettext/intl/$file; \
  done; \
else \
  : ; \
fi
make[1]: quittant le répertoire « /home/bishop/find++-1.4.2/intl »
Making install in po
make[1]: entrant dans le répertoire « /home/bishop/find++-1.4.2/po »
if test -r ".././mkinstalldirs"; then \
  .././mkinstalldirs /usr/local/share; \
else \
  /bin/sh ../mkinstalldirs /usr/local/share; \
fi
if test "find++" = "gettext"; then \
  if test -r ".././mkinstalldirs"; then \
    .././mkinstalldirs /usr/local/share/gettext/po; \
  else \
    /bin/sh ../mkinstalldirs /usr/local/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ./Makefile.in.in \
                  /usr/local/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[1]: quittant le répertoire « /home/bishop/find++-1.4.2/po »
Making install in src
make[1]: entrant dans le répertoire « /home/bishop/find++-1.4.2/src »
make[2]: entrant dans le répertoire « /home/bishop/find++-1.4.2/src »
/bin/sh ../mkinstalldirs /usr/local/bin
  /usr/bin/install -c  find++ /usr/local/bin/find++
make[2]: Rien à faire pour « install-data-am ».
make[2]: quittant le répertoire « /home/bishop/find++-1.4.2/src »
make[1]: quittant le répertoire « /home/bishop/find++-1.4.2/src »
make[1]: entrant dans le répertoire « /home/bishop/find++-1.4.2 »
make[2]: entrant dans le répertoire « /home/bishop/find++-1.4.2 »
make[2]: Rien à faire pour « install-exec-am ».
if test -d ./pixmaps; then \
  /bin/sh ./mkinstalldirs /usr/local/share/find++/pixmaps; \
  for pixmap in ./pixmaps/*; do \
    if test -f $pixmap; then \
      /usr/bin/install -c -m 644 $pixmap /usr/local/share/find++/pixmaps; \
    fi \
  done \
fi; \
/usr/bin/install -c -m 644 .findpp /usr/local/share/find++
mkdir -p -- /usr/local/share/find++/pixmaps
make[2]: quittant le répertoire « /home/bishop/find++-1.4.2 »
make[1]: quittant le répertoire « /home/bishop/find++-1.4.2 »

======================== Installation succesful ==========================

Copying files to the temporary directory...OK

Striping ELF binaries and libraries...OK

Compressing man pages...OK

Building file list...OK


Please write a description for the package.
End your description with an empty line or EOF.
>> Find++ is a small but very useful tool to find files on your system
>>

*** Warning: The package name "find++-1.4.2" contains upper case
*** Warning: letters. dpkg might not like that so I changed
*** Warning: them to lower case.

This package will be built according to these values:

0 -  Maintainer: [ toto ]
1 -  Summary: [ Find++ is a small but very useful tool to find files on your system ]
2 -  Name:    [ find++-1.4.2 ]
3 -  Version: [ 1.4.2 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ i386 ]
8 -  Source location: [ find++-1.4.2 ]
9 -  Alternate source location: [  ]

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

*****************************************
**** Debian package creation selected ***
*****************************************

Building Debian package...OK

Installing Debian package...OK

Erasing temporary files...OK

Deleting temp dir...OK


**********************************************************************

 Done. The new package has been installed and saved to
 /home/bishop/find++-1.4.2/find++-1.4.2_1.4.2-1_i386.deb

 You can remove it from your system anytime using:

      dpkg -r find++-1.4.2

**********************************************************************

Les fichiers installés sont:
/.
/usr
/usr/local
/usr/local/bin
/usr/local/bin/find++
/usr/local/share
/usr/local/share/find++
/usr/local/share/find++/.findpp
/usr/local/share/find++/pixmaps
/usr/local/share/find++/pixmaps/icon.xpm
/usr/local/share/find++/pixmaps/logo.xpm
/usr/share
/usr/share/doc
/usr/share/doc/find++-1.4.2
/usr/share/doc/find++-1.4.2/ABOUT-NLS
/usr/share/doc/find++-1.4.2/AUTHORS
/usr/share/doc/find++-1.4.2/ChangeLog
/usr/share/doc/find++-1.4.2/COPYING
/usr/share/doc/find++-1.4.2/INSTALL
/usr/share/doc/find++-1.4.2/NEWS
/usr/share/doc/find++-1.4.2/README


Dépendances: aucunes

Dernière modification par bishop (Le 02/01/2006, à 01:29)


La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne