But the path is not getting appended.Moreover, i get the following output:
bash: /usr/bin:/home/ravi/bin:/usr/local/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin: No such file or directory
But i checked that all the directories do exist.Any clues?
$PATH = “/home/ravi/bin/CodeSourcery/Sourcery_G++_Lite/bin/:$PATH”
export PATH
should be:
PATH = “/home/ravi/bin/CodeSourcery/Sourcery_G++_Lite/bin/:$PATH”
export PATH
or better yet
export PATH = /home/ravi/bin/CodeSourcery/Sourcery_G++_Lite/bin/:$PATH
the “No such file or directory” from the way you did it originally makes sense to old unix weenies, the “$” denotes the value of the variable. In essence, simply typing “$PATH” in a konsole is the equivalent of typing the whole value of your path and hitting enter.
dgholstein wrote:
>> $PATH = “/home/ravi/bin/CodeSourcery/Sourcery_G++_Lite/bin/:$PATH”
>> export PATHshould be:> PATH = “/home/ravi/bin/CodeSourcery/Sourcery_G++_Lite/bin/:$PATH”
>> export PATHor better yet> export PATH = /home/ravi/bin/CodeSourcery/Sourcery_G++_Lite/bin/:$PATHthe “-No such file or directory-” from the way you did it originally
> makes sense to old unix weenies, the “$” denotes the value of the
> variable. In essence, simply typing “$PATH” in a konsole is the
> equivalent of typing the whole value of your path and hitting enter.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org