[Ipe-discuss] Installing ipe on Mac OS X

Sherif Ghali sherif.ghali at yahoo.com
Sun Jul 1 23:03:53 CEST 2007


In case someone might find these useful, here are my notes for installing
ipe 6.0pre28 on Mac OS X (10.4.10).

------------------------------------------------------------------------
Freetype 2:
        Download ii2.dmg from ii2.sourceforge.net.
        Run i-Installer and select/install freetype2.

teTex:
        Download tetex.dmg from www.tug.org/mactex/morepackages.html
        i-Installer above can likely get tetex as well.
        Do not use texlive-*.dmg with ipe 6.0pre28.

Qt:
        Download the precompiled qt-mac-opensource-4.3.0.dmg (or later)
        from http://trolltech.com/developer/downloads/qt/mac

        Avoid qt-mac-opensource-src-4.3.0.tar.gz as it takes
        over an hour to compile.

Xcode:
        Download/install xcode_2.4.1_8m1910_6936315.dmg (or similar)
        from developer.apple.com/tools/download/
        (What is the minimal set of packages to install from this >900MB dmg?)

ipe:
        Adjust two lines in /path/to/ipe-6.0pre28/src/config.pri

        FREETYPE_INCLUDE  = /usr/local/include/freetype2
        (confirm this is where i-Installer put freetype2)

        IPEPREFIX   = /path/to/ipe-6.0pre28/

Compile:
        (I followed Zach's suggestion for qmake's options)
        cd /path/to/ipe-6.0pre28/src
        qmake -spec macx-g++ -recursive
        make
        sudo make install

The 14 standard Postscript fonts:
        cp <IPEPREFIX>/ipe-6.0pre28/tetex-fontmap.xml <IPEPREFIX>/fontmap.xml
        In fontmap.xml, replace each occurence of
                /usr/share/texmf/fonts/type1/urw/
        with
                /usr/local/teTeX/share/texmf.tetex/fonts/type1/urw/
        sudo mv <IPEPREFIX>/fontmap.xml <IPEPREFIX>/ipe-6.0pre28/share/ipe/6.0pre28/

Then use one of:

        Script:
                Put the following script in your path
                (note that Mac OS X uses DYLD_LIBRARY_PATH rather than LD_LIBRARY_PATH)
        
                #!/bin/sh
                
                export
DYLD_LIBRARY_PATH="/path/to/ipe-6.0pre28/build/lib/:$LD_LIBRARY_PATH"
                /path/to/ipe-6.0pre28/build/bin/ipe.app/Contents/MacOS/ipe $* &

    or
        ln -s (simplest, but remember it when upgrading ipe):
                sudo ln -s /path/to/ipe-6.0pre28/build/lib/*.1.dylib /usr/lib\
                sudo ln -s /path/to/ipe-6.0pre28/build/bin/ipe.app/Contents/MacOS/ipe
/usr/bin\
                sudo ln -s
/path/to/ipe-6.0pre28/build/bin/ipetoipe.app/Contents/MacOS/ipetoipe /usr/bin\

    or
        adjust PATH and DYLD_LIBRARY_PATH for your account:
                I didn't follow this all the way; it appears to involve
                editting the xml file
                    ~/.MacOSX/environment.plist
                using the Property List Editor.
------------------------------------------------------------------------
CTRL-RMB:
        To access the object-properties menu, click on CTRL-AppleKey-MB.
        (To end a path use Apple's RMB: CTRL-MB)
------------------------------------------------------------------------

Cheers,
Sherif



 
____________________________________________________________________________________
Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather



More information about the Ipe-discuss mailing list