I have a linux system at my workplace with pretty old packages and no root access. I\'m compiling packages that I need from source with --prefix=[somewhere in homedir]
--prefix=[somewhere in homedir]
Usually you can pass additional compiler flags inside CXXFLAGS. For gcc you can specify more include directories with -I/some/dir, e.g.
CXXFLAGS
gcc
-I/some/dir
$ ./configure CXXFLAGS="-I/some/dir/"
where /some/dir/ contains your headers.
/some/dir/