Resolving dependencies... Downloading hs-GeoIP-0.1.1... Configuring hs-GeoIP-0.1.1... Building hs-GeoIP-0.1.1... Preprocessing library hs-GeoIP-0.1.1... In file included from /usr/include/string.h:32:0, from /usr/include/GeoIP.h:44, from GeoIP.hsc:39: GeoIP.hsc: In function ‘main’: /opt/ghc/7.8.3/lib/ghc-7.8.3/template-hsc.h:72:24: error: ‘GeoIPRecord’ has no member named ‘accuracy_radius’ (long) offsetof (t, f)); ^ GeoIP.hsc:88:5: note: in expansion of macro ‘hsc_peek’ compiling dist/build/Data/Geolocation/GeoIP_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/Data/Geolocation/GeoIP_hsc_make.c -o dist/build/Data/Geolocation/GeoIP_hsc_make.o -fno-stack-protector -D__GLASGOW_HASKELL__=708 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/opt/ghc/7.8.3/lib/ghc-7.8.3/bytestring-0.10.4.0/include -I/opt/ghc/7.8.3/lib/ghc-7.8.3/base-4.7.0.1/include -I/opt/ghc/7.8.3/lib/ghc-7.8.3/integer-gmp-0.5.1.0/include -I/opt/ghc/7.8.3/lib/ghc-7.8.3/include -I/opt/ghc/7.8.3/lib/ghc-7.8.3/include/ Failed to install hs-GeoIP-0.1.1 cabal: Error: some packages failed to install: hs-GeoIP-0.1.1 failed during the building phase. The exception was: ExitFailure 1