Folks, I was trying to build pandoc under fink 0.36 and OS X 10.9; it requires many ghc packages. The very first GHC package, ghc-binary fails to build with an invalid preprocessor error. I don’t know anything about GHC and with a few seconds of staring at the build directory, I didn’t really understand even the build process to try to debug this problem. Can anyone help? Below is what I hope to be the relevant fink info and the end of the build process excluding a bunch of warnings but showing the error that leads to the failure.
Thanks for any help David ————— fink info ------------- Package manager version: 0.36.3.1 Distribution version: selfupdate-rsync Sun Apr 6 14:07:04 2014, 10.9, x86_64 ProductVersion: 10.9.2 Xcode 5.1 Build version 5B130a —————— build output --------- Unpacking fink-buildlock-ghc-binary-0.7.1.0-1 (from .../fink-buildlock-ghc-binary-0.7.1.0-1_2014.04.06-14.00.15_darwin-x86_64.deb) ... Setting up fink-buildlock-ghc-binary-0.7.1.0-1 (2014.04.06-14.00.15) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.92Psr runghc Setup.lhs configure --prefix=/sw --docdir=/sw/share/doc/ghc-binary Configuring binary-0.7.1.0… sudo -u fink-bld [ENV] sh -c /tmp/fink.BUkOh env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/binary-0.7.1.0.tar.gz <clipped a bunch of warnings> src/Data/Binary/Get.hs:423:3: error: invalid preprocessing directive #-} ^ src/Data/Binary/Get.hs:511:53: warning: missing terminating ' character [-Winvalid-pp-token] -- host order, host endian form, for the machine you're on. On a 64 bit ^ 12 warnings and 1 error generated. ### execution of runghc failed, exit code 1 ### execution of /tmp/fink.92Psr failed, exit code 1 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-ghc-binary-0.7.1.0-1 (Reading database ... 267502 files and directories currently installed.) Removing fink-buildlock-ghc-binary-0.7.1.0-1 ... Failed: phase compiling: ghc-binary-0.7.1.0-1 failed <clipped instructions on error reporting> Also include the following system information: Package manager version: 0.36.3.1 Distribution version: selfupdate-rsync Sun Apr 6 13:47:13 2014, 10.9, x86_64 Trees: local/main stable/main Xcode.app: 5.1 Xcode command-line tools: 5.1.0.0.1.1393561416 Max. Fink build jobs: 1 ---------- ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users