Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build on FreeBSD #3925

Closed
eschnett opened this issue Jan 4, 2024 · 2 comments
Closed

Cannot build on FreeBSD #3925

eschnett opened this issue Jan 4, 2024 · 2 comments
Labels
Component - Build CMake, Autotools

Comments

@eschnett
Copy link

eschnett commented Jan 4, 2024

Describe the bug
I am trying to build HDF5 1.14.3 on FreeBSD. This fails with the error message

[21:09:25] ../configure: .: line 71: can't open '../config/classic-fflags': No such file or directory

This file is indeed not present.

I am configuring with

[21:09:25]  ---> ../configure --prefix=${prefix} --build=${MACHTYPE} --host=${target} --enable-cxx=yes --enable-direct-vfd="$ENABLE_DIRECT_VFD" --enable-fortran=yes --enable-hl=yes --enable-mirror-vfd="$ENABLE_MIRROR_VFD" --enable-parallel="$ENABLE_PARALLEL" --enable-ros3-vfd=yes --enable-static=no --enable-tests=no --enable-tools=yes --enable-unsupported=yes --with-examplesdir=/tmp --with-szlib=${prefix} hdf5_cv_ldouble_to_long_special=no hdf5_cv_long_to_ldouble_special=no hdf5_cv_ldouble_to_llong_accurate=yes hdf5_cv_llong_to_ldouble_correct=yes hdf5_cv_disable_some_ldouble_conv=no hdf5_cv_szlib_can_encode=yes "$(../saved/get_config_setting PAC_C_MAX_REAL_PRECISION ../saved/config.status)" "$(../saved/get_config_setting PAC_FC_ALL_REAL_KINDS ../saved/config.status)" "$(../saved/get_config_setting PAC_FC_MAX_REAL_PRECISION ../saved/config.status)" "$(../saved/get_config_setting PAC_FORTRAN_NUM_INTEGER_KINDS ../saved/config.status)" "$(../saved/get_config_setting PAC_FC_ALL_INTEGER_KINDS ../saved/config.status)" "$(../saved/get_config_setting PAC_FC_ALL_REAL_KINDS_SIZEOF ../saved/config.status)" "$(../saved/get_config_setting PAC_FC_ALL_INTEGER_KINDS_SIZEOF ../saved/config.status)" "$(../saved/get_config_setting PAC_FORTRAN_NATIVE_INTEGER_KIND ../saved/config.status)" "$(../saved/get_config_setting PAC_FORTRAN_NATIVE_INTEGER_SIZEOF ../saved/config.status)" "$(../saved/get_config_setting PAC_FORTRAN_NATIVE_REAL_KIND ../saved/config.status)" "$(../saved/get_config_setting PAC_FORTRAN_NATIVE_REAL_SIZEOF ../saved/config.status)" "$(../saved/get_config_setting PAC_FORTRAN_NATIVE_DOUBLE_KIND ../saved/config.status)" "$(../saved/get_config_setting PAC_FORTRAN_NATIVE_DOUBLE_SIZEOF ../saved/config.status)" "$(../saved/get_config_setting HAVE_Fortran_INTEGER_SIZEOF ../saved/config.status)" "$(../saved/get_config_setting FORTRAN_HAVE_C_LONG_DOUBLE ../saved/config.status)" "$(../saved/get_config_setting FORTRAN_C_LONG_DOUBLE_IS_UNIQUE ../saved/config.status)" "$(../saved/get_config_setting H5CONFIG_F_NUM_RKIND ../saved/config.status)" "$(../saved/get_config_setting H5CONFIG_F_RKIND ../saved/config.status)" "$(../saved/get_config_setting H5CONFIG_F_RKIND_SIZEOF ../saved/config.status)" "$(../saved/get_config_setting H5CONFIG_F_NUM_IKIND ../saved/config.status)" "$(../saved/get_config_setting H5CONFIG_F_IKIND ../saved/config.status)"

Platform (please complete the following information)

  • HDF5 version 1.14.3
  • FreeBSD 13.2
  • Clang 16.0.6, Gfortran 8
  • Build system (e.g. CMake, Autotools) and version: configure
  • Any configure options you specified
  • MPI library and version (parallel HDF5): MPICH 4.1.3

Additional context
Add any other context about the problem here.

@byrnHDF
Copy link
Contributor

byrnHDF commented Jan 5, 2024

Yes that is a mistake - it should be intel-fflags in config/freebsd file. It is corrected in develop and soon in hdf5_1_14 branch.

@lrknox
Copy link
Collaborator

lrknox commented Jan 9, 2024

Yes that is a mistake - it should be intel-fflags in config/freebsd file. It is corrected in develop and soon in hdf5_1_14 branch.

Fix was added to develop in #3883 and has been merged to the hdf5_1_14 branch in #3923 for release inHDF5 1.14.4.

@lrknox lrknox closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Build CMake, Autotools
Projects
None yet
Development

No branches or pull requests

4 participants