Coder Social home page Coder Social logo

Build problems about documentalist HOT 4 OPEN

jspahrsummers avatar jspahrsummers commented on September 26, 2024
Build problems

from documentalist.

Comments (4)

jspahrsummers avatar jspahrsummers commented on September 26, 2024

If those are the verbatim commands you ran, you have a typo in the folder name here:

--extra-include-dirs=/usr/local/opt/lvvm/include

Also note that the project currently tries to find LLVM 3.4, though 3.3 might work as well (not sure).

from documentalist.

mxswd avatar mxswd commented on September 26, 2024

I can confirm 3.3 works for me.

from documentalist.

robb avatar robb commented on September 26, 2024

I reinstalled LLVM 3.3 and tried configuring with

cabal configure --extra-include-dirs=/usr/local/Cellar/llvm/3.3/include --extra-lib-dirs=/usr/local/Cellar/llvm/3.3/lib

now I get

$ cabal build
Building documentalist-0.1...
Preprocessing library documentalist-0.1...

dist/build/Text/Documentalist/SourceParser/Clang/FFI.hs:1:1:
    File name does not match module name:
    Saw: `Main'
    Expected: `Text.Documentalist.SourceParser.Clang.FFI'

where dist/build/Text/Documentalist/SourceParser/Clang/FFI.hs is an empty file

from documentalist.

mxswd avatar mxswd commented on September 26, 2024

I think your system cabal or hsc2hs might be out of date. If so, just update them with cabal install.

from documentalist.

Related Issues (20)

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.