First time here? Checkout the FAQ!
x
0 votes
by (190 points)
Dear Colleagues,

   I am trying to install opencarp on a linux cluster.

   I get this error after make setup

 * creating archive:  liblimpet

ar: creazione di liblimpet.opt.a

(cd ./src && gengetopt -iopts.ggo -l -ccc)

/usr/bin/sh: gengetopt: command not found

make[2]: *** [src/cmdline.cc] Errore 127

make[2]: Leaving directory `/home/scacchi/openCARP/physics/limpet'

make[1]: *** [openCARP] Errore 2

make[1]: Leaving directory `/home/scacchi/openCARP'

make: *** [setup] Errore 2

I have installed  gengetopt in my home.

It seems it looks for gengetopt in /usr/bin/sh

How can I link to my gengetopt installation?

Thank you.

With best regards,

          Simone

1 Answer

0 votes
by (8.0k points)
Hi!

"/usr/bin/sh" is the shell. The message

/usr/bin/sh: gengetopt: command not found

means that the shell could not find gengetopt in any folder defined in the PATH environment variable.

As such, please make sure the gengetopt binary folder is in your PATH variable. You can check this via the command "which gengetopt".

Cheers, Aurel
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...