#1099: build errors on Glib.UTFString
---------------------------+------------------------------------------------
  Reporter:  guest         |       Owner:  duncan
      Type:  defect        |      Status:  new   
  Priority:  normal        |   Milestone:        
 Component:  build system  |     Version:  0.9.12
Resolution:                |    Keywords:        
---------------------------+------------------------------------------------
Comment (by anonymous):

 OK, so I pulled a fresh repo today to try try again:

 <no location info>: can't find file: glib/System/Glib/GObject.hs
 make[1]: *** Deleting file `glib/libHSglib_a.p_deps'
 gcc -E -x c -traditional-cpp -I/usr/include/glib-2.0
 -I/usr/lib64/glib-2.0/include -include gtk2hs-config.h
 glib/System/Glib/GDateTime.chs.pp -o glib/System/Glib/GDateTime.chs
 glib/System/Glib/GDateTime.chs.pp:31: error: missing expression between
 '(' and ')'
 glib/System/Glib/GDateTime.chs.pp:48: error: missing expression between
 '(' and ')'
 glib/System/Glib/GDateTime.chs.pp:105: error: missing expression between
 '(' and ')'
 glib/System/Glib/GDateTime.chs.pp:226: error: missing expression between
 '(' and ')'
 gcc -E -x c -traditional-cpp -I/usr/include/glib-2.0
 -I/usr/lib64/glib-2.0/include -include gtk2hs-config.h
 glib/System/Glib/GObject.chs.pp -o glib/System/Glib/GObject.chs
 glib/System/Glib/GObject.chs.pp:38: error: missing expression between '('
 and ')'
 glib/System/Glib/GObject.chs.pp:88: error: missing expression between '('
 and ')'
 rm -rf glib/System/Glib.o glib/System/Glib_split/; mkdir -p
 glib/System/Glib_split
 /usr/bin/ghc +RTS -RTS -split-objs -c glib/System/Glib.hs -o
 glib/System/Glib.o -O -fffi -iglib -package-conf package.conf.inplace
 -hide-all-packages -ignore-package glib -package base -package-name
 glib-0.9.12.2 '-#include<glib-object.h>' -I/usr/include/glib-2.0
 -I/usr/lib64/glib-2.0/include

 glib/System/Glib.hs:13:0:
 Failed to load interface for `System.Glib.UTFString':
 Use -v to see a list of the files searched for.
 make[1]: *** [glib/System/Glib.o] Error 1
 make[1]: Leaving directory `/home/gwern/bin/gtk2hs'
 make: *** [all] Error 2
 make  136.33s user 29.31s system 91% cpu 3:01.00 total


 --

 Since the error has changed, I dunno if gtk2hs-config.h will still be
 helpful, but I will attach it anyway.

-- 
Ticket URL: <http://hackage.haskell.org/trac/gtk2hs/ticket/1099#comment:7>
Gtk2Hs <http://haskell.org/gtk2hs/>
The Gtk2Hs project
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gtk2hs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to