Compilare Unity da sorgenti
- eNry92
- Entusiasta Emergente

- Messaggi: 1323
- Iscrizione: giovedì 4 ottobre 2007, 8:47
- Località: Caserta
Compilare Unity da sorgenti
quando, in base a questa guida cerco di installare tutte le dipendenze, mi chiede di rimuovere ubuntu-desktop e unity :-\
Sarà che è una guida per Natty e sto usando Oneiric?
- andyrock
- Entusiasta Emergente

- Messaggi: 1780
- Iscrizione: sabato 8 maggio 2010, 13:50
- Località: Monte Sant'Angelo
- Contatti:
Re: Compilare Unity da sorgenti
Codice: Seleziona tutto
sudo apt-get build-dep unityCodice: Seleziona tutto
sudo apt-get install libgnome-desktop-3-devCodice: Seleziona tutto
bzr branch lp:unity-misc
cd unity-misc
./autogen.sh --prefix=/usr
make
sudo make install
Codice: Seleziona tutto
bzr branch lp:unity
cd unity
mkdir build
cd build
etc. etc.
- eNry92
- Entusiasta Emergente

- Messaggi: 1323
- Iscrizione: giovedì 4 ottobre 2007, 8:47
- Località: Caserta
Re: Compilare Unity da sorgenti
Codice: Seleziona tutto
bzr branch lp:unity-miscnon funziona, e l'ho corretto in
Codice: Seleziona tutto
bzr branch lp:libunity-miscIl
Codice: Seleziona tutto
./autogen.sh --prefix=/usrCodice: Seleziona tutto
make
sudo make install- andyrock
- Entusiasta Emergente

- Messaggi: 1780
- Iscrizione: sabato 8 maggio 2010, 13:50
- Località: Monte Sant'Angelo
- Contatti:
Re: Compilare Unity da sorgenti
Si l'ho scritto così a memoria... Comunque se l'autogen va a buon fine dubito sia un problema di dipendenze.eNry92 ha scritto: Mancano comunque delle dipendenze...Codice: Seleziona tutto
bzr branch lp:unity-misc
non funziona, e l'ho corretto inè giusto?Codice: Seleziona tutto
bzr branch lp:libunity-misc
Comunque postami ogni singolo comando che dai e ogni singolo errore...
Re: Compilare Unity da sorgenti
Codice: Seleziona tutto
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCOMPIZ_PLUGIN_INSTALL_TYPE=local -DCMAKE_INSTALL_PREFIX=/opt/unityCodice: Seleziona tutto
-- package 'libbamf3' not found
-- package 'indicator3-0.4' not found
- andyrock
- Entusiasta Emergente

- Messaggi: 1780
- Iscrizione: sabato 8 maggio 2010, 13:50
- Località: Monte Sant'Angelo
- Contatti:
Re: Compilare Unity da sorgenti
hai dato questi:.:ALb:. ha scritto: Scusate, anche io stavo cercando di compilare unity, seguendo la guida e le indicazioni postate qui, però al comando:mi ritrovo l'erroreCodice: Seleziona tutto
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCOMPIZ_PLUGIN_INSTALL_TYPE=local -DCMAKE_INSTALL_PREFIX=/opt/unityma nux l'ho appena compilato da branch, com'è possibile?Codice: Seleziona tutto
-- package 'nux-core-1.0' not found
Codice: Seleziona tutto
export PKG_CONFIG_PATH=/opt/unity/lib/pkgconfig:${PKG_CONFIG_PATH}
export LD_LIBRARY_PATH=/opt/unity/lib:${LD_LIBRARY_PATH}
export LD_RUN_PATH=/opt/unity/lib:${LD_RUN_PATH}
Re: Compilare Unity da sorgenti
-- package 'libbamf3' not found
-- package 'indicator3-0.4' not found
che nei repository sono presenti in versioni precedenti (libbamf in versione 2.9)
- andyrock
- Entusiasta Emergente

