Menu

Installing staden on Mac OS X 10.6.2

2011-11-04
2013-04-18
  • Kerensa McElroy

    Kerensa McElroy - 2011-11-04

    Hi Guys,

    I've been trying, all day, to install Staden on Mac OS X 10.6.2. I've read as many posts as I can find about it, and I'm still failing.
    Here are the problems:

    If I run port install iwidgets, or port install itk, I get:

    Warning: No port p5.12-locale-gettext found in the index.
    -->  Computing dependencies for help2man
    Error: Dependency 'p5.12-locale-gettext' not found.
    Error: Unable to upgrade port: 1
    Error: Unable to execute port: upgrade tk failed
    To report a bug, see <http://guide.macports.org/#project.tickets>

    I have attempted to install iwidgets from source, and I have managed to get it to configure, but the makefile doesn't behave for either make test:

    LD_LIBRARY_PATH=:/opt/local/lib/tklib0.5 :/opt/local/lib/itcl3.4/:/System/Library/Tcl/8.5/itk3.4/:; export LD_LIBRARY_PATH ; \
    TCL_LIBRARY=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/tcl/work/tcl8.5.10/library; export TCL_LIBRARY; \
    ITCL_LIBRARY=/opt/local/lib/itcl3.4//library; export ITCL_LIBRARY; \
    TK_LIBRARY=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.5.10/library; export TK_LIBRARY; \
    ITK_LIBRARY=/System/Library/Tcl/8.5/itk3.4//library; export ITK_LIBRARY; \
    IWIDGETS_LIBRARY=/opt/local/lib/itcl3.4//../iwidgets4.0.0; export IWIDGETS_LIBRARY; \
    /opt/local/lib/../bin/tclsh8.5 `echo ./tests/all.tcl` \
    -exedir `echo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.5.10/unix`
    /bin/sh: :/opt/local/lib/itcl3.4/:/System/Library/Tcl/8.5/itk3.4/:: No such file or directory
    WARNING: unknown option -exedir: should be one of -asidefromdir, -constraints, -debug, -errfile, -file, -limitconstraints, -load, -loadfile, -match, -notfile, -outfile, -preservecore, -relateddir, -singleproc, -skip, -testdir, -tmpdir, or -verbose
    Using interp:
    Running tests in working dir: /opt/local/lib/tcl8.5/iwidgets4.0.0/tests
    Only running tests that match:  *
    Skipping test files that match:  l.*.test
    Only sourcing test files that match:  *.test
    Tests began at Fri Nov 04 16:03:11 EST 2011
    buttonbox.test
    couldn't execute "": no such file or directory
    couldn't open "/opt/local/lib/tcl8.5/iwidgets4.0.0/Log.txt": no such file or directory
    calendar.test
    couldn't execute "": no such file or directory
    couldn't open "/opt/local/lib/tcl8.5/iwidgets4.0.0/Log.txt": no such file or directory
    canvasprintbox.test
    couldn't execute "": no such file or directory
    couldn't open "/opt/local/lib/tcl8.5/iwidgets4.0.0/Log.txt": no such file or directory
    canvasprintdialog.test
    couldn't execute "": no such file or directory
    couldn't open "/opt/local/lib/tcl8.5/iwidgets4.0.0/Log.txt": no such file or directory
    checkbox.test
    couldn't execute "": no such file or directory
    couldn't open "/opt/local/lib/tcl8.5/iwidgets4.0.0/Log.txt": no such file or directory

    (etc)

    or make install:

    make: /opt/local/lib/itcl3.4//../config/mkinstalldirs: No such file or directory
    make: ***  Error 1

    Any help would be much appreciated!

     
  • James Bonfield

    James Bonfield - 2011-11-04

    Firstly, Iwidgets, Itk and Itcl are no longer required. They're still used by a few esoteric functions, but in normal operation I'd be suprised if anyone notices the difference.

    Secondly, I think can you see why we made them no longer required! We too found them nigh on impossible to configure and build properly. So sorry I cannot really aid in specifics to get them working except to say you need precisely the correct versions of the dependencies for them to work. Too new as well as too old often breaks them.

     

Log in to post a comment.