Giter VIP home page Giter VIP logo

Comments (7)

ghorn avatar ghorn commented on May 22, 2024

I also get this on debian. First shows up in d5401e9

from bindings-gdal.

albertov avatar albertov commented on May 22, 2024

I think it'll be best to revert Setup.hs to 11088ae since all changes since then were to allow building fully static executables and I hardcoded a few things to my environment to achieve it.

I haven't got a debian or osx machine handy to test this. Could you please check if using this version of Setup.hs fixes it so I can revert it?

Thanks

from bindings-gdal.

ghorn avatar ghorn commented on May 22, 2024

I bet this is related to #7

from bindings-gdal.

albertov avatar albertov commented on May 22, 2024

Yeah, I also think that it is related to #7. Does b33b49c fix it?

from bindings-gdal.

albertov avatar albertov commented on May 22, 2024

It seems b33b49c does not fix it: https://travis-ci.org/albertov/bindings-gdal/jobs/291994747

from bindings-gdal.

albertov avatar albertov commented on May 22, 2024

This was probably caused because -std=c++11 was being passed to the compiler which clang reports as an error when compiling C sources.

However, after this fix, c2hs complains because it cannot parse some system headers (See visq/language-c#34 and haskell/c2hs#194).

I'm working on fixing this on #10

from bindings-gdal.

albertov avatar albertov commented on May 22, 2024

I've just merge a fix which builds correctly on OS X on travis (https://travis-ci.org/albertov/bindings-gdal/builds/292159734).

Note that an unreleased version of c2hs is needed to properly parse some system headers (see conversation @ haskell/c2hs#194)

from bindings-gdal.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.