SVN package compiles fine with OSX Lion

John Nash
  • John Nash

    John Nash - 2011-08-21

    I have everything working fine under OS X Snow Leopard on the Mac platform.  I wanted to ensure things worked well under Lion.

    This was done on my personal laptop (2009 MBP), 4GB RAM, which has no "work" tools onboard so it was great to try a clean installation.

    Sources: Latest SVN (2011-08-21) of io_lib and Staden.
    Fresh installation of OSX Lion.

    Install Xcode for Lion
    Install MacPorts latest version
    [b]Configure MacPorts:[/b]
    sudo port selfupgrade
    sudo port upgrade outdated
    [b]Get ready for Staden:[/b]
    sudo port install tcl
    sudo port install tk (long install)
    sudo port install libpng
    sudo port install liblzma
    sudo port install itcl
    sudo port install itk
    sudo port install iwidgets
    [b]Make sure bootstrap can use libtoolize:[/b]
    sudo ln -s /opt/local/bin/glibtool /opt/local/bin/libtool
    sudo ln -s /opt/local/bin/glibtoolize /opt/local/bin/libtoolize
    [b]Deal with tklib:[/b]
    install tklib (v 0.5) manually from source
    [b]Install io_lib:[/b]
    install latest io_lib from svn; standard "sudo ./bootstrap; sudo ./configure; sudo make; sudo make check; sudo make install"
    [b]Then, install *the* package we all love:[/b]
    grab latest staden from svn
    extract and 'cd' to src folder, run bootstrap
    sudo ./configure --prefix=/usr/molbin/staden_src --with-tcl=/opt/local/lib --with-tk=/opt/local/lib --with-tklib=/usr/local/lib/tklib0.5/ --with-png=/opt/local/ --disable-rpath --with-lzma=/opt/local/ --with-itcl=/opt/local/lib/itcl3.4/ --with-itk=/opt/local/lib/itk3.3/ --with-iwidgets=/opt/local/lib/iwidgets/
    sudo make
    sudo make install

    Yay!  I have no databases on my Mac but in my experience, as long as tg_index and gap5 run, all works.

    Don't forget to install the documentation.

  • James Bonfield

    James Bonfield - 2011-08-21

    Great news. Thanks for testing this.

    I'd like to create a ports file for Staden too. I started it with io_lib as a test, but then ran into the difficulties of not being root. I did a fresh MacPorts install as myself, but something broke there and it refused to compile one of the standard packages. I mean to go back to this sometime though, once other distractions have passed.


Log in to post a comment.