[Sugar-devel] Error compiling with jhbuild
Gonzalo Odiard
gonzalo at laptop.org
Mon Mar 12 15:45:10 EDT 2012
What distro are you using?
The code in sugar-toolkit-gtk3 depends on the last code in fedora,
and many other distros do not have it packaged.
Gonzalo
On Mon, Mar 12, 2012 at 4:34 PM, Manuel Kaufmann <humitos at gmail.com> wrote:
> Hello,
>
> I'm trying to compile sugar with jhbuild and I'm getting this error
> (traceback)
>
> [humitos] [/srv/sugar-jhbuild]$ ./sugar-jhbuild build
> Updating sugar-jhbuild...
> Already up-to-date.
> Updating upstream jhbuild...
> Already up-to-date.
> Warning: unknown distro version, automatic fallback to unstable.
> *** Checking out sugar-datastore *** [2/22]
> git remote set-url origin git://
> git.sugarlabs.org/sugar-datastore/mainline.git
> git remote update origin
> Fetching origin
> git pull --rebase
> Current branch master is up to date.
> *** Skipping sugar-datastore (package and dependencies not updated) ***
> [2/22]
> *** Checking out sugar-toolkit-gtk3 *** [3/22]
> git remote set-url origin
> git://git.sugarlabs.org/sugar-toolkit-gtk3/sugar-toolkit-gtk3.git
> git remote update origin
> Fetching origin
> git pull --rebase
> Current branch master is up to date.
> *** Configuring sugar-toolkit-gtk3 *** [3/22]
> ./autogen.sh --prefix /srv/sugar-jhbuild/install --libdir
> '/srv/sugar-jhbuild/install/lib'
> You should update your 'aclocal.m4' by running aclocal.
> intltoolize: 'po/Makefile.in.in' exists: use '--force' to overwrite
> ln: fallo al crear el enlace simbólico «5:[m4]/intltool.m4»: No existe
> el fichero o el directorio
> cp: no se puede crear el fichero regular «5:[m4]/intltool.m4»: No
> existe el fichero o el directorio
> intltoolize: cannot copy '/usr/share/aclocal/intltool.m4' to
> '5:[m4]/intltool.m4'
> 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... gawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... 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 style of include used by make... GNU
> 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 dependency style of gcc... 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 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 whether gcc understands -Wno-sign-compare... yes
> checking what warning flags to pass to the C compiler... -Wall
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith
> -Wno-sign-compare
> checking what language compliance flags to pass to the C compiler...
> checking for glib-genmarshal... /usr/bin/glib-genmarshal
> checking for python... /usr/bin/python
> checking for python version... 2.7
> checking for python platform... linux2
> checking for python script directory...
> ${prefix}/lib/python2.7/site-packages
> checking for python extension module directory...
> ${exec_prefix}/lib/python2.7/site-packages
> checking for headers required to compile python extensions... found
> checking for pygtk-codegen-2.0... /usr/bin/pygtk-codegen-2.0
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for EXT... yes
> checking whether NLS is requested... yes
> checking for intltool >= 0.33... 0.50.2 found
> checking for intltool-update... /usr/bin/intltool-update
> checking for intltool-merge... /usr/bin/intltool-merge
> checking for intltool-extract... /usr/bin/intltool-extract
> checking for xgettext... /usr/bin/xgettext
> checking for msgmerge... /usr/bin/msgmerge
> checking for msgfmt... /usr/bin/msgfmt
> checking for gmsgfmt... /usr/bin/msgfmt
> checking for perl... /usr/bin/perl
> checking for perl >= 5.8.1... 5.14.2
> checking for XML::Parser... ok
> 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... (cached) /usr/bin/msgfmt
> checking for dcgettext... yes
> checking if msgfmt accepts -c... yes
> checking for gmsgfmt... (cached) /usr/bin/msgfmt
> checking for xgettext... (cached) /usr/bin/xgettext
> checking for catalogs to be installed... af am ar ay bg bi bn_IN bn
> ca cpp cs da de dz el en es fa_AF fa ff fil fr gu ha he hi ht hu id ig
> is it ja km ko kos mg mi mk ml mn mr ms mvo nb ne nl pa pap pis pl ps
> pt_BR pt qu ro ru rw sd si sk sl sq sv sw ta te th tpi tr tvl tzo ug
> ur vi wa yo zh_CN zh_TW
> checking for gobject-introspection... no
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating bin/Makefile
> config.status: creating src/Makefile
> config.status: creating src/sugar3/Makefile
> config.status: creating src/sugar3/activity/Makefile
> config.status: creating src/sugar3/bundle/Makefile
> config.status: creating src/sugar3/graphics/Makefile
> config.status: creating src/sugar3/presence/Makefile
> config.status: creating src/sugar3/datastore/Makefile
> config.status: creating src/sugar3/dispatch/Makefile
> config.status: creating po/Makefile.in
> config.status: executing depfiles commands
> config.status: executing libtool commands
> config.status: executing default-1 commands
> config.status: executing po/stamp-it commands
> *** Building sugar-toolkit-gtk3 *** [3/22]
> make -j 8
> Making all in bin
> make[1]: se ingresa al directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/bin'
> make[1]: No se hace nada para `all'.
> make[1]: se sale del directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/bin'
> Making all in src
> make[1]: se ingresa al directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src'
> Making all in sugar3
> make[2]: se ingresa al directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3'
> make all-recursive
> make[3]: se ingresa al directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3'
> Making all in activity
> make[4]: se ingresa al directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3/activity'
> make[4]: No se hace nada para `all'.
> make[4]: se sale del directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3/activity'
> Making all in bundle
> make[4]: se ingresa al directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3/bundle'
> make[4]: No se hace nada para `all'.
> make[4]: se sale del directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3/bundle'
> Making all in graphics
> make[4]: se ingresa al directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3/graphics'
> make[4]: No se hace nada para `all'.
> make[4]: se sale del directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3/graphics'
> Making all in presence
> make[4]: se ingresa al directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3/presence'
> make[4]: No se hace nada para `all'.
> make[4]: se sale del directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3/presence'
> Making all in datastore
> make[4]: se ingresa al directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3/datastore'
> make[4]: No se hace nada para `all'.
> make[4]: se sale del directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3/datastore'
> Making all in dispatch
> make[4]: se ingresa al directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3/dispatch'
> make[4]: No se hace nada para `all'.
> make[4]: se sale del directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3/dispatch'
> make[4]: se ingresa al directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3'
> make[4]: *** No hay ninguna regla para construir el objetivo
> `SugarExt-1.0.gir', necesario para `all-am'. Alto.
> make[4]: se sale del directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3'
> make[3]: *** [all-recursive] Error 1
> make[3]: se sale del directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3'
> make[2]: *** [all] Error 2
> make[2]: se sale del directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src/sugar3'
> make[1]: *** [all-recursive] Error 1
> make[1]: se sale del directorio
> `/srv/sugar-jhbuild/source/sugar-toolkit-gtk3/src'
> make: *** [all-recursive] Error 1
> *** Error during phase build of sugar-toolkit-gtk3: ########## Error
> running make -j 8 *** [3/22]
>
> [1] Rerun phase build
> [2] Ignore error and continue to install
> [3] Give up on module
> [4] Start shell
> [5] Reload configuration
> [6] Go to phase "wipe directory and start over"
> [7] Go to phase "configure"
> [8] Go to phase "clean"
> [9] Go to phase "distclean"
> choice:
>
>
> I have no idea what's happening here; should I install another package
> or something like that?
>
> --
> Kaufmann Manuel
> Blog: http://humitos.wordpress.com/
> PyAr: http://www.python.com.ar/
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120312/2b42b7f6/attachment-0001.html>
More information about the Sugar-devel
mailing list