PDA

Visualizza la versione completa : Problema Anjuta


edark
11-03-2004, 19:00
SAlve
ho scaricato questo prog per programmare in c++
Nel file INSTALL c'è scritto i comandi che evo eseguire e sono i soliti

QUAndo faccio ./configure

Ecco quello che mi restituisce




[root@localhost anjuta-1.2.1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/damiano/programmi/setup/anjuta-1.2.1/missing: Unknown `--run' option
Try `/home/damiano/programmi/setup/anjuta-1.2.1/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
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 for style of include used by make... GNU
checking dependency style of gcc... none
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++... none
checking for strerror in -lcposix... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
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 ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking return type of signal handlers... void
checking for pkg-config... /usr/bin/pkg-config
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.0.6 gtk+-2.0 >= 2.0.8 ORBit-2.0 >= 2.4.0 libglade-2.0 >= 2.0.0 libgnome-2.0 >= 2.0.2 libgnomeui-2.0 >= 2.0.2 libgnomeprint-2.2 >= 2.0.1 libgnomeprintui-2.2 >= 2.0.1 gnome-vfs-2.0 >= 2.0.2 gnome-vfs-module-2.0 >= 2.0.2 libbonobo-2.0 >= 2.0.0 libbonoboui-2.0 >= 2.0.1 vte >= 0.7.0 libxml-2.0 >= 2.4.23 pango >= 1.1.1... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found

configure: error: Library requirements ( glib-2.0 >= 2.0.6 gtk+-2.0 >= 2.0.8 ORBit-2.0 >= 2.4.0 libglade-2.0 >= 2.0.0 libgnome-2.0 >= 2.0.2 libgnomeui-2.0 >= 2.0.2 libgnomeprint-2.2 >= 2.0.1 libgnomeprintui-2.2 >= 2.0.1 gnome-vfs-2.0 >= 2.0.2 gnome-vfs-module-2.0 >= 2.0.2 libbonobo-2.0 >= 2.0.0 libbonoboui-2.0 >= 2.0.1 vte >= 0.7.0 libxml-2.0 >= 2.4.23 pango >= 1.1.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.






Dopo di tutto cio quando vado a fare make

ecco l'errore che mi da...





[root@localhost anjuta-1.2.1]# make
make: *** No targets specified and no makefile found. Stop.





Perchè ????? :dhò: :dhò:

shishii
11-03-2004, 19:15
Ciao,

mi pare che lo dica qui.

Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found

non ha trovato le librerie glib-2.0.pc

qmatteoq
11-03-2004, 19:23
Dal basso della mia esperienza di compilazione, posso dirti che il make non te lo fa fare perchè il configure non è andato a buon fine, e quindi non è stato creato il makefile che dice al compilatore come e cosa deve compilare...

cleverboy
11-01-2005, 19:21
Me ne intendo pure meno ma son sicuro che sia proprio perché senza il buon esito di "config" o "configure" il Makefile non viene creato correttamente.

ma il punto è un altro. ho anche io lo stesso problema ma non riesco a capire come risolvere.
Ho settato PKG_CONFIG_PATH="/usr/lib/pkgconfig" e il file glib-2.0.pc è in quella directory!! ma l'errore persiste!

PERCHE' ???????? :dhò:

Aiuto per piacere! son due giorni che non ci cavo un ragno dal buco!!

Loading