Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 37 lines (28 sloc) 0.905 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
Building wxWidgets

wxWidgets 2.9.3 for Debian 6 with GHC 6.12
============================

./configure --enable-unicode --disable-debug --prefix=/usr/local --enable-stc --enable-aui --enable-propgrid --enable-xrc --enable-ribbon --enable-richtext --with-opengl
make && sudo make install

You may need to fix LD_LIBRARY_PATH. I did.

Quick workaround:
export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}

Better workaround:
Putting /usr/local/lib into the default library path for all users (if you have root privilege)

su -
echo /usr/local/lib > /etc/ld.so.conf.d/local.conf
exit

wxHaskell 0.90 with GHC 6.12
===================

cabal update
cd wxdirect
cabal install
cd ../wxc
cabal install
cd ../wxcore
PATH=$PATH:~/.cabal/bin
cabal install
cd ../wx
cabal install

The following shortcut should also work, as it is effectively the same thing:
export PATH=${PATH}:~/.cabal/bin
cabal install wx
Something went wrong with that request. Please try again.