Ticket #1297 (new defect)

Opened 8 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:

Description

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

/var/folders/3p/m593dprn5snbjz6sc45c77f80000gn/T/cairo-0.12.5.3-16331/cairo-0.12.5.3/SetupWrapper.hs:118:28: 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-0.12.5.3-16331/cairo-0.12.5.3/Setup.hs, /var/folders/3p/m593dprn5snbjz6sc45c77f80000gn/T/cairo-0.12.5.3-16331/cairo-0.12.5.3/dist/setup/Main.o )
Linking /var/folders/3p/m593dprn5snbjz6sc45c77f80000gn/T/cairo-0.12.5.3-16331/cairo-0.12.5.3/dist/setup/setup ...
[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-0.12.5.3...
Building cairo-0.12.5.3...
Preprocessing library cairo-0.12.5.3...
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-0.12.5.3
cabal: Error: some packages failed to install:
cairo-0.12.5.3 failed during the building phase. The exception was:
ExitFailure 1
Note: See TracTickets for help on using tickets.