HDFGroup / hdf4

Official HDF4 Library Repository
Other
12 stars 24 forks source link

No rule to make target atom.c #694

Closed waarmond closed 3 months ago

waarmond commented 3 months ago

I've just tried to compile current git sources with gcc 13.2.1:

Making all in hdf
make[1]: Entering directory ./hdf4/src/build/hdf'
Making all in src
make[2]: Entering directory './hdf4/src/build/hdf/src'
make  all-am
make[3]: Entering directory './hdf4/src/build/hdf/src'
make[3]: *** No rule to make target './hdf4/src/hdf-4.2.14/hdf/src/atom.c', needed by 'atom.lo'.  Stop.

Is this failure maybe a byproduct of the recent cleanup e.g. https://github.com/HDFGroup/hdf4/pull/677 ?

derobins commented 3 months ago

atom.c is definitely built. Our CI wouldn't pass without it and hdf/src/Makefile.am and hdf/src/CMakeLists.txt both include it.

If you are building from master with the Autotools, you'll need to run autogen.sh to build configure, Makefile.in, etc. We removed generated Autotools files from non-release branches in 4.2.16.