Re: 2.10.0 build fails on control-center



tir, 15 03 2005 kl. 16:51 +0100, skrev Mark Rosenstand:
> On Tue, 2005-03-15 at 16:20 +0100, Henning C. Nielsen wrote:
> > man, 14 03 2005 kl. 16:15 +0000, skrev Matthew Strachan:
> > > /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to 
> > > `g_option_group_add_entries'
> > > collect2: ld returned 1 exit status
> > > make[5]: *** [gnome-settings-daemon] Error 1
> > > make[5]: Leaving directory 
> > > `/home/mat/src/garnome-2.10.0/desktop/control-center/work/main.d/control-center-2.10.0/gnome-settings-daemon'
> > > make[4]: *** [all-recursive] Error 1
> > > make[4]: Leaving directory 
> > > `/home/mat/src/garnome-2.10.0/desktop/control-center/work/main.d/control-center-2.10.0/gnome-settings-daemon'
> > > make[3]: *** [all] Error 2
> > > make[3]: Leaving directory 
> > > `/home/mat/src/garnome-2.10.0/desktop/control-center/work/main.d/control-center-2.10.0/gnome-settings-daemon'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory 
> > > `/home/mat/src/garnome-2.10.0/desktop/control-center/work/main.d/control-center-2.10.0'
> > > make[1]: *** [all] Error 2
> > > make[1]: Leaving directory 
> > > `/home/mat/src/garnome-2.10.0/desktop/control-center/work/main.d/control-center-2.10.0'
> > > make: *** [build-work/main.d/control-center-2.10.0/Makefile] Error 2
> > > 
> > > 
> > 
> > This looks like you have two versions of glib installed. I have this
> > problem too on Gentoo. Gar doesn't look at the gar libs first.
> > 
> > The quick and dirty workaround is to quickpkg glib an unmerge
> > (uninstall) it while compiling and the emerge (install) it afterwards.
> > That works for me anyway.
> > 
> > If you use another distribution I am sure you can translate the above to
> > that.
> > In short: Make sure Gar uses the glib version included with Garnome.
> > 
> > I haven't found another solution. Please tell if there is one more
> > appropriate way of doing this.
> > 
> 
> You could make ld look for libs in the GARNOME dir first.
> 
> Bourne shells:
> export LD_LIBRARY_PATH="/path/to/garnome/lib:$LD_LIBRARY_PATH"
> 
> C shells:
> setenv LD_LIBRARY_PATH /path/to/garnome/lib:$LD_LIBRARY_PATH
> 

I think I tried that at some point and went into another problem.
I will definitely try this in the garnome 2.11 releases.

Thanks. 



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