Error installing MacPorts to alternate prefix

Joshua Root jmr at macports.org
Wed Apr 2 15:12:39 PDT 2014


On 2014-4-3 05:14 , Craig Treleaven wrote:
> At 7:24 PM +0200 4/2/14, Clemens Lang wrote:
>> ...
>>>  Possibly being reckless, I went ahead with the make install...which
>>>  wandered off into the weeds, muttering:
>>>
>>>  >/opt/local/bin/tclsh src/images_to_archives.tcl
>>>  >"/opt/dvr/share/macports/Tcl"
>>>  >can't find package msgcat
>>>  >     while executing
>>>  >"package require msgcat"
>>>  >     (file "/opt/dvr/share/macports/Tcl/registry2.0/registry.tcl"
>>> line 40)
>>>  >     invoked from within
>>>  >"source /opt/dvr/share/macports/Tcl/registry2.0/registry.tcl"
>>>  >     ("package ifneeded registry 1.0" script)
>>>  >     invoked from within
>>>  >"package require registry 1.0"
>>>  >     (file "src/images_to_archives.tcl" line 10)
>>>  >make: *** [install] Error 1
>>
>> That suggests you are building against Tcl 8.6, possibly because you
>> have the
>> Tcl port installed and didn't remove $prefix from your $PATH while
>> configuring MacPorts. MacPorts currently doesn't support Tcl 8.6.
> 
> Yes, thanks, that would be it.  Perhaps the install instructions [1]
> might mention this?
> 
> Craig
> 
> [1] http://guide.macports.org/#installing.macports
> OR  http://www.macports.org/install.php

You can't build against anything but the bundled copy of Tcl as of the
next release.

- Josh


More information about the macports-dev mailing list