Make: *** Pas de cibles spécifiées et aucun makefile n'a été

J’ai acheté un nouvel onduleur. MGE fournit les sources du soft pour l’onduleur.
J’ai voulu installer les sources en suivant : forum.debian-fr.org/viewtopic.ph … ht=sources
Mais au “make clean” j’ai le message:

[code]capucine@capucine:~/nouveau dossier/mgeups-psp-3.0.1$ ./configure
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
/home/capucine/nouveau: /home/capucine/nouveau: No such file or directory
configure: WARNING: `missing’ script is too old or missing
checking for gawk… no
checking for mawk… mawk
checking whether make sets $(MAKE)… yes
checking for style of include used by make… GNU
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ANSI C… none needed
checking dependency style of gcc… gcc3
checking for library containing strerror… none required
checking for gcc… (cached) gcc
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for gcc option to accept ANSI C… (cached) none needed
checking dependency style of gcc… (cached) gcc3
checking for gcc… (cached) gcc
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for gcc option to accept ANSI C… (cached) none needed
checking dependency style of gcc… (cached) gcc3
checking how to run the C preprocessor… gcc -E
checking for egrep… grep -E
checking for ANSI C header files… yes
checking how to run the C preprocessor… gcc -E
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking dependency style of g++… gcc3
checking how to run the C++ preprocessor… g++ -E
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for a sed that does not truncate output… /bin/sed
checking for ld used by gcc… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for /usr/bin/ld option to reload object files… -r
checking for BSD-compatible nm… /usr/bin/nm -B
checking whether ln -s works… yes
checking how to recognise dependent libraries… pass_all
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking dlfcn.h usability… yes
checking dlfcn.h presence… yes
checking for dlfcn.h… yes
checking for g77… no
checking for f77… no
checking for xlf… no
checking for frt… no
checking for pgf77… no
checking for fort77… no
checking for fl32… no
checking for af77… no
checking for f90… no
checking for xlf90… no
checking for pgf90… no
checking for epcf90… no
checking for f95… no
checking for fort… no
checking for xlf95… no
checking for ifc… no
checking for efc… no
checking for pgf95… no
checking for lf95… no
checking for gfortran… no
checking whether we are using the GNU Fortran 77 compiler… no
checking whether accepts -g… no
checking the maximum length of command line arguments… 32768
checking command to parse /usr/bin/nm -B output from gcc object… ok
checking for objdir… .libs
checking for ar… ar
checking for ranlib… ranlib
checking for strip… strip
checking if gcc static flag works… yes
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC
checking if gcc PIC flag -fPIC works… yes
checking if gcc supports -c -o file.o… yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
configure: creating libtool
appending configuration tag “CXX” to libtool
checking for ld used by g++… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries… yes
checking for g++ option to produce PIC… -fPIC
checking if g++ PIC flag -fPIC works… yes
checking if g++ supports -c -o file.o… yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries… yes
checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
appending configuration tag “F77” to libtool
checking locale.h usability… yes
checking locale.h presence… yes
checking for locale.h… yes
checking for LC_MESSAGES… yes
checking libintl.h usability… yes
checking libintl.h presence… yes
checking for libintl.h… yes
checking for ngettext in libc… yes
checking for dgettext in libc… yes
checking for bind_textdomain_codeset… yes
checking for msgfmt… /usr/bin/msgfmt
checking for dcgettext… yes
checking for gmsgfmt… /usr/bin/msgfmt
checking for xgettext… /usr/bin/xgettext
checking for catalogs to be installed… fr
checking whether NLS is requested… yes
checking for msgfmt… (cached) /usr/bin/msgfmt
checking for gmsgfmt… (cached) /usr/bin/msgfmt
checking for xgettext… (cached) /usr/bin/xgettext
checking for msgmerge… /usr/bin/msgmerge
checking for ld used by GCC… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for shared library run path origin… done
checking for CFPreferencesCopyAppValue… no
checking for CFLocaleCopyCurrent… no
checking whether NLS is requested… yes
checking for GNU gettext in libc… yes
checking whether to use NLS… yes
checking where the gettext function comes from… libc
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for NUT… configure: error: Package requirements (libupsclient >= 2.0.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the NUT_CFLAGS and NUT_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
capucine@capucine:~/nouveau dossier/mgeups-psp-3.0.1$ make
make: *** Pas de cibles spécifiées et aucun makefile n’a été trouvé. Arrêt.
capucine@capucine:~/nouveau dossier/mgeups-psp-3.0.1$ ls
ABOUT-NLS config.guess configure.in libtool mkinstalldirs scripts
acconfig.h config.h.in COPYING ltmain.sh NEWS src
aclocal.m4 config.log depcomp Makefile.am packaging TODO
AUTHORS config.rpath doc Makefile.in pixmaps
ChangeLog config.sub INSTALL man po
CHANGES configure install-sh missing README
capucine@capucine:~/nouveau dossier/mgeups-psp-3.0.1$

[/code]

Je pense que le sujet a déjà été traité, mais mes premières recherches n’ont rien données.
Je continue mais si vous avez une idée… Merci.

salut capucine,
tu devrais pas faire un ./configure dans ce repertoire avant make ? :confused:

Si, mais c’est fait regardes en debut de script.

[quote]checking for NUT… configure: error: Package requirements (libupsclient >= 2.0.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
[/quote]

Voilà voilà, donc

s$ apt-file search libupscl
nut-dev: bin/libupsclient-config
nut-dev: usr/lib/libupsclient.a
nut-dev: usr/lib/pkgconfig/libupsclient.pc

donc

apt-get install nut-dev

C’est tout :slightly_smiling:

Merci, mais quelle est donc cette commande?

capucine@capucine:~$ apt-file search libupscl bash: apt-file: command not found capucine@capucine:~$

:slightly_smiling: Si on ne joue pas avec les mêmes règles…

apt-get install apt-file…

checking for GTKMM... configure: error: Package requirements (gtkmm-2.4 >= 2.4.5) were not met. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

capucine@capucine:~$ apt-file search gtkmm capucine@capucine:~$ apt-file search gtk capucine@capucine:~$ apt-file search GTKMM capucine@capucine:~$

:cry:

J’ai du rater un truc!

lol on pourrait dire, il faut varier:

$ apt-cache search gtkmm
efax-gtk - front end in Gtk+/Gtkmm for the efax program
libbakery-2.3-9 - A C++ Application Framework (shared libraries)
libbakery-2.3-common - A C++ Application Framework (common files)
libbakery-2.3-dev - A C++ Application Framework (development files)
libbakery-gnomeui2.0-1 - A C++ Application Framework for GNOME (shared libraries)
libbakery-gnomeui2.0-dev - A C++ Application Framework for GNOME (development files)
libbakery2.0-1 - A C++ Application Framework (shared libraries)
libbakery2.0-dev - A C++ Application Framework (development files)
libgtkextramm-dev - Static library and header files of GtkExtramm
libgtkextramm0.9-12 - Shared library of GtkExtramm
libgtkmm-2.4-1 - C++ wrappers for GTK+ 2.4 (shared libraries)
libgtkmm-2.4-dev - C++ wrappers for GTK+ 2.4 (development files)
libgtkmm-2.4-doc - C++ wrappers for GTK+ 2.4 (documentation)
libgtkmm-dev - C++ wrapper for GTK+ 1.2 (development files)
libgtkmm-doc - C++ wrapper for GTK+ 1.2 (documentation)
libgtkmm1.2-0 - C++ wrappers for GTK+ 1.2 (shared libraries)
libgtkmm2.0-1c102 - C++ wrappers for GTK+ 2.0 (shared libraries)
libgtkmm2.0-dev - C++ wrappers for GTK+ 2.0 (development files)
libgtkmm2.0-doc - C++ wrappers for GTK+ 2.0 (documentation)
libgtkmmext0 - library of useful new C++ and C widgets for gtkmm users
libgtkmmext0-dev - libgtkmmext development files
lostirc - simple IRC client for X11

apt-get install libgtkmm-2.4-dev

voilà voilà :smiley:
[ remarque, il semble qu’il faille la version 2.4.5 ou plus, là c’est 2.4.1 sur sarge => backport à envisager…]

bon c’est passé en installant libgtkmm-dev.
Maintenant:

checking for libusb... configure: error: not found

J’ai voulu installer libusb-dev mais impossible car il dépend de libusb et la version installée de libusb est plus récente…

Ah… D’où vient ton libusb, il doit y avoir le libusb-dev correspondant…
apt-cache policy libusb

capucine@capucine:~$ apt-cache policy libusb W: Impossible de trouver le paquet libusb capucine@capucine:~$

J’avais joué (et j’avais perdu :frowning: ) avec le fichier préferences. J’ai peut être une version qui provient d’un backport. Pourtant j’avais fait un dist-upgrade…

Je t’ai fait rapidement un petit backport de libusb d’unstable, auparavant reconstitue tes paquets avec dpkg-repack puis utilises

deb boisson.homeip.net/sarge/libusb/ ./

Tu fais un apt-get update et un apt-get install libusb-dev mais sauvegarde avant…

PS: backport de unstable

Merci beaucoup! :smiley: :smiley: :smiley:
Je suis à la bourre, je vois cela demain.
Est-ce que je nepeux pas plutot récuperer mon libusb sarge via un parametrage de préferences?

Qu’est-ce que tu veux dire par la?

En bref

[code]rancois@totoche:~$ apt-cache policy libusb-0.1-4
libusb-0.1-4:
Installé : 2:0.1.10a-9
Candidat : 2:0.1.10a-9.sarge.1
Table de version :
2:0.1.10a-9.sarge.1 0
500 ftp://ftp2.fr.debian.org sarge/main Packages
*** 2:0.1.10a-9 0
100 /var/lib/dpkg/status
francois@totoche:/tmp$ fakeroot dpkg-repack libusb-0.1-4
dpkg-deb : construction du paquet « libusb-0.1-4 » dans « ./libusb-0.1-4_0.1.10a-9_i386.deb ».
francois@totoche:/tmp$ ls -l libusb-0.1-4_0.1.10a-9_i386.deb
-rw-r–r-- 1 francois francois 21932 2006-05-20 19:37 libusb-0.1-4_0.1.10a-9_i386.deb
francois@totoche:/tmp$

[/code]

OK J’ai repacker libusb. La version que j’avais provenait de debian volatile. C’est un dépot que m’a donné Mat avec 1002 pour un dépannage. C’est quoi comme dépot? Bref je l’ai repassé à 990 et j’ai mis 1002 sur ftp2 debian sarge. Est-ce que je dois charger l’officiel ou ai-je un interet particulier à charger ton backport?

Essayes l’officiel, le backport n’a un intérêt que si la version que tu as es supérieur à celle de l’officiel…


C'est la cas!

Mais dans ce cas c'est donc je pense que c'est libusb-dev pour lequel il me faut un backport, afin que le coupel libusb / libusb-dev soit coherent. Cela veut dire que je vais m'éloigner encore plus de la version stable. 

Je prefererais donc reinstaller le libusb officiel mais cela à l'air déconseillé dans le man de apt-preferences. Est-ce que tu penses que je peux tenter cette manip ou que c'est peut prudent?

C’est la cas!

Mais dans ce cas c’est donc je pense que c’est libusb-dev pour lequel il me faut un backport, afin que le coupel libusb / libusb-dev soit coherent. Cela veut dire que je vais m’éloigner encore plus de la version stable.

Je prefererais donc reinstaller le libusb officiel mais cela à l’air déconseillé dans le man de apt-preferences. Est-ce que tu penses que je peux tenter cette manip ou que c’est peut prudent?

Quelle est ta version?

libusb-0.1-4 2:0.1.10a-21
libusb-dev et les libusb++ ne sont pas encore installées. Depusi que j’ai modifié mon “preferences” je peux installer la version sarge de debian qui est la libusb-0.1-4 2:0.1.10a-9

Tu auras ton bonheur ici:

snapshot.debian.net/archive/2005 … bu/libusb/