problem with multiple macports installations

jiho jo.irisson at gmail.com
Tue Dec 18 13:30:24 PST 2007


On 2007-December-18  , at 21:58 , Daniel J. Luke wrote:
> 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

Thanks it works indeed. I've only done the first one and everything  
seems to be working correctly. I'll do the second install too anyway,  
just to be sure and because I need to upgrade it to 1.6 no matter what.
Thanks again (IMHO, this deserves a FAQ somewhere)

JiHO
---
http://jo.irisson.free.fr/




More information about the macports-users mailing list