libglade dependency (was Re: [distcc] distcc-2.11.1 on Solaris)

Martin Pool mbp at sourcefrog.net
Wed Oct 8 14:08:47 GMT 2003


On  8 Oct 2003, Dimitri Papadopoulos-Orfanos <papadopo at shfj.DECOY.cea.NOSPAM.fr> wrote:
> Hi,
> 
> I am unable to build distcc-2.11.1 with GTK+ support on Solaris because 
> it seems there is a dependency on Glade. Glade is not part of GTK+ and 
> is probably not available precompiled for Solaris:
> 
> $ ./configure --with-gtk --without-gnome
> checking build system type... sparc-sun-solaris2.8
> checking host system type... sparc-sun-solaris2.8
> checking version of gtk+-2.0... 2.2.4
> checking version of libglade-2.0... sh: gnome-config: not found
> Package libglade-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libglade-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libglade-2.0' found
> configure: error: libglade-2.0 was not found by pkg-config
> $
> Can this Glade dependency be removed in the case of --with-gtk? Indeed 
> Glade depends on Gnome as far as I know, so if you need Glade you 
> already have Gnome - and the --with-gtk option doesn't make sense. If 
> you cannot get rid of this Glade dependency, I suggest discarding 

No, it's quite possible to have libglade without libgnome.  Debian has

> Package: libglade0
> Priority: optional
> Source: libglade
> Version: 1:0.17-2.10
> Depends: libc6 (>= 2.3.2-1), libglib1.2 (>= 1.2.0), libgtk1.2 (>= 1.2.10-4), libxml1 (>= 1:1.8.14-3), xlibs (>> 4.1.0), zlib1g (>= 1:1.1.4)
> Filename: pool/main/libg/libglade/libglade0_0.17-2.10_i386.deb
> Size: 59178

The dependency can be removed only by doing by hand some things
currently done by libglade.

Let's see what the Gentoo people have to say.  They're likely to want
GTK+-only as well.

--
Martin



More information about the distcc mailing list