| Summary: | stx not found: smalltalkx (~x86) fails to run (with workaround) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | katerina <kllba> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | marko |
| Priority: | Low | ||
| Version: | 1.2 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
katerina
2002-12-06 13:33:22 UTC
Can't get around to fixing this anytime soon, sorry. Marko any ideas on this ? Hi,
I think the best way is to fix the /usr/bin/smalltalk file with:
STX=stx
#### here ####
STX_LIBDIR=${STX_LIBDIR-/opt/smalltalk/4.1.4/lib}
STX_BINDIR=.
DEBUGGER=
if test -x `dirname $0`/stx; then
STX_BINDIR=`dirname $0`
STX=$STX_BINDIR/stx
#### and here ####
cd $STX_BINDIR
fi
I tried to add
dosed "s:STX_LIBDIR-/var/tmp/portage/smalltalkx-4.1.4/image/:STX_LIBDIR-:g" ${D}/opt/smalltalk/${PV}/bin/smalltalk
dosed "s:# cd $STX_BINDIR: cd $STX_BINDIR:g" ${D}/opt/smalltalk/${PV}/bin/smalltalk
but without success. Where can I find documentation on "dosed" ?
Marko
katerina, sorry for the extended delay on this. if you emerge sync and re-emerge this, you will find that it will work. You may have to run: env-update && source /etc/profile though. |