-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi, 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 - -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGj60AYRX4BO+zMikRCi2JAKDHE6KK3v7lQ4wcE54999Lxc68u/QCg1YXv ImxAm4NgA5LY41f3FN7cAQg= =owUS -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Simon Ruderich wrote:
Hi,
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 Hope this helps, Simon - -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGvGViYRX4BO+zMikRCubRAJwL/4GVpQ2U/vlPIVSkdJlqMJKUDACdEmCZ +IU51Z9inhEhfB15BZ/xBkM= =Ra2N -----END PGP SIGNATURE-----
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 markd@macports.org wrote:
Simon Ruderich <simon@ruderich.com> writes:
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
I think so. Even if it's useless for normal users but developers will benefit of this. To test a new Portfile it's best to try it on a clean system but normally I don't want to remove all my installed ports for this, so an own port installations is handy. It cost me some time figure it out even if it's real simple. So I think a FAQ entry would be good. Thanks, Simon - -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGvIcOYRX4BO+zMikRCip6AJ47QTD45ynLZC36pVVNNXHxTg4sMACgrMUW 4cNn8rrMwROUhkHR/0tJM8Q= =Viyc -----END PGP SIGNATURE-----
participants (2)
-
markd@macports.org
-
Simon Ruderich