I've not been able to compile this.  Is it was a pkg-config issue?
Except if it were I'd have thought it would have been brought up
already.  This is an i386 4.9-current system:

OpenBSD 4.9-current (GENERIC.MP) #0: Wed Jun 22 00:48:55 EDT 2011

Any clues for me?  Wondering if my tree was corrupt I got a new
one from obsd.cec.mtu.edu, but got the same results.

Thanks, STeve Andre'


===>  Configuring for hs-cairo-0.12.0p0

Gtk2HsSetup.hs:25:0:
warning: #warning Setup.hs is guessing the version of Cabal. If compilation of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when building (prefixed by --ghc-option= when using the 'cabal' command)
Configuring cairo-0.12.0...
Flags chosen: cairo_svg=True, cairo_ps=True, cairo_pdf=True
Dependency array -any: using array-0.3.0.2
Dependency base ==4.*: using base-4.3.1.0
Dependency bytestring -any: using bytestring-0.9.1.10
Dependency haskell98 -any: using haskell98-1.1.0.1
Dependency mtl -any: using mtl-2.0.1.0
Dependency cairo-pdf -any: using version 1.10.2
Dependency cairo-ps -any: using version 1.10.2
Dependency cairo-svg -any: using version 1.10.2
Dependency cairo >=1.2.0: using version 1.10.2
Using Cabal-1.10.1.0 compiled by ghc-7.0
Using compiler: ghc-7.0.3
Using install prefix: /usr/local
Binaries installed in: /usr/local/bin
Libraries installed in: /usr/local/lib/ghc/cairo-0.12.0
Private binaries installed in: /usr/local/libexec
Data files installed in: /usr/local/share/hs-cairo-0.12.0
Documentation installed in: /usr/local/share/doc/hs-cairo-0.12.0
Using alex version 2.3.5 found on system at: /usr/local/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.2.1 found on system at: /usr/bin/gcc
Using ghc version 7.0.3 found on system at: /usr/local/bin/ghc
Using ghc-pkg version 7.0.3 found on system at: /usr/local/bin/ghc-pkg
No greencard found
Using gtk2hsC2hs found on system at: /usr/local/bin/gtk2hsC2hs
Using gtk2hsHookGenerator found on system at:
/usr/local/bin/gtk2hsHookGenerator
Using gtk2hsTypeGen found on system at: /usr/local/bin/gtk2hsTypeGen
Using haddock version 2.9.2 found on system at: /usr/local/bin/haddock
Using happy version 1.18.6 found on system at: /usr/local/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.25 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
/usr/bin/pkg-config --modversion cairo-pdf
/usr/bin/pkg-config --modversion cairo-ps
/usr/bin/pkg-config --modversion cairo-svg
/usr/bin/pkg-config --modversion cairo
Setup.hs: Missing dependency on a foreign library:
* Missing C library: cairo
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
*** Error code 1

Stop in /usr/ports/graphics/hs-cairo (line 2435 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/graphics/hs-cairo (line 2226 of /usr/ports/infrastructure/mk/bsd.port.mk).
===> Exiting graphics/hs-cairo with an error
/bin/sh: exit 1: not found
*** Error code 127

Reply via email to