Here's a session example for a version of gcc:
cd /tmp wget ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.2.2/gcc-3.2.2.tar.bz2 (the exact URL can differ per version) mkdir /astromake/opt/gcc (in case it didn't exist) tar jxf gcc-3.2.2.tar.bz2 (more newer ones will use bz2 extensions) tar jxf gcc-3.4.3.tar.bz2 for those.... cd gcc-3.2.2 mkdir _build ../configure --prefix=/astromake/opt/gcc/3.3.2 --enable-threads --enable-languages=c,c++,f77 make bootstrap make make install edit the /astromake/opt/gcc/VERSIONS file to have an entry for 3.2.2 edit the /astromake/status/gcc to contain the default (e.g. 3.2.2) astroload -v see if you new package version shows upand now you're set. The command 'astroload -v 3.2.2 gcc' should now load this version in your path, check by using the command "which gcc" or "gcc -v".
bash: setenv: command not found bash: astromake_start: line 9: syntax error near unexpected token `set' bash: astromake_start: line 9: ` if ($path != $ASTROMAKE/bin) set path=(. $ASTROMAKE/bin $path[2-])'yes, this is because your shell is bash, and you should be using tcsh. I don't support bash too well yet. You can either temporarely issue the command tcsh, and work within that shell, or with the command chsh change your shell.
setenv LD_LIBRARY_PATH directory_in_which_pgplot.so_isThe command 'ldd' will show you where an executable finds it shared libraries.