Warnings/Restrictions
Windows
MacOsX
Linux

Warnings/Restrictions

Windows

It compiles at least with the following versions:
  1. Download GHC 6.4
  2. Download HaXml 1.19
    Install with HaXml-1.19\Build.bat editing this file as needed.
  3. Download wxHaskell 0.9.4
    Install with wxhaskell-0.9.4\bin\wxhaskell-register.bat
  4. Download INblobs
    Compile with INblobs\startghc.bat

MacOsX

  1. Install GHC 6.4 (ensure that is 6.4 and not 6.4.X) (download here)
  2. Install wxHaskell for Mac (download here)
  3. Download HaXml 1.19
    ./configure
    make
    make install
  4. Download INblobs
    Edit Makefile
    make

Linux

Ubuntu Feisty

The following script is available (scriptINblobs).
  1. Ensure the universe repository of Ubuntu is enabled:
    sudo vi /etc/apt/sources.list
    and uncomment the universe repository lines:
    # deb http://archive.ubuntu.com/ubuntu feisty universe
    # deb-src http://archive.ubuntu.com/ubuntu feisty universe

    Then
    sudo apt-get update
  2. install GHC and darcs
    sudo apt-get install ghc6
    sudo apt-get install darcs
  3. install HaXml
    darcs get http://www.cs.york.ac.uk/fp/darcs/polyparse
    cd polyparse
    runhaskell Setup.hs configure
    runhaskell Setup.hs build
    sudo runhaskell Setup.hs install
    cd ..

    darcs get http://www.cs.york.ac.uk/fp/darcs/HaXml
    cd HaXml
    runhaskell Setup.hs configure
    runhaskell Setup.hs build
    (this operation take some time)
    sudo runhaskell Setup.hs install
    cd ..
  4. install WxWidgets 2.6
    sudo apt-get install libwxgtk2.6-dev
    sudo apt-get install freeglut3-dev
    sudo apt-get install g++
  5. install wxHaskell
    sudo apt-get install libghc6-time-dev
    darcs get http://darcs.haskell.org/wxhaskell
    cd wxhaskell
    chmod u+x configure
    ./configure --with-opengl
    make
    sudo make install
    make wx
    sudo make wx-install
    cd ..
  6. compile INblobs
    darcs get http://haskell.di.uminho.pt/jmvilaca/INblobs
    cd INblobs
    runhaskell Setup.hs configure
    runhaskell Setup.hs build
    (this operation take some time)
  7. run INblobs
    ./dist/build/INblobs/INblobs
    On this moment you should see the application.
  8. Go to How To Use INblobs

    Any distribution

    1. You need GHC 6.6 at least. There are binaries to several platforms at GHC web page. Install it and put it available in path.
    2. Download the necessary things
    3. Supposing you are in the folder with all the downloaded files, unpack the files:
    4. Install HaXml
      1. ./configure
        make
      2. Then as root run
        make install
      3. run ghci -package HaXml to test.
    5. Install wxGTK
      1. create a new directory for build, inside the wxGTK directory
      2. run
        ../configure --disable-shared --with-opengl --enable-sound --with-gtk --enable-gtk2 --disable-unicode
        make
      3. Then as root run
        make install
      4. Test wxGTK installation
        • run wx-config --version
    6. Install wxHaskell
      1. run ./configure --help to see if everything is correct
      2. ./configure --with-opengl
        make
      3. Then as root run
        make install
        make doc
      4. Test it running ghci -package wx
    7. compile INblobs
      make
    8. Finally run INblobs
      • run ./INblobs

    If you prefer the whole bundle of commands...
    tar xzvf HaXml-1.19.1.tar.gz
    tar xzvf wxGTK-2.6.2.tar.gz
    unzip wxhaskell-src-0.9.4-1.zip
    tar xzvf INblobs.tar.gz
    cd HaXml-1.19.1
    ./configure
    make
    sudo make install
    cd ..
    cd wxGTK-2.6.2 mkdir mybuild
    cd mybuild
    ../configure --disable-shared --with-opengl --enable-sound --with-gtk --enable-gtk2 --disable-unicode
    make
    sudo make install
    cd ../..
    wx-config --version
    cd wxhaskell-0.9.4
    ./configure --help
    ./configure --with-opengl
    make
    sudo make install
    sudo make doc
    ghci -package wx
    cd ..
    cd INblobs
    make
    ./INblobs
    back to main page