Bash Anomaly

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Bash Anomaly

Post#1 by Bogomips » 18 Oct 2014, 21:43

In order to run a superseded Ghostscript driver, mirrored just executable gs and needed library files for DSL 7.05 Ghostscript on to xzm module. It happens that executable was on /usr/local/bin. In this regard also have a question, which is why the apps here are on the main on /usr/bin, while the linux bible stipulates they should be on /usr/local/bin?

Activated GSv7.05.xzm and ran gs

Code: Select all

guest@porteus:~$ gs @st640pl.upp -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -sOutputFile=prtc ss_091013.ps -c quit
GNU Ghostscript 7.05 (2002-04-22)
Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Then needed to use Abiword, so deactivated 7.05 xzm, and activated Abiword bundle with usm ghostscript.

Code: Select all

root@porteus:/home/guest# deactivate /mnt/sda4/mods/GSv7.05.xzm
Updating shared library links:  /sbin/ldconfig

root@porteus:/home/guest# activate /mnt/sda1/mods/Abw3.1.xzm 
Updating shared library links:  /sbin/ldconfig
Updating glib schemas: /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
Updating GTK immodules: /usr/bin/update-gtk-immodules
Updating KDE menu: kbuildsycoca
But ghostscript invocation errored out!

Code: Select all

guest@porteus:~$ gs @st640plg.upp -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -sOutputFile=prt Gg_171014.ps -c quit
bash: /usr/local/bin/gs: No such file or directory
However:

Code: Select all

guest@porteus:~$ whereis gs
gs: /usr/bin/gs /usr/X11R6/bin/gs /usr/bin/X11/gs /usr/X11/bin/gs /usr/man/man1/gs.1 /usr/X11/man/man1/gs.1
guest@porteus:~$ which gs
/usr/bin/gs

guest@porteus:~$ /usr/bin/gs @st640plg.upp -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -sOutputFile=prt Gg_171014.ps -c quit
GPL Ghostscript 9.07 (2013-02-14)
Copyright (C) 2012 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
:Search:
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 545
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: Bash Anomaly

Post#2 by phhpro » 18 Oct 2014, 23:30

...

Post Reply