- sudo apt-get install cabal-install
- sudo apt-get install libghc6-zlib-dev
- cabal update
- sudo cabal install cabal-install --global
- sudo apt-get install libgtk2.0-dev
- sudo apt-get install libgtksourceview2.0-dev
- sudo cabal install alex --global
- sudo cabal install happy --global
- sudo cabal install gtk2hs-buildtools --global
- sudo apt-get install libglade2-dev
- sudo cabal install glade --global
- sudo cabal install leksah --global
Showing posts with label glade. Show all posts
Showing posts with label glade. Show all posts
Tuesday, 1 June 2010
Installing leksah, gtk, gtk2hs, and glade on Ubuntu 10.04 LTS -the Lucid Lynx
Labels:
glade,
gtk,
gtk2hs,
leksah,
Lucid Lynx,
Ubuntu 10.04 LTS
Thursday, 28 January 2010
Installation of gtk, gtk2hs, glade and leksah on windows XP
Step 1: Intall ghc
Download ghc 6.10.3 and install it at default destination.
Step 2: Install cabal
Download cabal for windows and install. This didn't work for me so alternately I used the tar file;
runghc Setup configure
runghc Setup build
runghc Setup install
cabal update
Step 3: Install gtk
Download gtk for windows from and install at the default location.
Step 4: Install gtk2hs
Download gtk2hs-0.10.1-win32-installer and download at default location.
Note: Glade is now in the package list.
on prompt write "ghc-pkg list" to see the installed packages
Step 5: Glade Editor
Method I: cabal install leksah
Mathod II: Download the Leksah-0.6.1.0.exe and install at default location.
Method III:
This will give error : cannot find -lgtksourceview-2.0
Solution is given in the Leksah FAQ#12,
Download ghc 6.10.3 and install it at default destination.
Step 2: Install cabal
Download cabal for windows and install. This didn't work for me so alternately I used the tar file;
- download cabal-install-0.6.2.tar.gz
- untar at a location of your choice
- open cmd and go to the path and do
runghc Setup configure
runghc Setup build
runghc Setup install
cabal update
Step 3: Install gtk
Download gtk for windows from and install at the default location.
Step 4: Install gtk2hs
Download gtk2hs-0.10.1-win32-installer and download at default location.
Note: Glade is now in the package list.
on prompt write "ghc-pkg list" to see the installed packages
Step 5: Glade Editor
- Download glade3
- untar the folder at any location
- in the bin folder you will find the glade-3 executable file
Method I: cabal install leksah
Mathod II: Download the Leksah-0.6.1.0.exe and install at default location.
Method III:
- Download the binary source tar from hackage
- untar and and go to the path and wrtie on cmd prompt
This will give error : cannot find -lgtksourceview-2.0
Solution is given in the Leksah FAQ#12,
- download binary source tar gtksourceview-dev-2.6.2.zip
- put the "libgtksourceview-2.0.dll.a" into the gcc-lib folder of ghc
Subscribe to:
Posts (Atom)