Ticket #1297 (new defect)

Opened 18 months ago

Failure to install: gtk2hsC2hs: Error in C header file.

Reported by: guest Owned by: somebody
Priority: normal Milestone: 0.13.0
Component: general (Gtk+, Glib) Version: 0.12.4
Keywords: Cc:


~/Dropbox/Private/Pantheon $ ~/.cabal/bin/cabal install cairo
Resolving dependencies...
[1 of 2] Compiling SetupWrapper     ( /var/folders/3p/m593dprn5snbjz6sc45c77f80000gn/T/cairo-, /var/folders/3p/m593dprn5snbjz6sc45c77f80000gn/T/cairo- )

/var/folders/3p/m593dprn5snbjz6sc45c77f80000gn/T/cairo- Warning:
    In the use of ‘configCompiler’
    (imported from Distribution.Simple.Configure):
    Deprecated: "'configCompiler' is deprecated. Use 'configCompilerEx' instead."
[2 of 2] Compiling Main             ( /var/folders/3p/m593dprn5snbjz6sc45c77f80000gn/T/cairo-, /var/folders/3p/m593dprn5snbjz6sc45c77f80000gn/T/cairo- )
Linking /var/folders/3p/m593dprn5snbjz6sc45c77f80000gn/T/cairo- ...
[1 of 2] Compiling Gtk2HsSetup      ( Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o )
[2 of 2] Compiling Main             ( SetupMain.hs, dist/setup-wrapper/Main.o )
Linking dist/setup-wrapper/setup ...
Configuring cairo-
Building cairo-
Preprocessing library cairo-
gtk2hsC2hs: Error in C header file.

/usr/include/stdio.h:437: (column 138) [FATAL] 
  >>> Syntax error!
  The symbol `=' does not fit here.

Failed to install cairo-
cabal: Error: some packages failed to install:
cairo- failed during the building phase. The exception was:
ExitFailure 1
Note: See TracTickets for help on using tickets.