Bug 66342 - Inkscape not properly handling dependencies
|
Bug#:
66342
|
Product: Gentoo Linux
|
Version: 2004.2
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: graphics@gentoo.org
|
Reported By: andrewski@fr.st
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: Inkscape not properly handling dependencies
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-10-04 13:13 0000
|
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?
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*
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 )"