Re: Error installing MacPorts to alternate prefix

2014-04-02 Thread Joshua Root
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
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: Error installing MacPorts to alternate prefix

2014-04-02 Thread Craig Treleaven

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

___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: Error installing MacPorts to alternate prefix

2014-04-02 Thread Clemens Lang
Hi,

> I've run into an error trying to install MacPorts 2.2.1.  Configure
> and make indicated no errors.  Make test complained:
>
> >===> making test in src/port1.0
> >/opt/local/bin/tclsh tests/portutil.tcl /opt/dvr/share/macports/Tcl
> >couldn't read file
> >"/opt/dvr/share/macports/Tcl/macports1.0/macports_fastload.tcl": no
> >such file or directory
> > while executing
> >"source [file join [lindex $argv 0] macports1.0 macports_fastload.tcl]"
> > (file "tests/portutil.tcl" line 5)
> >make[2]: *** [test] Error 1
> >make[1]: *** [test] Error 1
> >make: *** [test] Error 1

That's normal and expected to fail if you haven't run make install yet.
The testsuite needs an installed version of MacPorts.

> 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.

-- 
Clemens Lang
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev