problem with multiple macports installations

Daniel J. Luke dluke at geeklair.net
Tue Dec 18 12:58:40 PST 2007


On Dec 18, 2007, at 3:55 PM, jiho wrote:
>> if you didn't build with --with-tclpackage set so that your two  
>> installs have separate package directories, that could be causing  
>> your problem.
>
> Hi, could you elaborate a bit on that. I have the exact same problem  
> with:
> - two macport trees: /opt/local/ installed as a regular install and / 
> opt/local-exp installed from source with --prefix=/opt/local-exp/
> - no ~/.macports
> - the sources in both ${prefix}/etc/macports.conf are pointing to  
> the correct location
> and still the port command in /opt/local/bin/port lists the content  
> of /opt/local-exp/
>

You need to rebuild port (ideally twice).

Soemthing like:

./configure --prefix=/opt/local --with-tclpackage=/opt/local/share/tcl
and
./configure --prefix=/opt/local-exp --with-tclpackage=/opt/local-exp/ 
share/tcl

should work
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20071218/32944fda/PGP.bin


More information about the macports-users mailing list