Debianizzati.Org | Forum | Blog | Guide | IRC
 
 
Forum Italiano Debian - Debianizzati.Org
Dicembre 02, 2008, 09:18:04 pm *
Benvenuto! Accedi o registrati.
Hai dimenticato l'e-mail di attivazione?

Accesso con nome utente, password e durata della sessione
Notizia:
 
   Indice   Aiuto Ricerca Agenda Accedi Registrati  
Pagine: [1]   Vai giù
  Stampa  
Autore Discussione: [RISOLTO] Problema durante la compilazione di compiz fusion  (Letto 317 volte)
0 utenti e 1 Utente non registrato stanno visualizzando questa discussione.
michelepao
Jr. Member
**

Karma: +0/-0
Scollegato Scollegato

Messaggi: 69


Linux User #465225

michele.apo@gmail.com
Mostra profilo
« inserita:: Novembre 08, 2007, 05:17:48 pm »

Ciao a tutti, premetto che uso debian solo da due giorni, ma mi sono fatto le basi di linux con ubuntu. Il mio problema è il seguente, sto cercando di compilare compiz fusion 0.5.2. Con ./configure sembra tutto ok, tranne inotify:
Codice:
Desktop:/home/mick/Desktop/compiz-0.5.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 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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool >= 0.23... 0.35.5 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking whether to enable maintainer-specific portions of Makefiles... no
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 ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
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 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 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 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... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
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 for correct ltmain.sh version... 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 static flag -static 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++ static flag -static 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
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 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 for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) 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 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 if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  cs de es fi fr hu it ja pl pt_BR sv zh_CN zh_TW af ar bg bn bs ca cy da el en_GB en_US et gl gu he hi hr id ka km ko lo lt mk mr nb nl pa pt ro ru sk sl sr ta tr uk vi xh zu
checking whether byte ordering is bigendian... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for COMPIZ... yes
checking for DECORATION... yes
checking for GL_CFLAGS...
checking for GL_LIBS... -lGL
checking for xsltproc... xsltproc
checking for LIBPNG... yes
checking for GLIB... yes
checking for GCONF... yes
checking for gconftool-2... /usr/bin/gconftool-2
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for PLACE... yes
checking for DBUS... yes
checking for DBUS_GLIB... yes
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking for FUSE... yes
checking for ANNOTATE... yes
checking for LIBRSVG... yes
checking for GTK_WINDOW_DECORATOR... yes
checking for wnck_window_has_name... no
checking for METACITY... yes
checking for GNOME_WINDOW_SETTINGS... yes
checking for GNOME_KEY_BINDINGS... no
checking for Qt headers... /usr/share/qt3/include
checking for Qt libraries... /usr/lib
checking for KDE_WINDOW_DECORATOR... yes
configure: creating ./config.status
config.status: creating compiz.pc
config.status: creating compiz-cube.pc
config.status: creating compiz-scale.pc
config.status: creating compiz-gconf.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating libdecoration/Makefile
config.status: creating libdecoration/libdecoration.pc
config.status: creating include/Makefile
config.status: creating plugins/Makefile
config.status: creating images/Makefile
config.status: creating gtk/Makefile
config.status: creating gtk/window-decorator/Makefile
config.status: creating gtk/gnome/Makefile
config.status: creating kde/Makefile
config.status: creating kde/window-decorator/Makefile
config.status: creating po/Makefile.in
config.status: creating metadata/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

the following optional plugins will be compiled:
  glib:     yes
  gconf:    yes
  place:    yes
  dbus:     yes
  annotate: yes
  svg:      yes
  inotify:  no
  fuse:     yes

and the following optional features will be compiled:
  gtk:      yes
  metacity: yes
  gnome:    yes
  kde:      yes
