Togl

/opt/src/togl/Togl-1.7 # ./configure --with-tcl=/usr/lib64/tcl8.5 \
--with-tk=/usr/lib64 --prefix=/opt/sw/Togl/1.7

make 
make install 
cp libTogl1.7.so /opt/sw/Togl/1.7/
cd /opt/sw/Togl/1.7 
ln -s libTogl1.7.so libTogl.so

Netgen

umask 0022
CC=icc CXX=icpc ./configure --with-tcl=/usr/lib64/tcl8.5 \
--with-tk=/usr/lib64 --with-togl=/opt/sw/Togl/1.7 --prefix=/opt/sw/netgen/5.3.1 \
--libdir=/opt/sw/netgen/5.3.1/lib --enable-jpeglib

Ngsolve

umask 0022
CC=icc CXX=icpc CFLAGS=-L/opt/sw/netgen/5.3.1/lib CXXFLAGS=-L/opt/sw/netgen/5.3.1/lib \
./configure --with-tcl=/usr/lib64/tcl8.5 --with-netgen=/opt/sw/netgen/5.3.1 \
--prefix=/opt/sw/ngsolve/5.3.1/ --libdir=/opt/sw/ngsolve/5.3.1