[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Thanks very much for detaile reply, but am still a little unsure what to do. I have found env.ksh in /opt/OpenCASCADE5.2/ros/env.ksh but what should I do with it? You are going to have to spell it out for me if you have the time. Thanks Aaron ----- Original Message ----- From: "Simon Waters" <simon@xxxxxxxxxxxxxx> To: list@xxxxxxxxxxxxx Subject: Re: [LUG] Environmental variable? Date: Tue, 15 Nov 2005 18:26:48 +0000 > > aaron Moore wrote: > > > > Am trying to install open cascade to suse 9.3. I think I have > > acheived istallation, however the last step is: > > > > The installation procedure does not configure your UNIX system > > environment automatically. To set the necessary system environment, > > add the contents of $CASROOT/env.csh or env.ksh file to your shell rc > > file. > > > > Can anyone explain how to go about this? I can't find > > $CASROOT/env.csh nor do I what/where my shell rc file is. > > Okay "env.ksh" is a Korn Shell file, that is close enough to bash shell > you can probably use it as is. > > (I'm assuming you have bash as your default shell, probably, try "echo > $0" if in doubt). > > 'csh' is evil, ignore it and it will go away eventually ;) > > You could make this change system wide in "/etc/profile" but probably > better to do it for yourself first in the ".bashrc" file in your home > directory, rather than messing up logging in for everyone for ever. > > Easiest if to add a line something like; > > . /pathtofile/env.ksh > > (dot space full_filenmame) > > to the file. Save the change, then type "bash" to create a new bash > shell. Then "set | grep -i CAS" will likely show you some cascade > environment variables. > > As that will source the environment variable from the file, and > hopefully that file will be updated if they upgrade the software. > > Although obviously then anyone who gets write access to the "env.ksh" > file can do nasty things to you when you open a "bash" shell. > > As to what cascade is, or where the "env.ksh" file is likely to be, I > can't help you, if all else fails "find / -name "env.ksh" as root, and > wait...... > > If this all sounds scary, just find the "env.ksh", open a terminal > Windows, type the ". /pathtofile.../env.ksh" and then type "cascade" or > whatever the relevant command is. > > -- > The Mailing List for the Devon & Cornwall LUG > Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the > message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html -- ______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html