package severity 633533 important thanks On Tue, 12 Jul 2011 08:53:50 +0800 YunQiang Su <wzss...@gmail.com> 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 xxxx;" > 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