Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66342 - Inkscape not properly handling dependencies
Summary: Inkscape not properly handling dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-04 13:13 UTC by Andrew Conkling
Modified: 2004-12-22 14:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Conkling 2004-10-04 13:13:29 UTC
Hi, I got the following error while trying to install media-gfx/inkscape-0.37:

checking for gtk+-2.0 >= 2.0.0  libart-2.0 >= 2.3.10  libxml-2.0 >= 2-2.4.24  sigc++-1.2... Package sigc++-1.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sigc++-1.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sigc++-1.2' found

configure: error: Library requirements (gtk+-2.0 >= 2.0.0  libart-2.0 >= 2.3.10  libxml-2.0 >= 2-2.4.24  sigc++-1.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

Sure enough, I didn't have dev-libs/libsigc++ installed on my system.  However, shouldn't the ebuild have pulled that in as a dependency?
Comment 1 Markus T. 2004-11-06 22:47:46 UTC
Same thing here on amd64.
The problem is, that libsigc++2.0.1 and 2.0.5 are stable on amd64,
but inkscape needs version 1.2.x to be build.
The line (from the ebuild):
>=dev-libs/libsigc++-1.2
should be:
=dev-libs/libsigc++-1.2*
Comment 2 Michael Hordijk 2004-12-14 18:59:07 UTC
I ran into the same problem using amd64.  Creating an inkscape-0.37-r1.ebuild in my overlay directory that had the change in Comment #1 solved the problem for me.  libsigc++-1.2 is slotted, and as such doesn't seem to cause any problems.  Either way, the current 'stable' ebuild for inkscape is broken on a standard amd64 system.

The patch is simple enough that I can put it right here:

--- media-gfx/inkscape/inkscape-0.37.ebuild     2004-06-24 19:06:41.000000000 -0400
+++ media-gfx/inkscape/inkscape-0.37-r1.ebuild  2004-12-14 21:47:41.477739000 -0500
@@ -21,7 +21,7 @@
        dev-libs/popt
        sys-libs/zlib
        media-libs/libpng
-       >=dev-libs/libsigc++-1.2
+       =dev-libs/libsigc++-1.2*
        gnome? ( >=gnome-base/libgnomeprint-2.2
                >=gnome-base/libgnomeprintui-2.2 )"
Comment 3 Hanno Böck gentoo-dev 2004-12-22 14:16:25 UTC
fixed