Hi,

I'm trying to compile OpenFOAM (free CFD software). I am a casual linux user and compile things once every few years. I found nothing in the OpenFOAM forum which might help me through the process.

I am stuck at the beginning of the compilation and I suspect that I am missing some dependencies. Here is the error message:

/usr/include/bits/errno.h:26:11: fatal error: linux/errno.h: No such file or directory
26 | # include <linux/errno.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:93: /home/julien/Documents/OpenFoam/OpenFOAM-v2312/platforms/tools/linux64Gcc/wmkdepend] Error 1
Done logging to 'log.linux64GccDPInt32Opt'

Before that I had to install gcc, make and g++. I also added gcc-devel (because why not).

I feel that this error message is not enough to provide insight of the problem, but I don't know what to add. Sorry.

Is there anyone who has already install this software ?

Regards,

Julien

  • Before compiling anything it is recommended to install all development files. So you don't miss any build-tools :

    sudo eopkg it -c system.devel

    Make sure too also install all OpenFOAM dependencies and their development files (-devel). I think we have all of them including including paraview. Cheers!

Before compiling anything it is recommended to install all development files. So you don't miss any build-tools :

sudo eopkg it -c system.devel

Make sure too also install all OpenFOAM dependencies and their development files (-devel). I think we have all of them including including paraview. Cheers!