- Messaggi: 1780
- Iscrizione: sabato 8 maggio 2010, 13:50
- Località: Monte Sant'Angelo
- Contatti:
Re: Compilare Unity da sorgenti
- eNry92
- Entusiasta Emergente

- Messaggi: 1323
- Iscrizione: giovedì 4 ottobre 2007, 8:47
- Località: Caserta
Re: Compilare Unity da sorgenti
Codice: Seleziona tutto
enry@enryVirtualBox:~/Scrivania/libunity-misc$ ./autogen.sh --prefix=/usr
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
testing autoconf2.50... not found.
testing autoconf... found 2.68
checking for automake >= 1.9...
testing automake-1.11... found 1.11.1
checking for libtool >= 1.5...
testing libtoolize... found 2.4
checking for pkg-config >= 0.14.0...
testing pkg-config... found 0.26
checking for gtk-doc >= 1.0...
testing gtkdocize... found 1.17
Checking for required M4 macros...
Checking for forbidden M4 macros...
Processing ./configure.ac
Running libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize: `/usr/share/aclocal/libtool.m4'
libtoolize: `/usr/share/aclocal/ltoptions.m4'
libtoolize: `/usr/share/aclocal/ltversion.m4'
libtoolize: `/usr/share/aclocal/ltsugar.m4'
libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Running gtkdocize...
Running aclocal-1.11...
Running autoconf...
Running autoheader...
Running automake-1.11...
configure.ac:33: installing `./compile'
configure.ac:35: installing `./config.guess'
configure.ac:35: installing `./config.sub'
configure.ac:10: installing `./install-sh'
configure.ac:10: installing `./missing'
examples/Makefile.am: installing `./depcomp'
Running ./configure --prefix=/usr ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
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 fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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... no
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for memset... yes
checking for munmap... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for UNITY_MISC... yes
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating unity-misc/Makefile
config.status: creating doc/Makefile
config.status: creating doc/reference/Makefile
config.status: creating doc/reference/libunity-misc/Makefile
config.status: creating examples/Makefile
config.status: creating unity-misc.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Libunity-misc 4.0.4
===============================
Prefix : /usr
Documentation : no
Now type `make' to compile liblauncher
enry@enryVirtualBox:~/Scrivania/libunity-misc$ Codice: Seleziona tutto
enry@enryVirtualBox:~/Scrivania/libunity-misc$ make
make all-recursive
make[1]: ingresso nella directory "/home/enry/Scrivania/libunity-misc"
Making all in unity-misc
make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/unity-misc"
glib-genmarshal --body \
--prefix=_na_marshal ./na-marshal.list \
> na-marshal.c
glib-genmarshal --header \
--prefix=_na_marshal ./na-marshal.list \
> na-marshal.h
make all-am
make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/unity-misc"
CC libunity_misc_la-gnome-bg-slideshow.lo
CC libunity_misc_la-fixedtip.lo
CC libunity_misc_la-na-marshal.lo
CC libunity_misc_la-na-tray-child.lo
CC libunity_misc_la-na-tray-manager.lo
CC libunity_misc_la-na-tray.lo
CCLD libunity-misc.la
make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/unity-misc"
make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/unity-misc"
Making all in doc
make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc"
Making all in reference
make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference"
Making all in libunity-misc
make[4]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference/libunity-misc"
make[4]: Nessuna operazione da eseguire per "all".
make[4]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference/libunity-misc"
make[4]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference"
make[4]: Nessuna operazione da eseguire per "all-am".
make[4]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference"
make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference"
make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc"
make[3]: Nessuna operazione da eseguire per "all-am".
make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc"
make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc"
Making all in examples
make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/examples"
CC systray.o
CCLD systray
make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/examples"
make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc"
make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc"
make[1]: uscita dalla directory "/home/enry/Scrivania/libunity-misc"
enry@enryVirtualBox:~/Scrivania/libunity-misc$ Codice: Seleziona tutto
enry@enryVirtualBox:~/Scrivania/libunity-misc$ sudo make install
Making install in unity-misc
make[1]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/unity-misc"
make install-am
make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/unity-misc"
make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/unity-misc"
test -z "/usr/lib" || /bin/mkdir -p "/usr/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c libunity-misc.la '/usr/lib'
libtool: install: /usr/bin/install -c .libs/libunity-misc.so.4.1.0 /usr/lib/libunity-misc.so.4.1.0
libtool: install: (cd /usr/lib && { ln -s -f libunity-misc.so.4.1.0 libunity-misc.so.4 || { rm -f libunity-misc.so.4 && ln -s libunity-misc.so.4.1.0 libunity-misc.so.4; }; })
libtool: install: (cd /usr/lib && { ln -s -f libunity-misc.so.4.1.0 libunity-misc.so || { rm -f libunity-misc.so && ln -s libunity-misc.so.4.1.0 libunity-misc.so; }; })
libtool: install: /usr/bin/install -c .libs/libunity-misc.lai /usr/lib/libunity-misc.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/include/unity-misc/unity-misc" || /bin/mkdir -p "/usr/include/unity-misc/unity-misc"
/usr/bin/install -c -m 644 gnome-bg-slideshow.h na-marshal.h na-tray-child.h na-tray-manager.h na-tray.h '/usr/include/unity-misc/unity-misc'
make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/unity-misc"
make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/unity-misc"
make[1]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/unity-misc"
Making install in doc
make[1]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc"
Making install in reference
make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference"
Making install in libunity-misc
make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference/libunity-misc"
make[4]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference/libunity-misc"
make[4]: Nessuna operazione da eseguire per "install-exec-am".
-- Nothing to install
make[4]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference/libunity-misc"
make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference/libunity-misc"
make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference"
make[4]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference"
make[4]: Nessuna operazione da eseguire per "install-exec-am".
make[4]: Nessuna operazione da eseguire per "install-data-am".
make[4]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference"
make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference"
make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference"
make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc"
make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc"
make[3]: Nessuna operazione da eseguire per "install-exec-am".
make[3]: Nessuna operazione da eseguire per "install-data-am".
make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc"
make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc"
make[1]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc"
Making install in examples
make[1]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/examples"
make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/examples"
make[2]: Nessuna operazione da eseguire per "install-exec-am".
make[2]: Nessuna operazione da eseguire per "install-data-am".
make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/examples"
make[1]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/examples"
make[1]: ingresso nella directory "/home/enry/Scrivania/libunity-misc"
make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc"
make[2]: Nessuna operazione da eseguire per "install-exec-am".
test -z "/usr/lib/pkgconfig" || /bin/mkdir -p "/usr/lib/pkgconfig"
/usr/bin/install -c -m 644 unity-misc.pc '/usr/lib/pkgconfig'
make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc"
make[1]: uscita dalla directory "/home/enry/Scrivania/libunity-misc"
enry@enryVirtualBox:~/Scrivania/libunity-misc$ - andyrock
- Entusiasta Emergente

- Messaggi: 1780
- Iscrizione: sabato 8 maggio 2010, 13:50
- Località: Monte Sant'Angelo
- Contatti:
Re: Compilare Unity da sorgenti
Non vedo nessun problema qui... la compilazione di unity-misc è andata bene!eNry92 ha scritto: Ecco il risultato del comando ./autogen.sh --prefix=/usr
Ecco il risultato del comando make:Codice: Seleziona tutto
enry@enryVirtualBox:~/Scrivania/libunity-misc$ ./autogen.sh --prefix=/usr /usr/bin/gnome-autogen.sh checking for autoconf >= 2.53... testing autoconf2.50... not found. testing autoconf... found 2.68 checking for automake >= 1.9... testing automake-1.11... found 1.11.1 checking for libtool >= 1.5... testing libtoolize... found 2.4 checking for pkg-config >= 0.14.0... testing pkg-config... found 0.26 checking for gtk-doc >= 1.0... testing gtkdocize... found 1.17 Checking for required M4 macros... Checking for forbidden M4 macros... Processing ./configure.ac Running libtoolize... libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: You should add the contents of the following files to `aclocal.m4': libtoolize: `/usr/share/aclocal/libtool.m4' libtoolize: `/usr/share/aclocal/ltoptions.m4' libtoolize: `/usr/share/aclocal/ltversion.m4' libtoolize: `/usr/share/aclocal/ltsugar.m4' libtoolize: `/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Running gtkdocize... Running aclocal-1.11... Running autoconf... Running autoheader... Running automake-1.11... configure.ac:33: installing `./compile' configure.ac:35: installing `./config.guess' configure.ac:35: installing `./config.sub' configure.ac:10: installing `./install-sh' configure.ac:10: installing `./missing' examples/Makefile.am: installing `./depcomp' Running ./configure --prefix=/usr ... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether gcc and cc understand -c and -o together... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf 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 fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) 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... no checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for memset... yes checking for munmap... yes checking for strcasecmp... yes checking for strdup... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for UNITY_MISC... yes checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf checking whether to build gtk-doc documentation... no configure: creating ./config.status config.status: creating Makefile config.status: creating unity-misc/Makefile config.status: creating doc/Makefile config.status: creating doc/reference/Makefile config.status: creating doc/reference/libunity-misc/Makefile config.status: creating examples/Makefile config.status: creating unity-misc.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Libunity-misc 4.0.4 =============================== Prefix : /usr Documentation : no Now type `make' to compile liblauncher enry@enryVirtualBox:~/Scrivania/libunity-misc$e infine sudo make install:Codice: Seleziona tutto
enry@enryVirtualBox:~/Scrivania/libunity-misc$ make make all-recursive make[1]: ingresso nella directory "/home/enry/Scrivania/libunity-misc" Making all in unity-misc make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/unity-misc" glib-genmarshal --body \ --prefix=_na_marshal ./na-marshal.list \ > na-marshal.c glib-genmarshal --header \ --prefix=_na_marshal ./na-marshal.list \ > na-marshal.h make all-am make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/unity-misc" CC libunity_misc_la-gnome-bg-slideshow.lo CC libunity_misc_la-fixedtip.lo CC libunity_misc_la-na-marshal.lo CC libunity_misc_la-na-tray-child.lo CC libunity_misc_la-na-tray-manager.lo CC libunity_misc_la-na-tray.lo CCLD libunity-misc.la make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/unity-misc" make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/unity-misc" Making all in doc make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc" Making all in reference make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference" Making all in libunity-misc make[4]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference/libunity-misc" make[4]: Nessuna operazione da eseguire per "all". make[4]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference/libunity-misc" make[4]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference" make[4]: Nessuna operazione da eseguire per "all-am". make[4]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference" make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference" make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc" make[3]: Nessuna operazione da eseguire per "all-am". make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc" make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc" Making all in examples make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/examples" CC systray.o CCLD systray make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/examples" make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc" make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc" make[1]: uscita dalla directory "/home/enry/Scrivania/libunity-misc" enry@enryVirtualBox:~/Scrivania/libunity-misc$Può darsi che abbia questi problemi visto che non ho fatto tutti gli aggiornamenti? Non li ho fatti altrimenti non mi si avvia più unity visto che sto in VB, credo...Codice: Seleziona tutto
enry@enryVirtualBox:~/Scrivania/libunity-misc$ sudo make install Making install in unity-misc make[1]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/unity-misc" make install-am make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/unity-misc" make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/unity-misc" test -z "/usr/lib" || /bin/mkdir -p "/usr/lib" /bin/bash ../libtool --mode=install /usr/bin/install -c libunity-misc.la '/usr/lib' libtool: install: /usr/bin/install -c .libs/libunity-misc.so.4.1.0 /usr/lib/libunity-misc.so.4.1.0 libtool: install: (cd /usr/lib && { ln -s -f libunity-misc.so.4.1.0 libunity-misc.so.4 || { rm -f libunity-misc.so.4 && ln -s libunity-misc.so.4.1.0 libunity-misc.so.4; }; }) libtool: install: (cd /usr/lib && { ln -s -f libunity-misc.so.4.1.0 libunity-misc.so || { rm -f libunity-misc.so && ln -s libunity-misc.so.4.1.0 libunity-misc.so; }; }) libtool: install: /usr/bin/install -c .libs/libunity-misc.lai /usr/lib/libunity-misc.la libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- test -z "/usr/include/unity-misc/unity-misc" || /bin/mkdir -p "/usr/include/unity-misc/unity-misc" /usr/bin/install -c -m 644 gnome-bg-slideshow.h na-marshal.h na-tray-child.h na-tray-manager.h na-tray.h '/usr/include/unity-misc/unity-misc' make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/unity-misc" make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/unity-misc" make[1]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/unity-misc" Making install in doc make[1]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc" Making install in reference make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference" Making install in libunity-misc make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference/libunity-misc" make[4]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference/libunity-misc" make[4]: Nessuna operazione da eseguire per "install-exec-am". -- Nothing to install make[4]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference/libunity-misc" make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference/libunity-misc" make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference" make[4]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc/reference" make[4]: Nessuna operazione da eseguire per "install-exec-am". make[4]: Nessuna operazione da eseguire per "install-data-am". make[4]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference" make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference" make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc/reference" make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc" make[3]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/doc" make[3]: Nessuna operazione da eseguire per "install-exec-am". make[3]: Nessuna operazione da eseguire per "install-data-am". make[3]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc" make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc" make[1]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/doc" Making install in examples make[1]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/examples" make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc/examples" make[2]: Nessuna operazione da eseguire per "install-exec-am". make[2]: Nessuna operazione da eseguire per "install-data-am". make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/examples" make[1]: uscita dalla directory "/home/enry/Scrivania/libunity-misc/examples" make[1]: ingresso nella directory "/home/enry/Scrivania/libunity-misc" make[2]: ingresso nella directory "/home/enry/Scrivania/libunity-misc" make[2]: Nessuna operazione da eseguire per "install-exec-am". test -z "/usr/lib/pkgconfig" || /bin/mkdir -p "/usr/lib/pkgconfig" /usr/bin/install -c -m 644 unity-misc.pc '/usr/lib/pkgconfig' make[2]: uscita dalla directory "/home/enry/Scrivania/libunity-misc" make[1]: uscita dalla directory "/home/enry/Scrivania/libunity-misc" enry@enryVirtualBox:~/Scrivania/libunity-misc$
- eNry92
- Entusiasta Emergente

