First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 109933
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: TCL/TK Herd Maintainers <tcltk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Fernandez <rek2@binaryfreedom.info>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
snack-2.2.9-fix-libdir.patch Adds --libdir=/usr/lib to myconf patch Andy Kissner 2005-10-20 12:56 0000 378 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 109933 depends on: Show dependency tree
Bug 109933 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-20 09:47 0000
the application WaveSurfer all versions complains that can't find snack 2.2
librarys and wavesurfer wont start and crash with an error.


Reproducible: Always
Steps to Reproduce:
1. emerge snack
2. emerge wavesurfer
3. from X windows/KDE run wavesurfer

Actual Results:  
Error in startup script: can't find package snack
    while executing
"package require snack"
    (file "/usr/lib/wsurf1.8/wsurf.tcl" line 10)
    invoked from within
"_source /usr/lib/wsurf1.8/wsurf.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel _source [list $file]"
    (procedure "source" line 5)
    invoked from within
"source /usr/lib/wsurf1.8/wsurf.tcl"
    ("package ifneeded" script)
    invoked from within
"package require -exact wsurf $version"
    (file "/usr/bin/wavesurfer" line 2579)

Expected Results:  
to run :-)

we notes that snack installs his libraries under /lib INSTAED of /usr/lib
so what we did in the mean time is a small hack linking:
ln -s /lib/snack2.2 /usr/lib/snack2.2

run wavesurfer and it works..
We report this so the ebuild for SNACK can be fix to install in /usr/lib
not on /usr.
we are about to maintain 28 gentoo desktops and we will like this fix so we dont
have to hack all instaltions.

Thanks

------- Comment #1 From Andy Kissner 2005-10-20 12:56:43 0000 -------
Created an attachment (id=71090) [edit]
Adds --libdir=/usr/lib to myconf

I doubt that this is acceptable for the mainstream tree, but here's a patch
that will at least get snack working at your local site (i.e. installed at
/usr/lib)

------- Comment #2 From Christian Fernandez 2005-10-20 23:43:51 0000 -------
hmm they should make it official cause anyone in the world that will try to run
wavesurfer will get this issue... is very easy to reproduce.
thanks for the patch... but if you think about it.. if they not going to fix the
ebuild is kind of better to just go ahead and do symlinks, if not just think
about the tedious job to have 20 gentoo boxes and having to be modifing ebuilds.
I kind of rather do symlinks.
But really they should fix this so it will create the symlinks in the ebuild so
other applications will be able to find Snack libs.

Cheers

------- Comment #3 From Diego E. 'Flameeyes' Pettenò 2005-12-18 13:18:11 0000 -------
tcltk herd, why does it install in /lib ?

------- Comment #4 From Jakub Moc (RETIRED) 2006-03-22 03:07:51 0000 -------
*** Bug 127165 has been marked as a duplicate of this bug. ***

------- Comment #5 From Jakub Moc (RETIRED) 2006-03-22 03:09:13 0000 -------
Not a wavesurfer bug, snack needs to be fixed. Re-assigning.

------- Comment #6 From bohux 2006-08-23 01:43:06 0000 -------
export TCLLIBPATH="/lib/snack2.2" solved the problem for me (for bash).

------- Comment #7 From Jakub Moc (RETIRED) 2006-09-10 14:34:37 0000 -------
Not so hard to fix, I guess?

<snip>
- inherit eutils
+ inherit eutils multilib

...

-       econf ${myconf} || die "configure failed"
+       econf ${myconf} --libdir="/usr/$(get_libdir)"
--includedir="/usr/include" || die "configure failed"
</snip>

------- Comment #8 From MATSUU Takuto 2006-09-14 16:38:44 0000 -------
sorry for delay.
fixed it

------- Comment #9 From MATSUU Takuto 2006-09-14 16:39:27 0000 -------
*** Bug 136541 has been marked as a duplicate of this bug. ***

------- Comment #10 From Jakub Moc (RETIRED) 2006-09-27 03:03:08 0000 -------
*** Bug 149275 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug