Environment variables
Trying to install FDR2 for the trace refinement of CSP Scripts so far have downloaded the software....
Before I go into this I'll tell you all my setup so far: Fedora core 10 as a guest (virtualized) OS on top of Vista (Host) Have extracted the fdr2 folder from the tar.gz archive and have placed it on my desktop. Have tried to install using terminal: cd /home/Tom/Desktop/fdr2/scripts/fdr2 chmod 755 fdr2 ./fdr2 Though it comes up with FDRHOME must be set to the directory containing the fdr installation. I have researched this and have found that fdrhome needs to be set as an environment variable; unfortunately I have no idea how to set env. vars in fedora core 10, can any1 help? |
In linux you can set shell variables in many ways, depending on the shell you use (there are many).
You can set it at run time by putting it in front of the command itself, this way: Code:
FDRHOME=/path/to/fdr2/ ./frd2 Code:
export FDRHOME="/path/to/fdr2" Code:
exec bash Code:
echo $FDRHOME |
to set an env variable
export VAR=value But this software might need write access to a folder. So, try creating a new folder mkdir /home/Tom/fdr export FDRHOME=/home/Tom/fdr Try running the install program after that. You can put "export FDRHOME=/home/Tom/fdr" inside /home/Tom/.bashrc so that it is set when you login next time. |
Thanks for your help once I had installed dnmouse's autoten rpm and used the add sudo with password option I was then able to run your specified command.
Many thanks, Tom |
can you help me installing FDR2 tool, i got the same error and am not able to fix it.
|
Please, look at the info above, and tell us what's failing and what did you try. Output messages will help us to help you. Describe exactly what you did.
|
All times are GMT -5. The time now is 09:57 AM. |