- Messaggi: 1323
- Iscrizione: giovedì 4 ottobre 2007, 8:47
- Località: Caserta
Re: Compilare Unity da sorgenti
Codice: Seleziona tutto
enry@enryVirtualBox:~/Scrivania/unity/build$ sudo make install
[ 10%] Built target translations
[ 10%] Built target doc-rawman
[ 13%] Built target unity-panel-service
[ 16%] Built target unity-core-4.0
[ 17%] Built target test-bg-hash
[ 22%] Built target test-panel
[ 31%] Built target test-places
[ 33%] Built target test-places-backend
[ 37%] Built target test-places-group
[ 43%] Built target test-places-results
[ 47%] Built target test-places-tiles
[ 51%] Built target test-quicklist
[ 54%] Built target test-quicklist-visuals
[ 55%] Built target test-switcher
[ 60%] Built target test-unit
[ 60%] Built target unity-preferences
[ 61%] Built target guides
[ 63%] Built target unitydialog
[ 65%] Built target networkarearegion
[ 67%] Built target unitymtgrabhandles
[ 68%] Built target gtkloader
[ 69%] Building CXX object plugins/unityshell/CMakeFiles/unityshell.dir/src/unityshell.cpp.o
/home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp: In function ‘nux::logging::Level {anonymous}::glog_level_to_nux(GLogLevelFlags)’:
/home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1370:12: error: ‘Critical’ is not a member of ‘nux::logging’
/home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1372:12: error: ‘Error’ is not a member of ‘nux::logging’
/home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1372:12: note: suggested alternative:
/home/enry/Scrivania/unity/UnityCore/GLibWrapper.h:57:7: note: ‘unity::glib::Error’
/home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1374:12: error: ‘Warning’ is not a member of ‘nux::logging’
/home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1377:12: error: ‘Info’ is not a member of ‘nux::logging’
/home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1379:10: error: ‘Debug’ is not a member of ‘nux::logging’
/home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1380:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: all warnings being treated as errors
make[2]: *** [plugins/unityshell/CMakeFiles/unityshell.dir/src/unityshell.cpp.o] Errore 1
make[1]: *** [plugins/unityshell/CMakeFiles/unityshell.dir/all] Errore 2
make: *** [all] Errore 2
enry@enryVirtualBox:~/Scrivania/unity/build$
- andyrock
- Entusiasta Emergente

