Comments (5)
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.
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.
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.
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.
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)
- Windows install of 1.1.1 - "The code execution cannot proceed because libbas.dll was not found" HOT 12
- Any projection when post f95 will be supported? HOT 3
- lack of documentation on how to refactor HOT 5
- Lack of command usage, example invocation documentation
- issues with building on macOS HOT 4
- New basic check: conditional in for loop
- [Possible change] Don't make units all lowercase when parsing. HOT 1
- Short-circuiting logic analysis
- Suppress warnings option HOT 1
- Update pre-built binaries
- Provide OCI/Docker-compatible container HOT 2
- fp-check reports equalities even if they involve the `nint` intrinsic (cast)
- COMMON blocks refactoring ignores implicit rules
- Missing Hollerith constants support HOT 1
- DOUBLE COMPLEX is not understood, COMPLEX*16 works HOT 1
- It's not valid to remove EQUIVALENCE from BLOCKDATA
- Always backup your files! Camfort erases the source file, if interrupted HOT 2
- EQUIVALENCE is not handled properly, if both arguments are array HOT 4
- Declaring the unit of multiple variables at once does not work HOT 3
- All file/line/column notations should be in standard notation so IDEs can hook into it HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camfort.