Re: [gnome-love] error in gvfs module building GNOME 2.91.2 on Ubuntu 10.10



On Sun, 2010-11-14 at 16:56 -0800, Adam Dingle wrote:
I also had to add gsettings-desktop-schemas as a dependency of
gnome-desktop-3 in the same modules file.

Good pick up. I fixed that:
http://git.gnome.org/browse/jhbuild/commit/?id=c2ee31ff779b74e353aa55c586380d41952fa0ef

        /home/adam/gnome/install/lib64/libgio-2.0.so: undefined
        reference to `g_source_get_time'
        
        I investigated a bit.  The failing linker command line
        includes these shared libraries (among many others):
        
        /home/adam/gnome/install/lib64/libgio-2.0.so
        /usr/lib/libgudev-1.0.so
        /usr/lib/libudev.so
        /usr/lib/libglib-2.0.so

I have a few suggestions:

1. JHBuild should set LDFLAGS for you. (i.e. LDFLAGS=-L/opt/gnome/lib64)
With LDFLAGS set the build should link /usr/lib/libgudev-1.0.so with
JHBuild's /opt/gnome/lib/libglib-2.0.so.

Check the runtime dependencies with:
jhbuild run ldd /opt/gnome/libexec/gvfsd-gphoto2

2. I wish gudev was separate from udev. I've got around the problem by
building udev same version as installed distro packages, but don't make
install. Manually copy the gudev parts to /opt/gnome.

3. But if the above doesn't work because your distro's udev is too old,
you've just met a big problem with JHBuild (that I'm trying to solve).
You need a new udev to build GNOME - but you can't build, sandbox and
run two udevs as udev is too low level. It's not just udev that has this
too-low-level problem, it's also DeviceKit, UPower, etc.
More info here:
https://bugzilla.gnome.org/show_bug.cgi?id=581515
I don't know the solution to 3. Probably set up a virtual machine
sandbox (there isn't any documentation to help) or newer distro.

Happy building and thank you for filing JHBuild bugs.
-- 
Craig Keogh <cskeogh adam com au>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]