Redhat 7.1 Ninja required
Could anybody tell what, if anything, is wrong with this script. It simply will not run a file called xoac after setting the path to the required directory ie: \usr\angoss\bin and ensuring it had correct permissions. All i got was file not found or no such directory.
I have had no luck with the software distributors support just simply won't work ?
NB: This script ran fine in older versions of linux - but in RH 5.1 it needed some libraries connecting. Me thinks that the newer versions of Linux are slightly different with the syntax - could this be ?
Here's the script.........
# SID "@(#)xangoss.sh 3.2 - 95/07/06"
if [ $# = 0 ]; then
if [ X"$1" = X-x ] ; then
$x [-x] [s or w or d or c] [-a<command>] [-d<dir>] [-oa<size>] [-oe]
[-od<file>] [-oi] [-om<menu>] [-os<num>] [-ot<size>]
Starts SmartWare PLUS in graphics mode (X11).
-x Display this explanation
s Start Spreadsheet (must be first argument)
w Start Word Processor (must be first argument)
d Start Data Base (must be first argument)
c Start Communications (must be first argument)
-a<command> Run a command ("-afile load \"mydoc\"")
-d<dir> Data directory (-d/usr/mydir)
-oa<size> Value stack size (-oa1000)
-oe Default project execution mode = in-memory
-od<file> Special start up screen (-odmyfile)
-oi Suppress start up screen (-oi)
-om<menu> Optional menu (-ommymenu)
-os<num> Override detection of speech rec. software
-ot<size> String stack size (-ot1000)
-p<file> Run project upon entry (-pstart)
-RAD<path> Home directory of RAD application to start
-pulldown Run with pulldown menus
NOTE: For the above agruements, do not put a space between the flag and
-geometry WxH Change the size (in characters) W=Width, H=Height
-font fontname Change the font to use
exec xoac $*&
Try changing that line to:
or alternatively, add /usr/angross/bin to your PATH
Was " \usr\angross\bin " a typo?
Yeah just a typo, ooops, just keeping you on your toes, (too much of the M word).
Anyhow, tried that now all I get is..............nothing - no errors, but no nothing either ?
Tried taking out the if statement also tried replacing xoac with ./xoac and ./xoac &, there is some progress here ie: it now does nothing at all, by which I mean there are no errors returned however nor is the programme running either.
There are instructions that say set your paths and display environment like this:
Are these valid - they appeared to be accepted ?
This is old software it's called Angoss Smartware Plus (a cross platform development suite including database, spreadsheet, comms and wordprocessor) - it used to run fine on older versions of RH (5.1 or before) and other linux platforms, but now for some reason it won't run on the newer versions. Could it be a library link or path problem ?
The main errors I get are No such file or directory. But now there are no errors at all, but no programme, even when I reverse the amendments to the file I still get no errors ?
Talk about a bit bemused i've just found this at one of the download site ftp://ftp.angoss.com/pub/smartware/demos/linux/:
BTW, the X version requires X11R6.
I guess this is the release of X11 it needs ?
Please Help :confused: :confused: :confused:
Is there a verbose or debug mode for the 'xoac' program?
Is it logging anything in /var/log/messages when you run it?
|All times are GMT -5. The time now is 02:14 PM.|