GithubHelp home page GithubHelp logo

error compiling camfort about camfort HOT 5 CLOSED

camfort avatar camfort commented on September 26, 2024
error compiling camfort

from camfort.

Comments (5)

acr31 avatar acr31 commented on September 26, 2024

Hi,

Do you have the most recent version of language-fortran installed? You should compile this from source and install it. Here is the repo: https://github.com/dagit/language-fortran

Yours,

Andy

from camfort.

wadudmiah avatar wadudmiah commented on September 26, 2024

hi, thanks for the quick reply. The version I have installed is:
[miahw@bengal camfort]$ cabal info language-fortran

  • language-fortran (library)
    Synopsis: Fortran lexer and parser, language support, and extensions.
    Versions available: 0.2.7
    Versions installed: 0.2.7

The version from Git is 0.2.0 which failed to install:

[miahw@bengal camfort]$ cabal install language-fortran/language-fortran.cabal
Resolving dependencies...
Configuring language-fortran-0.2.0.0...
Building language-fortran-0.2.0.0...
Preprocessing library language-fortran-0.2.0.0...
unused rules: 12
unused terminals: 8
shift/reduce conflicts: 30
cabal: can't find source for Language/Fortran/Pretty in src,
dist/build/autogen
Failed to install language-fortran-0.2.0.0
cabal: Error: some packages failed to install:
language-fortran-0.2.0.0 failed during the building phase. The exception was:
ExitFailure 1
[miahw@bengal camfort]$

Is this how you install it? I am not familiar with Haskell at all.

from camfort.

dorchard avatar dorchard commented on September 26, 2024

Hi! Sorry for this. The actual version of language-fortran we are using is here:
https://github.com/dorchard/language-fortran

I have just pushed a new version to Haskell's package manager:
http://hackage.haskell.org/package/language-fortran-0.3
But it might not be indexed by Cabal for another day. So you are better of probably cloning from here:
https://github.com/dorchard/language-fortran

Then doing:
cabal configure
cabal build
cabal install

Thanks for your help/patience :)

from camfort.

wadudmiah avatar wadudmiah commented on September 26, 2024

Hi dorchard,

Thanks for that! I've managed to get camfort built for Fedora 21. There were many missing steps, but I've got it to work now. Now it's time for me to use it for my Fortran codes!

Cheers again. You can close this ticket now.

from camfort.

dorchard avatar dorchard commented on September 26, 2024

Thanks! No problem.
Please let us know if you encounter any problems. CamFort is very much in development, and we would greatly appreciate any feedback so we can improve things.
Btw, I just pushed a change which improves the command line interface (makes it easier to use) so you might want to update.

Best,
Dominic

from camfort.

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.