- Messaggi: 1780
- Iscrizione: sabato 8 maggio 2010, 13:50
- Località: Monte Sant'Angelo
- Contatti:
Re: Compilare Unity da sorgenti
Aggiorna le nux utilizzando bzr pulleNry92 ha scritto: il problema è questo ora, quando compilo unity:Codice: Seleziona tutto
enry@enryVirtualBox:~/Scrivania/unity/build$ sudo make install [ 10%] Built target translations [ 10%] Built target doc-rawman [ 13%] Built target unity-panel-service [ 16%] Built target unity-core-4.0 [ 17%] Built target test-bg-hash [ 22%] Built target test-panel [ 31%] Built target test-places [ 33%] Built target test-places-backend [ 37%] Built target test-places-group [ 43%] Built target test-places-results [ 47%] Built target test-places-tiles [ 51%] Built target test-quicklist [ 54%] Built target test-quicklist-visuals [ 55%] Built target test-switcher [ 60%] Built target test-unit [ 60%] Built target unity-preferences [ 61%] Built target guides [ 63%] Built target unitydialog [ 65%] Built target networkarearegion [ 67%] Built target unitymtgrabhandles [ 68%] Built target gtkloader [ 69%] Building CXX object plugins/unityshell/CMakeFiles/unityshell.dir/src/unityshell.cpp.o /home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp: In function ‘nux::logging::Level {anonymous}::glog_level_to_nux(GLogLevelFlags)’: /home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1370:12: error: ‘Critical’ is not a member of ‘nux::logging’ /home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1372:12: error: ‘Error’ is not a member of ‘nux::logging’ /home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1372:12: note: suggested alternative: /home/enry/Scrivania/unity/UnityCore/GLibWrapper.h:57:7: note: ‘unity::glib::Error’ /home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1374:12: error: ‘Warning’ is not a member of ‘nux::logging’ /home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1377:12: error: ‘Info’ is not a member of ‘nux::logging’ /home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1379:10: error: ‘Debug’ is not a member of ‘nux::logging’ /home/enry/Scrivania/unity/plugins/unityshell/src/unityshell.cpp:1380:1: error: control reaches end of non-void function [-Werror=return-type] cc1plus: all warnings being treated as errors make[2]: *** [plugins/unityshell/CMakeFiles/unityshell.dir/src/unityshell.cpp.o] Errore 1 make[1]: *** [plugins/unityshell/CMakeFiles/unityshell.dir/all] Errore 2 make: *** [all] Errore 2 enry@enryVirtualBox:~/Scrivania/unity/build$
- eNry92
- Entusiasta Emergente

- Messaggi: 1323
- Iscrizione: giovedì 4 ottobre 2007, 8:47
- Località: Caserta
Re: Compilare Unity da sorgenti
Grazie per l'aiuto
Chi c’è in linea
Visualizzano questa sezione: saxtro e 7 ospiti