[TriLUG] Installing gtkmm-1.2.10

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Wed May 26 06:00:22 EDT 2004


On Wed, May 26, 2004 at 12:09:02AM -0400, Wesley Zhang wrote:
> While I am installing gtkmm, I get "configure: error: Libsigc__ is 
> required to compile GtK--, If libsigc++ was installed but no found to be 
> sane, most likely you have not placed the /usr/local/lib in the library 
> config file and run ldconfig" when ./configure is run.

First we need to establish which versions of these libraries you have
installed and which versions you're compiling against. On my Debian Sid
workstation, three different versions of libsigc++ coexist:

ii  libsigc++-1.2-5c102      1.2.5-1
ii  libsigc++-1.2-dev        1.2.5-1

ii  libsigc++-2.0-0          2.0.2-1
ii  libsigc++-2.0-dev        2.0.2-1

ii  libsigc++-dev            1.0.4-6.1
ii  libsigc++0c102           1.0.4-6.1

The oldest version, 1.0.4, uses a sigc-config.
The old stable version, 1.2.5, uses pkg-config.
The new stable version, 2.0.2, uses pkg-config.

More than likely you're attempting to install (I presume you mean
compile?) a version of Gtk-- that relies on a newer version of libsigc++
[development libraries and header files] than what you have installed.

> I have libsigc++ installed. My question is where is the library config 
> file it's talking about.

This depends on the version of Gtk-- you're trying to install based on
the version(s) of libsigc++ devel libraries and headers installed.

Generally speaking, the libsigc++ pkg-config (.pc) files are in the
system-wide pkg-config path, which here is /usr/lib/pkgconfig/ :

/usr/lib/pkgconfig/sigc++-1.2.pc

/usr/lib/pkgconfig/sigc++-2.0.pc

Hope this helps.

-- 
Daniel T. Chen          crimsun at fungus.sh.nu
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20040526/dbede4da/attachment.pgp>


More information about the TriLUG mailing list