My company uses a small out-dated cluster (CentOS 5.4) to do number crunching (finite element calculations to be more specific). They are using a commercial package and have no idea of Linux. They don't want to change anything on the machines as long as they run, which I accept as a time-effective policy. I do not have administrative rights.
I can have them install smaller packages, but not change e.g. the python version from 2.4 to 2.6+, so I decided to compile the current version (./configure --prefix=/home/mysuser/root2
) and ran into a few problems with the dependencies (wrong version of e.g. readline, zlib, curses, bz2 ... or packages not found). I also need to update gcc which complaines about missing GMP
, MPFR
and MPC
.
The reason for doing this is I'd like to compile other test software to do run on these machines. What can I do to effectively install the packages I need in order to compile the software I need to work with? I'm elsewhere using archlinux and would find it quite handy to be able to do something along the lines
pacman --root /home/myuser/root2 -S <package>
But I have no idea if this is possible or clever.
Other related SE questions: gentoo-prefix and pkgsrc seem to be not so easy (I may be wrong, though).
./configure --prefix ...; make; make install
but I'm looking for a way that simplifies the dependency resolution. – Sebastian Apr 02 '12 at 08:40