Con il make invece ricevo questo errore:
Codice:
Desktop:/home/mick/Desktop/compiz-0.5.2# make
make  all-recursive
make[1]: Entering directory `/home/mick/Desktop/compiz-0.5.2'
Making all in include
make[2]: Entering directory `/home/mick/Desktop/compiz-0.5.2/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mick/Desktop/compiz-0.5.2/include'
Making all in src
make[2]: Entering directory `/home/mick/Desktop/compiz-0.5.2/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mick/Desktop/compiz-0.5.2/src'
Making all in libdecoration
make[2]: Entering directory `/home/mick/Desktop/compiz-0.5.2/libdecoration'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mick/Desktop/compiz-0.5.2/libdecoration'
Making all in plugins
make[2]: Entering directory `/home/mick/Desktop/compiz-0.5.2/plugins'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -DFUSE_USE_VERSION=26 -DALL_LINGUAS="\"cs de es fi fr hu it ja pl pt_BR sv zh_CN zh_TW af ar bg bn bs ca cy da el en_GB en_US et gl gu he hi hr id ka km ko lo lt mk mr nb nl pa pt ro ru sk sl sr ta tr uk vi xh zu\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -DPLUGINDIR=\"/usr/local/lib/compiz\" -DIMAGEDIR=\"/usr/local/share/compiz\" -I../include -DMETADATADIR=\"/usr/local/share/compiz\"    -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -D_FORTIFY_SOURCE=2 -MT fuse.lo -MD -MP -MF ".deps/fuse.Tpo" -c -o fuse.lo fuse.c; \
        then mv -f ".deps/fuse.Tpo" ".deps/fuse.Plo"; else rm -f ".deps/fuse.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -DFUSE_USE_VERSION=26 "-DALL_LINGUAS=\"cs de es fi fr hu it ja pl pt_BR sv zh_CN zh_TW af ar bg bn bs ca cy da el en_GB en_US et gl gu he hi hr id ka km ko lo lt mk mr nb nl pa pt ro ru sk sl sr ta tr uk vi xh zu\"" -DLOCALEDIR=\"/usr/local/share/locale\" -DPLUGINDIR=\"/usr/local/lib/compiz\" -DIMAGEDIR=\"/usr/local/share/compiz\" -I../include -DMETADATADIR=\"/usr/local/share/compiz\" -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -D_FORTIFY_SOURCE=2 -MT fuse.lo -MD -MP -MF .deps/fuse.Tpo -c fuse.c  -fPIC -DPIC -o .libs/fuse.o
fuse.c: In function 'dirbuf_add':
fuse.c:1021: warning: implicit declaration of function 'fuse_add_direntry'
fuse.c:1021: warning: nested extern declaration of 'fuse_add_direntry'
fuse.c: In function 'compiz_open':
fuse.c:1102: error: 'O_RDONLY' undeclared (first use in this function)
fuse.c:1102: error: (Each undeclared identifier is reported only once
fuse.c:1102: error: for each function it appears in.)
fuse.c:1106: error: 'O_TRUNC' undeclared (first use in this function)
fuse.c: In function 'fuseUnmount':
fuse.c:1293: error: too many arguments to function 'fuse_unmount'
fuse.c: In function 'fuseProcessMessages':
fuse.c:1326: warning: implicit declaration of function 'fuse_chan_recv'
fuse.c:1326: warning: nested extern declaration of 'fuse_chan_recv'
fuse.c: In function 'fuseMount':
fuse.c:1355: warning: assignment makes pointer from integer without a cast
fuse.c:1368: error: too many arguments to function 'fuse_unmount'
make[2]: *** [fuse.lo] Error 1
make[2]: Leaving directory `/home/mick/Desktop/compiz-0.5.2/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mick/Desktop/compiz-0.5.2'
make: *** [all] Error 2
Sinceramente non ho idea di come risolvere, poichè con ubuntu installavo quasi tutto da repository. Qualcuno può aiutarmi?
Grazie
« Ultima modifica: Novembre 08, 2007, 10:40:55 pm da michelepao » Registrato

Democracia, Justicia y Libertàd!
keltik
Hero Member
*****

Karma: +14/-0
Scollegato Scollegato

Messaggi: 1447



Mostra profilo WWW E-mail
« Risposta #1 inserita:: Novembre 08, 2007, 05:41:05 pm »

Non so che versione di debian stai usando per compilare compiz, ma i problemi li hai con le librerie di fuse.

Mi sembra che tu abbia installato gli headers delle librerie (il pacchetto -dev), visto che
Citazione
checking for FUSE... yes
quindi credo che il problema sia legato alla versione di fuse che utilizzi.

prova a riportare qui l' output di
Codice:
$ apt-cache policy libfuse-dev
insieme alla versione di debian che stai usando.

Smiley
Registrato

michelepao
Jr. Member
**

Karma: +0/-0
Scollegato Scollegato

Messaggi: 69


Linux User #465225

michele.apo@gmail.com
Mostra profilo
« Risposta #2 inserita:: Novembre 08, 2007, 05:47:10 pm »

Codice:
Desktop:/home/mick# apt-cache policy libfuse-dev
libfuse-dev:
  Installato: 2.5.3-4.4
  Candidato: 2.5.3-4.4
  Tabella versione:
 *** 2.5.3-4.4 0
        500 http://ftp.it.debian.org etch/main Packages
        100 /var/lib/dpkg/status
Uso Debian Etch. Purtroppo non è possibile fare il downgrade. Cosa mi consigli di fare?
Grazie
Registrato

Democracia, Justicia y Libertàd!
michelepao
Jr. Member
**

Karma: +0/-0
Scollegato Scollegato

Messaggi: 69


Linux User #465225

michele.apo@gmail.com
Mostra profilo
« Risposta #3 inserita:: Novembre 08, 2007, 10:40:33 pm »

Ecco la soluzione! http://forum.compiz-fusion.org/showthread.php?t=772
Bastava installare una versione più recente di libfuse2. Metto risolto.
Ciao
Registrato

Democracia, Justicia y Libertàd!
Pagine: [1]   Vai su
  Stampa  
 
Vai a:  

Altri Topic Correlati
Oggetto Aperta da Risposte Visite Ultimo messaggio
Problema Compiz-fusion Multimedia nero 1 312 Ultimo messaggio Dicembre 20, 2007, 10:44:26 am
da nero
Compilazione Compiz Fusion Multimedia metalgear1987 8 770 Ultimo messaggio Marzo 27, 2008, 08:23:09 pm
da metaldaze
[risolto]: Debian SID, compiz fusion e bordi finestre X skydiamond 5 488 Ultimo messaggio Maggio 18, 2008, 07:45:16 pm
da skydiamond
[risolto - senza fusion-icon] Fusion-icon fa disperare.. Installazione YvesBsAs 13 847 Ultimo messaggio Giugno 23, 2008, 10:48:56 pm
da squajone
[risolto]: Autostart compiz-fusion su KDE: scorciatoie Alt+F1 e Alt+F2 scompaiono Multimedia Abbio 2 161 Ultimo messaggio Settembre 20, 2008, 09:20:43 am
da Abbio
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC XHTML 1.0 valido! CSS valido!
Pagina creata in 0.199 secondi con 19 interrogazioni al database.