[Haskell-cafe] Cairo build fail on OS X Leapord
Jefferson Heard
jefferson.r.heard at gmail.com
Fri Oct 31 14:55:09 EDT 2008
Installing gtk2hs from MacPorts on a clean mac:
2 -I/usr/X11R6/include
svgcairo/Graphics/Rendering/Cairo/SVG.chs:201:2:
Couldn't match expected type `()' against inferred type `CInt'
Expected type: Render ()
Inferred type: Render CInt
In the expression:
liftIO
$ (\ (SVG arg1) (Cairo arg2)
-> withForeignPtr arg1
$ \ argPtr1 -> rsvg_handle_render_cairo argPtr1 arg2)
svg cr
In the expression:
do cr <- ask
liftIO
$ (\ (SVG arg1) (Cairo arg2)
-> withForeignPtr arg1
$ \ argPtr1 -> rsvg_handle_render_cairo argPtr1 arg2)
svg cr
make[1]: *** [svgcairo/Graphics/Rendering/Cairo/SVG.o] Error 1
rm svgcairo/Graphics/Rendering/Cairo/SVG.hs
make: *** [all] Error 2
Error: Status 1 encountered during processing.
--
I try to take things like a crow; war and chaos don't always ruin a
picnic, they just mean you have to be careful what you swallow.
-- Jessica Edwards
More information about the Haskell-Cafe
mailing list