Git Product home page Git Product logo

Comments (10)

graziano-giuliani avatar graziano-giuliani commented on June 15, 2024

It is the ar program which is missing from the system. Is the binutils package installed?

dpkg -S /usr/bin/ar
binutils: /usr/bin/ar

I suggest installing the build-essential package, which should install all the missing bits.

from regcm.

devisdevis avatar devisdevis commented on June 15, 2024

Dear Giuliani,

I have the build-essential package installed already, and the ar is installed (see the terminal screenshot).
I even tried "AR=ar" before the make, but the error persists.

image

Thank you

from regcm.

devisdevis avatar devisdevis commented on June 15, 2024

When I use the RegCM-4.7.1 another error pops up.

image

from regcm.

graziano-giuliani avatar graziano-giuliani commented on June 15, 2024

Was the binutil installed before the configure stage? If not, the configure script would not have detected the ar program. Running the configure step on ubuntu I have a line like this one:
[....]
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar <<<<<------ This one
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
[....]
For the second error, can you please post the gfortran version:

gfortran --version

from regcm.

devisdevis avatar devisdevis commented on June 15, 2024

Thank you, Giuliani,
The ar issue is solved. I needed to install the binutils (I thought it was part of the build-essential) and the libtool.
But the same error I got in running the RegCM-4.7.1 is stopping the "make" process now.


image


I read it is a Fortran version issue but not sure ...
My gfortran version on pop os (ubuntu derivated) is:
GNU Fortran (Ubuntu 10.3.0-1ubuntu1) 10.3.0

Thank you

from regcm.

graziano-giuliani avatar graziano-giuliani commented on June 15, 2024

Ach... new gfortran, new flags.

Can you please try modifying configure.ac file:

diff --git a/configure.ac b/configure.ac
index 8161fdb8..18f3c475 100644
--- a/configure.ac
+++ b/configure.ac
@@ -437,7 +437,7 @@ if test -z "$COMPILER_GNU_TRUE"; then
 #      exit 1
 #    fi
 #  fi
-  FCFLAGS="-fconvert=big-endian -fno-range-check -fPIC"
+  FCFLAGS="-fallow-invalid-boz -fconvert=big-endian -fno-range-check -fPIC"
   OMPFLAGS="-fopenmp"
   CPRDEF="GNU"
   AC_SUBST(FCFLAGS)

from regcm.

devisdevis avatar devisdevis commented on June 15, 2024

Top, @graziano-giuliani πŸ‘
thank you very much, it works
Many thanks

from regcm.

sh-iz avatar sh-iz commented on June 15, 2024

I've tried everything but I'm still facing an issue stating " /bin/bash: cru: command not found "
What am I supposed to do?

ps. I've installed binutils too.

Screenshot 2021-06-20 151921

from regcm.

devisdevis avatar devisdevis commented on June 15, 2024

@sh-iz,
Please check if you have these two packages
sudo apt install binutils build-essential

from regcm.

sh-iz avatar sh-iz commented on June 15, 2024

@sh-iz,
Please check if you have these two packages
sudo apt install binutils build-essential

sorry but it still doesn't work.
The packages were already installed for me.
I don't get whats the issue

from regcm.

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.