I need to setup Quartus 13.0.1 on a Debian 8.7.1 system and I followed the guide at this wiki.
After installing I need to setup a proper path and the wiki suggests to add the following code to ~/.bashrc
:
export ALTERAPATH="/opt/quartus/altera/13.0sp1/"
export ALTERAOCLSDKROOT="${ALTERAPATH}/hld"
export QUARTUS_ROOTDIR=${ALTERAPATH}/quartus
export QUARTUS_ROOTDIR_OVERRIDE="$QUARTUS_ROOTDIR"
export PATH=$PATH:${ALTERAPATH}/quartus/bin
export PATH=$PATH:${ALTERAPATH}/nios2eds/bin
export PATH=$PATH:${QSYS_ROOTDIR}
and then just call quartos
frim a terminal. The problem is that for some reason this doesn't work, and even if I launch the application by specifying the whole path from my terminal the program needs to call other modules from the installation directory and the system can't get there.
I noticed by using the env
command that my path results like so:
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/quartus/altera/13.0sp1//quartus/bin:/opt/quartus/altera/13.0sp1//nios2eds/bin:
but I can't seem to get rid of the double forward slashes (I'm not sure they're normal).
How should I format my files to have a properly setup path to a modular program with a not-standard file structure?
ALTERAPATH
definition having a/
at the end of it. Remove that/
.