Custom Query (152 matches)

Filters
 
Columns

Show under each result:


Results (19 - 21 of 152)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Ticket Resolution Summary Owner Reporter
#1282 invalid pango doesn't build on ghc 7.6 axel guest

Reported by guest, 20 months ago.

description
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.1
$
$ cabal install pango
Resolving dependencies...
[1 of 2] Compiling SetupWrapper     ( /tmp/pango-0.12.4-9759/pango-0.12.4/SetupWrapper.hs, /tmp/pango-0.12.4-9759/pango-0.12.4/dist/setup/SetupWrapper.o )
[2 of 2] Compiling Main             ( /tmp/pango-0.12.4-9759/pango-0.12.4/Setup.hs, /tmp/pango-0.12.4-9759/pango-0.12.4/dist/setup/Main.o )
Linking /tmp/pango-0.12.4-9759/pango-0.12.4/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 pango-0.12.4...
Building pango-0.12.4...
Preprocessing library pango-0.12.4...
[ 1 of 14] Compiling Graphics.Rendering.Pango.Types ( dist/build/Graphics/Rendering/Pango/Types.hs, dist/build/Graphics/Rendering/Pango/Types.o )

Graphics/Rendering/Pango/Types.chs:254:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static pango_context_get_type" pango_context_get_type
        :: CUInt

Graphics/Rendering/Pango/Types.chs:257:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static pango_layout_get_type" pango_layout_get_type
        :: CUInt

Graphics/Rendering/Pango/Types.chs:260:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static pango_font_get_type" pango_font_get_type
        :: CUInt

Graphics/Rendering/Pango/Types.chs:263:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static pango_font_family_get_type" pango_font_family_get_type
        :: CUInt

Graphics/Rendering/Pango/Types.chs:266:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static pango_font_face_get_type" pango_font_face_get_type
        :: CUInt

Graphics/Rendering/Pango/Types.chs:269:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static pango_fontset_get_type" pango_fontset_get_type
        :: CUInt
cabal: Error: some packages failed to install:
pango-0.12.4 failed during the building phase. The exception was:
ExitFailure 1
#1207 invalid webkit build error cjacker guest

Reported by guest, 4 years ago.

description

I tried to build webkit module, but it was failed.

#1261 fixed webkit build problem with hswebkit.h cjacker guest

Reported by guest, 3 years ago.

description

Discovered with this setup:

Arch Linux GHC 7.0.3

These installed successfully with cabal-install, can build Hello World app from gtk2hs website:

gtk2hs-buildtools 0.12.3, gtk 0.12.3

Then installed webkit:

$ cabal install webkit
Resolving dependencies...
[1 of 2] Compiling SetupWrapper     (
/tmp/webkit-0.12.316274/webkit-0.12.3/SetupWrapper.hs,
/tmp/webkit-0.12.316274/webkit-0.12.3/dist/setup/SetupWrapper.o )
[2 of 2] Compiling Main             (
/tmp/webkit-0.12.316274/webkit-0.12.3/Setup.hs,
/tmp/webkit-0.12.316274/webkit-0.12.3/dist/setup/Main.o )
Linking /tmp/webkit-0.12.316274/webkit-0.12.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 webkit-0.12.3...
Preprocessing library webkit-0.12.3...
dist/build/Graphics/UI/Gtk/WebKit/Types.h:1:22: fatal error:
hswebkit.h: No such file or directory
compilation terminated.
gtk2hsC2hs: Error during preprocessing custom header file
cabal: Error: some packages failed to install:
webkit-0.12.3 failed during the building phase. The exception was:
ExitFailure 1

Looks like hswebkit.h isn't getting installed anywhere in an include dir on my system. I was able to install and build against this library after copying it manually myself from the root of the webkit dev dir to /usr/local/include

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Note: See TracQuery for help on using queries.