Simon Ruderich <simon@ruderich.com> writes:
I'm trying to install multiple ports installations for testing purposes but it doesn't work.
First I installed a port installation with the normal ./configure && make .. procedure and then another port with ./configure --prefix=/opt-test. But now the first port installation also loads the files from the second one and I can't have two separate installations.
How can I fix this?
Thanks for your help, Simon
Just if anybody else is trying to do this. I figured it out and it works with the following command:
./configure --prefix=NEW_PREFIX --with-tclpackage=NEW_TCLPATH
NEW_PREFIX must be different then /opt/local (if you used the default install) and NEW_TCLPATH must differ from /Library/Tcl.
Also be sure to use $PATH without /opt/local/bin (default install) or ./configure will fail. I think the best is the default path:
PATH=/bin:/sbin:/usr/bin:/usr/sbin
Is this worth writing a FAQ entry for? Mark