Re: gnome-shell jhbuild error during clutter
- From: Thomas E Jenkins <thomas jenkins gmail com>
- To: "Jasper St. Pierre" <jstpierre mecheye net>
- Cc: gnome-shell-list gnome org
- Subject: Re: gnome-shell jhbuild error during clutter
- Date: Mon, 11 Apr 2011 18:28:19 -0400
On Mon, Apr 4, 2011 at 09:54, Jasper St. Pierre <jstpierre mecheye net> wrote:
> We're suspecting this is a problem with Ubuntu/Debian's patches to
> libtool...
>
> If you have a recent-enough system, try:
>
> $ sudo find /usr/lib*/ -name "*.la" -delete
> $ rm -rf ~/gnome-shell/install
> $ jhbuild build -s glib -s glib-networking -s gconf -afc gnome-shell
>
> That should skip glib compilation, and the two things that try to install
> gio modules. I also only compile gnome-shell, and not gnome-control-center,
> because gnome-power-manager has some issues which I'm not going to try and
> investigate right now.
>
> That should at least get you started.
>
> I also updated the RemovingLaFiles and GnomeShell wiki pages with the "find"
> command above... this had to be updated due to debian multiarch -- *.la
> files are now in /usr/lib/x86_64-linux-gnu/ and other places.
>
> On Mon, Apr 4, 2011 at 2:13 AM, Jeffery Olson <olson jeffery gmail com>
> wrote:
>>
>> make[3]: Entering directory
>> `/home/jeff/gnome-shell/source/clutter/tests/micro-b
>> ench'
>> CC test-text.o
>> CCLD test-text
>> /home/jeff/gnome-shell/install/lib64/libgio-2.0.so.0: undefined reference
>> to `g_
>> time_zone_refresh_local'
>> collect2: ld returned 1 exit status
>> make[3]: *** [test-text] Error 1
>> make[3]: Leaving directory
>> `/home/jeff/gnome-shell/source/clutter/tests/micro-bench'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/home/jeff/gnome-shell/source/clutter/tests'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/jeff/gnome-shell/source/clutter'
>> make: *** [all] Error 2
>> *** Error during phase build of clutter: ########## Error running make
>> *** [19/41]
>>
>> anyone else seeing this? already removed all *la files from lib64..
>> first time setting up gnome-shell on a fresh install.. 64bit ubuntu
>> natty beta1, getting gnome-shell via jhbuild.
>>
>> Furthermore, should I file a bug w/ clutter or could this be a
>> gnome/build-env issue?
>>
>> Thanks,
>> Jeff
I figured out the issue was that gio is not included explicitly by the
Clutter confgure.ac so it will pick it up in your system directory
when linking the tests. Using the below change to clutter/configure.ac
I was able to get Clutter built and installed without skipping any
other modules.
Thomas
diff --git a/configure.ac b/configure.ac
index 2576123..56c1dae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -143,7 +143,7 @@ AC_SUBST([XCOMPOSITE_REQ_VERSION], [xcomposite_req_version])
AM_PATH_GLIB_2_0([glib_req_version],
[],
[AC_MSG_ERROR([glib-2.0 is required])],
- [gobject gthread gmodule-no-export])
+ [gobject gthread gmodule-no-export gio])
# Check for -Bsymbolic-functions to avoid intra-library PLT jumps
AC_ARG_ENABLE([Bsymbolic],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]