#26 Le 05/10/2010, à 00:19
- slasher-fun
Re : error et un grand probleme quand j'essaye d'installer GTK+
$ apt-file search gtk/gtk.h
libgtk2.0-dev: /usr/include/gtk-2.0/gtk/gtk.h
Hors ligne
#27 Le 05/10/2010, à 00:23
- farouk2506
Re : error et un grand probleme quand j'essaye d'installer GTK+
ok merci slusher-fun
meme le apt-file n'est pas installé!:rolleyes:alors je te reponds demain, merci pour la reponse
Hors ligne
#28 Le 05/10/2010, à 00:37
- slasher-fun
Re : error et un grand probleme quand j'essaye d'installer GTK+
Mais y'a pas besoin de l'installer puisque je te montre ce qu'il retourne firouk2506
Hors ligne
#29 Le 05/10/2010, à 00:40
- farouk2506
Re : error et un grand probleme quand j'essaye d'installer GTK+
justement, y a pas le répértoir gtk-2.0 dans /usr/include:)
Hors ligne
#30 Le 05/10/2010, à 01:11
- slasher-fun
Re : error et un grand probleme quand j'essaye d'installer GTK+
Bah non puisque tu n'as pas installé libgtk2.0-dev
Hors ligne
#31 Le 05/10/2010, à 01:32
- farouk2506
Re : error et un grand probleme quand j'essaye d'installer GTK+
voila ce que j'ai eu
# apt-file search gtk/gtk.h
libgfcui-dev: /usr/include/gfc-2.0/gfc/gtk/gtk.hh
libgtk2.0-dev: /usr/include/gtk-2.0/gtk/gtk.h
libgtk2.0-doc: /usr/share/doc/libgtk2.0-doc/gtk/gtk.html
lsb-build-desktop3: /usr/include/lsb3/gtk-2.0/gtk/gtk.h
puis
gcc base.c -o base `pkg-config --cflags --libs gtk+-2.0`Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
base.c:1:21: error: gtk/gtk.h: Aucun fichier ou dossier de ce type
base.c: In function ‘main’:
base.c:5: error: ‘GtkWidget’ undeclared (first use in this function)
base.c:5: error: (Each undeclared identifier is reported only once
base.c:5: error: for each function it appears in.)
base.c:5: error: ‘window’ undeclared (first use in this function)
base.c:7: error: ‘GTK_WINDOW_TOPLEVEL’ undeclared (first use in this function)
et voila la valeur de PKG_CONFIG_PATH
echo $PKG_CONFIG_PATH
/usr/local/openrobots/lib/pkgconfig:/usr/include
excuse moi mais je suis unvrais débutant
Hors ligne
#32 Le 05/10/2010, à 01:42
- farouk2506
Re : error et un grand probleme quand j'essaye d'installer GTK+
c'est bon slusher-fun
j'ai installer libgtk2.0-dev et ça marche.Merci
Hors ligne
#33 Le 06/10/2010, à 12:31
- farouk2506
Re : error et un grand probleme quand j'essaye d'installer GTK+
bonjour encors une fois slusher-fun,
je sais que je t'embête mais j'ai posé la question ailleur mais personne ne m'a répondu.
toujours avec le même logiciel, il exige une bibliothèques pocolibs, je l'ai installé,tous se déroule le plus normal, seulement, apres faire
./configure --prefix=$OPENROBOTS
ça passe mais au milieux, j'ai eu:
............................
config.status: creating Init.make
config.status: WARNING: 'Init.make.in' seems to ignore the --datarootdir setting
...................
le make et le make install normal, puisque c'est juste un warnning;
mais quand je viends à installer le logiciel, ./configure --prefix=$OPENROBOTS
ça passe normal, mais
root@farouk-laptop:~/genom-2.6# make
CONFIG_FILES= CONFIG_HEADERS=genom-config.h ./config.status
config.status: creating genom-config.h
config.status: genom-config.h is unchanged
config.status: executing libtool commands
touch genom-config.h
make[1]: entrant dans le répertoire « /home/farouk/genom-2.6/lib »
/bin/sh ../libtool --mode=compile gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread -o printState.lo printState.c
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread printState.c -fPIC -DPIC -o .libs/printState.o
printState.c: In function 'h2GetEvnStateString':
printState.c:84: warning: format not a string literal and no format arguments
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread printState.c -o printState.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread -o testLib.lo testLib.c
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread testLib.c -fPIC -DPIC -o .libs/testLib.o
testLib.c: In function 'testSendAndOrRcvExecRqst':
testLib.c:308: warning: 'waitFinal' may be used uninitialized in this function
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread testLib.c -o testLib.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread -o h2endian.lo h2endian.c
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread h2endian.c -fPIC -DPIC -o .libs/h2endian.o
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread h2endian.c -o h2endian.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread -o moduleEvents.lo moduleEvents.c
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread moduleEvents.c -fPIC -DPIC -o .libs/moduleEvents.o
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread moduleEvents.c -o moduleEvents.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread -o scan.lo scan.c
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread scan.c -fPIC -DPIC -o .libs/scan.o
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread scan.c -o scan.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread -o posterXMLLib.lo posterXMLLib.c
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread posterXMLLib.c -fPIC -DPIC -o .libs/posterXMLLib.o
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread posterXMLLib.c -o posterXMLLib.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread -o print.lo print.c
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread print.c -fPIC -DPIC -o .libs/print.o
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread print.c -o print.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread -o printXML.lo printXML.c
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread printXML.c -fPIC -DPIC -o .libs/printXML.o
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread printXML.c -o printXML.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread -o printScanUtil.lo printScanUtil.c
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread printScanUtil.c -fPIC -DPIC -o .libs/printScanUtil.o
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread printScanUtil.c -o printScanUtil.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread -o genomModulesLib.lo genomModulesLib.c
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread genomModulesLib.c -fPIC -DPIC -o .libs/genomModulesLib.o
libtool: compile: gcc -c -I.. -I../include -I. -I. -I/usr/local/openrobots/include -DIS_LITTLE_ENDIAN -g -Wall -g -O2 -pthread genomModulesLib.c -o genomModulesLib.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link gcc -g -Wall -g -O2 -pthread printState.lo testLib.lo h2endian.lo moduleEvents.lo scan.lo posterXMLLib.lo print.lo printXML.lo printScanUtil.lo genomModulesLib.lo -o libgenom.la -pthread \
-L/usr/local/openrobots/lib -lposterLib -lerrorLib -lcomLib -lportLib -lrt -lm -ldl \
-version-info 2:0:1 \
-rpath /usr/local/openrobots/lib -R/usr/local/openrobots/lib
libtool: link: warning: library `/usr/local/openrobots/lib/libportLib.la' was moved.
libtool: link: gcc -shared .libs/printState.o .libs/testLib.o .libs/h2endian.o .libs/moduleEvents.o .libs/scan.o .libs/posterXMLLib.o .libs/print.o .libs/printXML.o .libs/printScanUtil.o .libs/genomModulesLib.o -Wl,-rpath -Wl,/usr/local/openrobots/lib -Wl,-rpath -Wl,/usr/local/openrobots/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/openrobots/lib -lposterLib -lerrorLib -lcomLib /usr/local/openrobots/lib/libportLib.so -lrt -lm -ldl -pthread -pthread -pthread -Wl,-soname -Wl,libgenom.so.1 -o .libs/libgenom.so.1.1.0
/usr/bin/ld: cannot find -lposterLib
collect2: ld returned 1 exit status
make[1]: *** [libgenom.la] Erreur 1
make[1]: quittant le répertoire « /home/farouk/genom-2.6/lib »
make: *** [all] Erreur 2
Hors ligne