2009/2/11 Gwern Branwen <[email protected]>:
> touch tools/c2hs/c2hsLocal.deps;  /home/gwern/bin/bin/ghc -M -dep-makefile
> -optdeptools/c2hs/c2hsLocal.deps -fglasgow-exts -O
>  
> -itools/c2hs/base/admin:tools/c2hs/base/errors:tools/c2hs/base/general:tools/c2hs/base/state:tools/c2hs/base/syms:tools/c2hs/base/syntax:tools/c2hs/c:tools/c2hs/chs:tools/c2hs/gen:tools/c2hs/state:tools/c2hs/toplevel
> -package-conf package.conf.inplace -hide-all-packages  -package base-4.0.0.0
> -package haskell98-1.0.1.0 -package pretty-1.0.1.0 -package
> containers-0.2.0.0 -package array-0.2.0.0
>  tools/c2hs/base/admin/BaseVersion.hs tools/c2hs/base/admin/Config.hs
> tools/c2hs/base/errors/Errors.hs tools/c2hs/base/general/DLists.hs
> tools/c2hs/base/general/FileOps.hs tools/c2hs/base/general/FNameOps.hs
> tools/c2hs/base/general/Map.hs tools/c2hs/base/general/Position.hs
> tools/c2hs/base/general/Set.hs tools/c2hs/base/general/UNames.hs
> tools/c2hs/base/general/Binary.hs tools/c2hs/base/general/FastMutInt.hs
> tools/c2hs/base/state/CIO.hs tools/c2hs/base/state/StateBase.hs
> tools/c2hs/base/state/State.hs tools/c2hs/base/state/StateTrans.hs
> tools/c2hs/base/syms/Attributes.hs tools/c2hs/base/syms/Idents.hs
> tools/c2hs/base/syms/NameSpaces.hs tools/c2hs/base/syntax/Lexers.hs
> tools/c2hs/c/CAST.hs tools/c2hs/c/CAttrs.hs tools/c2hs/c/CBuiltin.hs
> tools/c2hs/c/C.hs tools/c2hs/c/CLexer.hs tools/c2hs/c/CNames.hs
> tools/c2hs/c/CParser.hs tools/c2hs/c/CParserMonad.hs tools/c2hs/c/CPretty.hs
> tools/c2hs/c/CTokens.hs tools/c2hs/c/CTrav.hs tools/c2hs/chs/CHS.hs
> tools/c2hs/chs/CHSLexer.hs tools/c2hs/gen/CInfo.hs tools/c2hs/gen/GBMonad.hs
> tools/c2hs/gen/GenBind.hs tools/c2hs/gen/GenHeader.hs
> tools/c2hs/state/C2HSState.hs tools/c2hs/state/Switches.hs
> tools/c2hs/toplevel/Main.hs tools/c2hs/toplevel/Version.hs
> tools/c2hs/toplevel/C2HSConfig.hs;
> gcc -E -x c -traditional-cpp -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -DGTK2HS_HS_PREPROC -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:91: error: missing expression between '('
> and ')'
> make: *** [glib/System/Glib/GObject.chs] Error 1
>

Ah, It feels familiar. I'm didn't get this error, but I do recall a
recent thread with similar error. However AFAIR that thread was about
building on Windows, not Ubuntu. It turned out that configure script
was somewhat broken and specific symbols needed for CPP where declared
to be empty strings. This might be happening in your case too. I
think.

All best

Christopher Skrzętnicki
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to