Errore nella compilazione delle librerie GTK 2.14.2

Installazione, configurazione e uso di programmi e strumenti.
Avatar utente
fabioamd87
Rampante Reduce
Rampante Reduce
Messaggi: 5371
Iscrizione: domenica 4 dicembre 2005, 15:40
Desktop: GNOME Shell
Distribuzione: Arch Linux
Località: Cassino
Contatti:

Errore nella compilazione delle librerie GTK 2.14.2

Messaggio da fabioamd87 »

ho cercato nel forum ma sembra che nessuno si sia azzardato a fare questa pazzia.

ok il mio sistema è quasi andato ma devo togliermi questo sfizio prima,
ho installato a mano, la guida che ho usato è la seguente:

http://library.gnome.org/devel/gtk/unst ... lding.html

durante il make install ottengo questo errore:

Codice: Seleziona tutto

make[4]: Entering directory `/home/fabio/Desktop/gtk+-2.14.2/modules/input'
/bin/bash ../../mkinstalldirs /usr/local/etc/gtk-2.0
../../gtk/gtk-query-immodules-2.0 > /usr/local/etc/gtk-2.0/gtk.immodules
Cannot load module /usr/local/lib/gtk-2.0/2.10.0/immodules/im-xim.so: /usr/local/lib/gtk-2.0/2.10.0/immodules/im-xim.so: undefined symbol: g_dgettext
/usr/local/lib/gtk-2.0/2.10.0/immodules/im-xim.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.10.0/immodules/im-xim.so: undefined symbol: g_dgettext
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/home/fabio/Desktop/gtk+-2.14.2/modules/input'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/home/fabio/Desktop/gtk+-2.14.2/modules/input'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/fabio/Desktop/gtk+-2.14.2/modules/input'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/fabio/Desktop/gtk+-2.14.2/modules'
make: *** [install-recursive] Error 1
Avatar utente
danilo.rossini
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1200
Iscrizione: sabato 23 febbraio 2008, 10:32
Località: Cuneo - Genova

Re: Errore nella compilazione delle librerie GTK 2.14.2

Messaggio da danilo.rossini »

Hai dato il comando

Codice: Seleziona tutto

make install
oppure

Codice: Seleziona tutto

sudo make install
??

Ti servono i privilegi di amministratore quindi quello corretto è il secondo..
Se vi va di dare un'occhiata ai miei disegni e lasciare un commento ne sarei molto felice:
http://www.facebook.com/#/album.php?aid ... 1431940143 =)
Avatar utente
fabioamd87
Rampante Reduce
Rampante Reduce
Messaggi: 5371
Iscrizione: domenica 4 dicembre 2005, 15:40
Desktop: GNOME Shell
Distribuzione: Arch Linux
Località: Cassino
Contatti:

Re: Errore nella compilazione delle librerie GTK 2.14.2

Messaggio da fabioamd87 »

ovviamente sudo make install
Avatar utente
mous16
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3940
Iscrizione: mercoledì 25 ottobre 2006, 15:51
Sesso: Maschile

Re: Errore nella compilazione delle librerie GTK 2.14.2

Messaggio da mous16 »

punto 1: il make è andato a buon fine? hai eseguito anche eventuali make test?
punto 2: come hai fatto il configure? hai messo "--prefix=/usr"? perchè vedo che va a cercare /usr/local/lib/gtk-2.0/2.10.0/immodules/im-xim.so, mentre in ubuntu questo file si trova in /usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so, ed è contenuto nel pacchetto libgtk2.0-0
Pagine personali: Forum Ubuntu-it - Wiki Ubuntu-it - Launchpad
Solo/mous16
Avatar utente
fabioamd87
Rampante Reduce
Rampante Reduce
Messaggi: 5371
Iscrizione: domenica 4 dicembre 2005, 15:40
Desktop: GNOME Shell
Distribuzione: Arch Linux
Località: Cassino
Contatti:

Re: Errore nella compilazione delle librerie GTK 2.14.2

Messaggio da fabioamd87 »

il make è andato a buon fine, ma il pacchetto libgtk è quello che sto installando veramente!
Avatar utente
mous16
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3940
Iscrizione: mercoledì 25 ottobre 2006, 15:51
Sesso: Maschile

Re: Errore nella compilazione delle librerie GTK 2.14.2

Messaggio da mous16 »

però sembra che richieda la precednete versione installata:

Codice: Seleziona tutto

Cannot load module /usr/local/lib/gtk-2.0/2.10.0/immodules/im-xim.so: /usr/local/lib/gtk-2.0/2.10.0/immodules/im-xim.so: undefined symbol: g_dgettext
/usr/local/lib/gtk-2.0/2.10.0/immodules/im-xim.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.10.0/immodules/im-xim.so: undefined symbol: g_dgettext
va a cercare una libreria condivisa della versione 2.10.0, e oltretutto la cerca in /usr/local/lib/gtk-2.0/, mentre in ubuntu si trova in  /usr/lib/gtk-2.0/
Per questo pensavo a un problema degli argomenti del configure
Pagine personali: Forum Ubuntu-it - Wiki Ubuntu-it - Launchpad
Solo/mous16
Avatar utente
fabioamd87
Rampante Reduce
Rampante Reduce
Messaggi: 5371
Iscrizione: domenica 4 dicembre 2005, 15:40
Desktop: GNOME Shell
Distribuzione: Arch Linux
Località: Cassino
Contatti:

Re: Errore nella compilazione delle librerie GTK 2.14.2

Messaggio da fabioamd87 »

aggiornamento, l'errore ora è dato al make

Cannot load module /home/fabio/Desktop/gtk+-2.14.2/modules/input/im-xim.la: /home/fabio/Desktop/gtk+-2.14.2/modules/input/.libs/im-xim.so: undefined symbol: g_dgettext
Avatar utente
danilo.rossini
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1200
Iscrizione: sabato 23 febbraio 2008, 10:32
Località: Cuneo - Genova

Re: Errore nella compilazione delle librerie GTK 2.14.2

Messaggio da danilo.rossini »

Domanda....ma il ./configure ha avuto successo??? solitamente se risolvi i problemi di dipendenze il make non dovrebbe dare errori...puoi postare tutto l'output del configure???
Se vi va di dare un'occhiata ai miei disegni e lasciare un commento ne sarei molto felice:
http://www.facebook.com/#/album.php?aid ... 1431940143 =)
Avatar utente
fabioamd87
Rampante Reduce
Rampante Reduce
Messaggi: 5371
Iscrizione: domenica 4 dicembre 2005, 15:40
Desktop: GNOME Shell
Distribuzione: Arch Linux
Località: Cassino
Contatti:

Re: Errore nella compilazione delle librerie GTK 2.14.2

Messaggio da fabioamd87 »

Sembra sia andato tutto ok:

Codice: Seleziona tutto

fabio@abu64:~/Desktop/src/gtk+-2.14.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for native Win32... no
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
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 how to run the C++ preprocessor... c++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... 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... 98304
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 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 static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for nm... /usr/bin/nm -B
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for library containing strerror... none required
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... yes
checking Whether to write dependencies into .pc files... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for indent... indent
checking for lstat... yes
checking for mkstemp... yes
checking for flockfile... yes
checking for getc_unlocked... yes
checking for localtime_r... yes
checking for _NL_TIME_FIRST_WEEKDAY... yes
checking for _NL_MEASUREMENT_MEASUREMENT... yes
checking for _NL_PAPER_HEIGHT... yes
checking for _NL_PAPER_WIDTH... yes
checking for sigsetjmp... yes
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/local/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for catalogs to be installed...  af am ang ar as az az_IR be be@latin bg bn bn_IN br bs ca ca@valencia cs cy da de dz el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu hy ia id io is it ja ka kn ko ku li lt lv mai mi mk ml mn mr ms nb ne nl nn nso oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@latin sr@ije sv ta te th tk tr tt uk ur uz uz@cyrillic vi wa xh yi zh_CN zh_HK zh_TW
checking for extra flags to get ANSI library prototypes... none needed
checking for the BeOS... no
checking for HP-UX... no
checking for extra flags for POSIX compliance... none needed
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.17.6... yes (version 2.18.1)
checking for bind_textdomain_codeset... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking ftw.h usability... yes
checking ftw.h presence... yes
checking for ftw.h... yes
checking for GNU ftw extensions... yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for mallinfo... yes
checking for getresuid... yes
checking for uid_t in sys/types.h... yes
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... yes
checking for wctype.h... yes
checking for iswalnum... yes
checking if iswalnum() and friends are properly defined... yes
checking for uxtheme.h... no
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking whether to build gmodulized gdk-pixbuf... yes
checking whether dynamic modules work... yes
checking for TIFFReadRGBAImageOriented in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_simple_progression in -ljpeg... yes
checking for libpng12... yes
checking for jas_init in -ljasper... yes
checking pixbuf loaders to build... 
checking if gio can sniff png... yes
checking immodules to build... 
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... (cached) void
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking for mediaLib 2.3... checking for mlib_ImageSetStruct in -lmlib... no
checking for x86 platform... no
checking for XOpenDisplay... yes
checking for XextFindDisplay... yes
checking for XRenderQueryExtension... yes
checking if <X11/extensions/XIproto.h> is needed for xReply... no
checking for XConvertCase... yes
checking for XInternAtoms... yes
checking for XAddConnectionWatch... yes
checking for XkbQueryExtension... yes
checking for XShapeCombineMask... yes
checking for XSyncQueryExtension... yes
checking for X11/extensions/sync.h... yes
checking for XShmAttach... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking X11/extensions/XShm.h... yes
checking for Xinerama support on XFree86... yes
checking Pango flags... -DPNG_NO_MMX_CODE -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1   -L/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0  
checking ATK flags... -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/atk-1.0   -L/usr/local/lib -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0  
checking for library containing gethostent... none required
checking for library containing setsockopt... none required
checking for library containing connect... none required
checking for struct sockaddr_un.sun_len... no
checking for cups-config... no
checking for httpGetAuthString... no
checking cairo-pdf.h usability... yes
checking cairo-pdf.h presence... yes
checking for cairo-pdf.h... yes
checking cairo-ps.h usability... yes
checking cairo-ps.h presence... yes
checking for cairo-ps.h... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for db2html... true
configure: creating ./config.status
config.status: creating config.h.win32
config.status: creating gtk-zip.sh
config.status: creating Makefile
config.status: creating gdk-pixbuf-2.0.pc
config.status: creating gdk-2.0.pc
config.status: creating gtk+-2.0.pc
config.status: creating gtk+-unix-print-2.0.pc
config.status: creating gail.pc
config.status: creating gdk-pixbuf-2.0-uninstalled.pc
config.status: creating gdk-2.0-uninstalled.pc
config.status: creating gtk+-2.0-uninstalled.pc
config.status: creating gail-uninstalled.pc
config.status: creating m4macros/Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating po-properties/Makefile.in
config.status: WARNING:  'po-properties/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating demos/Makefile
config.status: creating demos/gtk-demo/Makefile
config.status: creating demos/gtk-demo/geninclude.pl
config.status: creating tests/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/gdk-pixbuf/Makefile
config.status: creating docs/reference/gdk-pixbuf/version.xml
config.status: creating docs/reference/gdk/Makefile
config.status: creating docs/reference/gdk/version.xml
config.status: creating docs/reference/gtk/Makefile
config.status: creating docs/reference/gtk/version.xml
config.status: creating docs/reference/libgail-util/Makefile
config.status: creating docs/faq/Makefile
config.status: creating docs/tools/Makefile
config.status: creating docs/tutorial/Makefile
config.status: creating gdk-pixbuf/Makefile
config.status: creating gdk-pixbuf/gdk_pixbuf.rc
config.status: creating gdk-pixbuf/gdk-pixbuf-features.h
config.status: creating gdk-pixbuf/pixops/Makefile
config.status: creating gdk/Makefile
config.status: creating gdk/x11/Makefile
config.status: creating gdk/win32/Makefile
config.status: creating gdk/win32/rc/Makefile
config.status: creating gdk/win32/rc/gdk.rc
config.status: creating gdk/quartz/Makefile
config.status: creating gdk/directfb/Makefile
config.status: creating gdk/tests/Makefile
config.status: creating gtk/Makefile
config.status: creating gtk/makefile.msc
config.status: creating gtk/gtkversion.h
config.status: creating gtk/gtk-win32.rc
config.status: creating gtk/theme-bits/Makefile
config.status: creating gtk/tests/Makefile
config.status: creating modules/Makefile
config.status: creating modules/other/Makefile
config.status: creating modules/other/gail/Makefile
config.status: creating modules/other/gail/libgail-util/Makefile
config.status: creating modules/other/gail/tests/Makefile
config.status: creating modules/engines/Makefile
config.status: creating modules/engines/pixbuf/Makefile
config.status: creating modules/engines/ms-windows/Makefile
config.status: creating modules/engines/ms-windows/Theme/Makefile
config.status: creating modules/engines/ms-windows/Theme/gtk-2.0/Makefile
config.status: creating modules/input/Makefile
config.status: creating modules/printbackends/Makefile
config.status: creating modules/printbackends/cups/Makefile
config.status: creating modules/printbackends/lpr/Makefile
config.status: creating modules/printbackends/file/Makefile
config.status: creating modules/printbackends/test/Makefile
config.status: creating perf/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/gdk-pixbuf-xlib/Makefile
config.status: creating contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing gdk/gdkconfig.h commands
config.status: gdk/gdkconfig.h is unchanged
configuration:
        target: x11
fabio@abu64:~/Desktop/src/gtk+-2.14.2$ 
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 13 ospiti