#40502: invalid syntax: should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body?" --------------------------------+-------------------------------- Reporter: richard.t.lloyd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.2.0 Resolution: | Keywords: mavericks Port: | --------------------------------+-------------------------------- Comment (by cal@…): Try cleaning up your `$PATH` before installing MacPorts from source: `PATH=/usr/bin:/usr/sbin:/bin:/sbin ./configure && make && sudo make install`. If that still causes the same problem you probably modified your `/usr/bin/tclsh` to point to 8.6 – which you should just not do. -- Ticket URL: <https://trac.macports.org/ticket/40502#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X