Open appleparan opened 9 years ago
I suspect your compiler is probably too old- gfortran 4.4.6 is quite out of date now. I am currently using 4.7.2, which compiles fson fine, but even that version is now a few years out of date. Is it possible to update your compiler?
Installation should be just a matter of typing make
in the fson directory. That should give you a shared library libfson.so in the dist/ directory. You can then type make install
to copy that to a more useful location e.g. ~/lib by default. It will also copy the *.mod files to an include directory, e.g. ~/include by default. Then you just need to link to that library and use those module files when you compile your own code.
I have a trouble with installation. I got following errors but there is no documentation for that. Is there a minimum requirement for gfortran? (I'm using
GNU Fortran (GCC) 4.4.6 20120305
) Moreover, how I link fson with my code? Using.mod
and.so
files or adding source to my program directly? I think adding some documentation for that kind of things will helps.