[Haskell-cafe] Glade problem solved Was: Compile Glade apps (MS Windows system) Was: Re: Trying to compile Glade Gtk2Hs demo / cabal install glade problem

Daniel Kahlenberg d.kahlenberg at googlemail.com
Sat Sep 11 16:09:05 EDT 2010


Hi list again,

I'm happy to tell you the solution at least to my install problem:


??? is synonym for D:/Programme/Gtk+ on my example setup.


Download glade3-3.6.7-with-GTK+.exe
(http://ftp.gnome.org/pub/GNOME/binaries/win32/glade3/3.6/glade3-3.6.7-with-GTK+.exe)

Install.


Download libxml2_2.7.7-1_win32.zip and libxml2-dev_2.7.7-1_win32.zip
(http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/libxml2_2.7.7-1_win32.zip
http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/libxml2-dev_2.7.7-1_win32.zip):

Install and you get libxml-2.0.pc (in ???/lib/pkgconfig).


My PKG_CONFIG_PATH variables first entry is
D:/Programme/Gtk+/lib/pkgconfig (note forward slash char.), to prefer
new copied libxml2 files over others I had.


Using bash...
$ echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/etc:/usr/local/bin:/usr/bin/X11:/h/gvimportable:/d/Programme/Gtk+/bin:/c/Users/daniel/Appdata/Roaming/cabal/bin:/c/PROGRA~2/HASKEL~1/201020~1.0/lib/extralibs/bin:/c/PROGRA~2/HASKEL~1/201020~1.0/bin:/c/PROGRA~2/HASKEL~1/201020~1.0/mingw/bin:/h/MinGW32/bin


Nothing more needed for sucessful cabal install, assuming gtk2hs
installation succeeded as happened. Pitfall was: Most likely a wrong
libxml version taken from those other pkgconfig places I had.


Cool, now I can install threadscope and do learn effects of different
parallelisation strategies as pointed out in those nice papers.


Cheers
Daniel

On 10.09.2010 20:00, Daniel Kahlenberg wrote:
>> Great help!
> That's sounds very promising. Lucky you! Would you share the information
> with the list - at least I'm really interested in how getting exactly
> this done.
>> New "cabal install glade" after libglade-2.0.pc edit:
> Would you share information about that?? See my comment above...
> 
> Thanks for reading
> Daniel
> 



More information about the Haskell-Cafe mailing list