Bug#633533: [savi]: does not start up. Missing binary executable.
> > SaVi 1.4.5-2 > > I can confirm that the problem related to oogl files IS fixed, but > still depends on the existence of /vmlinuz or /boot/vmlinuz file to > start up. If that file MUST exist in a standard Debian installation > (I'm not sure, think of the multi-kernel systems) I should downgrade > the severity to whislist and retitle de bug report. > Yep, this is quite dirty. I will fix it soon. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#633533: [savi]: does not start up. Missing binary executable.
package severity 633533 important thanks On Tue, 12 Jul 2011 08:53:50 +0800 YunQiang Su wrote: > here, on Debian, the $ARCH is "ubuntu", not "unknown", so it > *redefine* SAVIBIN. > > the working directory is /usr/lib/savi. Changing this line to > > SAVIBIN=${SAVI}/bin/SaVi fix things for me. > > > See above ,the author did it. > > Attached is a trace using the original /usr/lib/savi/savi file. > > > It may caused by your /bin/sh, isn't it dash or bash ? > This script get the directory which contains itself first, > stored in $SAVI. > > But if do this job like you, > cd /usr/lib/savi; sh ./savi > the $SAVI will be just "." , then $SAVIBIN will be ./bin/SaVi > > while if "sh /usr/lib/savi/savi" > $SAVI will be /usr/lib/savi > and then $SAVIBIN will be /usr/lib/savi/bin/SaVi > > Was your shell processing these above correctly ? > Yes, my shell is /bin/dash (the standard in Debian). But my shell doesn't process that way because there is NOT /vmlinuz nor /boot/vmlinuz in my system, but /boot/vmlinuz-2.6.39-3. I've realized this after reading your mail. This way [ -f /etc/debian_version ] (line 85) never is evaluated and ARCH remains "unknown", hence SAVI is empty and SAVIBIN set to bin/SaVi. TESTED. Soft-linking /boot/vmlinuz-2.6.39.3 to /boot/vmlinuz, the savi package just as you provide it (aptitude reinstall savi) works. > === > and there is a side effect of your "cd xxx; sh ;" > It will change users PWD, it is offensive. > > === Yes, it was only a quick and dirty solution not a real fix. But I thought it was useful to locate the bug. > I will upload a new version to fix some other problems: > * put all files to /usr/share/savi except the ELF file. > * fix a problem that geomview cannot get oogl files. > > This version may fix your problem, but I am not very sure about it, > so, I will not close this bug in changelog. > You can test it and if it did fix your problem, then we can close > it then. > > SaVi 1.4.5-2 I can confirm that the problem related to oogl files IS fixed, but still depends on the existence of /vmlinuz or /boot/vmlinuz file to start up. If that file MUST exist in a standard Debian installation (I'm not sure, think of the multi-kernel systems) I should downgrade the severity to whislist and retitle de bug report. Best Regards, -- Manolo Díaz -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#633533: [savi]: does not start up. Missing binary executable.
> Well, I think the bug is in the file /usr/lib/savi/savi, line 71. > The variable SAVIBIN is set to bin/SaVi which is only correct when yes, it did, but please note Line 180-181 if [ ! ${ARCH} = "unknown" ]; then SAVIBIN="${SAVI}/${SAVIBIN}" here, on Debian, the $ARCH is "ubuntu", not "unknown", so it *redefine* SAVIBIN. > the working directory is /usr/lib/savi. Changing this line to > SAVIBIN=${SAVI}/bin/SaVi fix things for me. > See above ,the author did it. > Attached is a trace using the original /usr/lib/savi/savi file. > It may caused by your /bin/sh, isn't it dash or bash ? This script get the directory which contains itself first, stored in $SAVI. But if do this job like you, cd /usr/lib/savi; sh ./savi the $SAVI will be just "." , then $SAVIBIN will be ./bin/SaVi while if "sh /usr/lib/savi/savi" $SAVI will be /usr/lib/savi and then $SAVIBIN will be /usr/lib/savi/bin/SaVi Was your shell processing these above correctly ? === and there is a side effect of your "cd xxx; sh ;" It will change users PWD, it is offensive. === I will upload a new version to fix some other problems: * put all files to /usr/share/savi except the ELF file. * fix a problem that geomview cannot get oogl files. This version may fix your problem, but I am not very sure about it, so, I will not close this bug in changelog. You can test it and if it did fix your problem, then we can close it then. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#633533: [savi]: does not start up. Missing binary executable.
On Tue, 12 Jul 2011 03:30:25 +0800 YunQiang Su wrote: > Could you give me more details about how you start it? > > I cannot reproduce it. > Two ways: Alone from the command line: $~ savi SaVi: did not attempt to launch a missing binary executable. please note the home directory Through Geomview $~ geomview -run savi SaVi: did not attempt to launch a missing binary executable. At this point Geomview starts but SaVi doesn't. Now, if I change from home directory to /usr/lib/savi Savi works both ways. Well, I think the bug is in the file /usr/lib/savi/savi, line 71. The variable SAVIBIN is set to bin/SaVi which is only correct when the working directory is /usr/lib/savi. Changing this line to SAVIBIN=${SAVI}/bin/SaVi fix things for me. Attached is a trace using the original /usr/lib/savi/savi file. Best Regards, -- Manolo Díaz #! /bin/sh ## # # SaVi by Lloyd Wood (lloydw...@users.sourceforge.net), # Patrick Worfolk (worf...@alum.mit.edu) and # Robert Thurman. # # Copyright (c) 1997 by The Geometry Center. # Also Copyright (c) 2010 by Lloyd Wood. # # This file is part of SaVi. SaVi is free software; # you can redistribute it and/or modify it only under # the terms given in the file COPYRIGHT which you should # have received along with this file. SaVi may be # obtained from: # http://savi.sourceforge.net/ # http://www.geom.uiuc.edu/locate/SaVi # ## # # Script that is always used to launch the binary SaVi executable # # $Id: savi,v 1.59 2011/04/17 20:47:53 lloydwood Exp $ # # Set locations of tcl and tk library code needed at runtime # Cygwin and Mac OS X are special cases, handled later. # The version numbers used here should match the versions given # in the src/Makefile_defs_ARCH file used to compile SaVi. # Try under /usr/lib and /usr/local/lib. # If using other versions or locations, insert in the next lines. # TCL_LIBRARY="" + TCL_LIBRARY= TK_LIBRARY="" + TK_LIBRARY= if [ ! -d "$TK_LIBRARY" ]; then TCL_LIBRARY=/usr/lib/tcl8.5 TK_LIBRARY=/usr/lib/tk8.5 fi + [ ! -d ] + TCL_LIBRARY=/usr/lib/tcl8.5 + TK_LIBRARY=/usr/lib/tk8.5 if [ ! -d "$TK_LIBRARY" ]; then TCL_LIBRARY=/usr/local/lib/tcl8.5 TK_LIBRARY=/usr/local/lib/tk8.5 fi + [ ! -d /usr/lib/tk8.5 ] + TCL_LIBRARY=/usr/local/lib/tcl8.5 + TK_LIBRARY=/usr/local/lib/tk8.5 if [ ! -d "$TK_LIBRARY" ]; then # Mandriva One 2010 TCL_LIBRARY=/usr/include TK_LIBRARY=/usr/include fi + [ ! -d /usr/local/lib/tk8.5 ] + TCL_LIBRARY=/usr/include + TK_LIBRARY=/usr/include # # If SAVI environment variable is not defined # then set it to be the path of this file # : ${SAVI:=`dirname "$0"`} + dirname /usr/lib/savi/savi + : /usr/lib/savi # # If you copy this script from the SaVi installation and run it # elsewhere, then you should uncomment the following line: # SAVI=/usr/local/savi # and replace /usr/local/savi with the location of # your SaVi installation. # export SAVI + export SAVI # # Default executable relative location and name # SAVIBIN=bin/SaVi + SAVIBIN=bin/SaVi # # Default parameters to pass to executable # params="" + params= # # Check for known machine types # if [ -f /vmlinuz -o -f /boot/vmlinuz ]; then ARCH=linux if [ -f /etc/debian_version ]; then # Ubuntu is the most popular Debian variant. ARCH=ubuntu fi elif [ -d /devices ]; then ARCH=sun elif [ -d /usr/bsd -a -d /usr/sbin ]; then ARCH=irix elif [ -d /cygdrive ]; then ARCH=cygwin elif [ -d /System ]; then ARCH=macosx # Tk in 10.5 Leopard has menubar bugs. # Not required by 10.6 Snow Leopard or 10.4 Tiger users if [ -d /Developer/SDKs ]; then # we can guess version from libraries available if [ ! -d /Developer/SDKs/MacOSX10.6.sdk ]; then # We're not later than 10.5 if [ -d /Developer/SDKs/MacOSX10.5.sdk ]; then # We are 10.5 - use popup menus instead. # Comment out these lines if ActiveTcl is installed # and SaVi has been compiled with it - see src/Makefile_defs_macosx echo "SaVi: using popup menus to work around a Mac OS X 10.5-specific problem." >&2 params="-redrawn-menus ${params}" fi fi fi elif [ -d /sys/boot ]; then ARCH=freebsd else ARCH=unknown fi + [ -f /vmlinuz -o -f /boot/vmlinuz ] + [ -d /devices ] + [ -d /usr/bsd -a -d /usr/sbin ] + [ -d /cygdrive ] + [ -d /System ] + [ -d /sys/boot ] + ARCH=unknown # are we 64-bit? Known to affect linux installs. MACHINE=`uname -m` + uname -m + MACHINE=x86_64 KNOWN64=x86_64 + KNOWN64=x86_64 SIXTYFOUR=no + SIXTYFOUR=no if [ ${MACHINE} = ${KNOWN64} ]; then SIXTYFOUR=yes fi + [ x86_64 = x86_64 ] + SIXTYFOUR=yes # # Set platform-specific Tcl/Tk locations if needed # if [ ${ARCH} = "cygwin" ]; then # Cygwin installs Insight Tcl/Tk here. TCL_LIBRARY=/usr/share/tcl8.4 TK_LIBRARY=/usr/share/tk8.4 elif [ ${ARCH} = "macosx" ]; then # Mac OS X installs librar
Bug#633533: [savi]: does not start up. Missing binary executable.
Could you give me more details about how you start it? I cannot reproduce it. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#633533: [savi]: does not start up. Missing binary executable.
Package: savi Version: 1.4.5-1 Severity: grave Hi, When I try to start savi this is what you read: SaVi: did not attempt to launch a missing binary executable. After editing /usr/bin/savi and replacing sh /usr/lib/savi/savi $* with cd /usr/lib/savi sh ./savi $* the application starts. Best Regards, Manolo. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (1001, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.39.3 (SMP w/2 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages savi depends on: ii libc6 2.13-7 Embedded GNU C Library: Shared lib ii tcl8.5 8.5.10-1 Tcl (the Tool Command Language) v8 ii tk8.5 8.5.10-1 Tk toolkit for Tcl and X11, v8.5 - ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime savi recommends no packages. Versions of packages savi suggests: pn geomview (no description available) -- debconf-show failed -- Manolo Díaz -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org