Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 127165

Summary: dev-tcltk/snack installs to wrong path
Product: Gentoo Linux Reporter: Thomas Frenzel <syslock>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Frenzel 2006-03-22 03:03:17 UTC
Overview Description:

The ebuild dev-tcltk/snack installs its libraries to "/lib/" instead of "/usr/lib/". Tcl-Programs that require dev-tcltk/snack e.g. media-sound/wavesurfer cannot find it in that place.

Steps to Reproduce:

$ emerge dev-tcltk/snack
$ tclsh
% package require snack
can't find package snack

Expected Results: 

$ emerge dev-tcltk/snack
$ tclsh
% package require snack
2.2

Fix/Workaround:

$ diff -u /usr/portage/dev-tcltk/snack/snack-2.2.10.ebuild /usr/local/portage/dev-tcltk/snack/snack-2.2.10.ebuild
--- /usr/portage/dev-tcltk/snack/snack-2.2.10.ebuild    2006-03-03 17:38:08.000000000 +0100
+++ /usr/local/portage/dev-tcltk/snack/snack-2.2.10.ebuild      2006-03-22 11:32:21.000000000 +0100
@@ -34,7 +34,7 @@
                myconf="${myconf} --with-ogg-lib=${ROOT}/usr/$(get_libdir)"
        fi

-       econf ${myconf} || die "configure failed"
+       econf ${myconf} --libdir="/usr/lib" --includedir="/usr/include" || die "configure failed"
        emake || die "make failed"
 }
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-22 03:07:51 UTC

*** This bug has been marked as a duplicate of 109933 ***