Bug 257414 - math/PDL - build fails as "hdf.h" could not be found (science/hdf has already been installed)
Summary: math/PDL - build fails as "hdf.h" could not be found (science/hdf has already...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-perl (Nobody)
Depends on:
Reported: 2021-07-25 17:05 UTC by parv
Modified: 2021-07-25 17:05 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (perl)


Note You need to log in before you can comment on or make changes to this bug.
Description parv 2021-07-25 17:05:11 UTC
Build of devel/PDL 2.019_5 fails ...

gmake[3]: Entering directory '/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/IO/HDF'
gmake[4]: Entering directory '/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/IO/HDF/SD'
"/root2/system-local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SD.bs ../../../blib/arch/auto/PDL/IO/HDF/SD/SD.bs 644
cc -c "-I/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/Basic/Core" -I  "-I/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/Basic/Core" -I -O2 -pipe -fno-omit-frame-pointer -march=nocona  -fstack-protector-strong -fno-strict-aliasing  -g   -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.32/mach/CORE" -DSWAP -DNDEBUG -DHDF -DBIG_LONGS -DIA64 -D_BSD_SOURCE -DLINUX -DGCC32   SD.c
SD.xs:38:10: fatal error: 'hdf.h' file not found
#include <hdf.h>
1 error generated.
gmake[4]: *** [Makefile:324: SD.o] Error 1
gmake[4]: Leaving directory '/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/IO/HDF/SD'
gmake[3]: *** [Makefile:485: subdirs] Error 2
gmake[3]: Leaving directory '/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/IO/HDF'
gmake[2]: *** [Makefile:496: subdirs] Error 2
gmake[2]: Leaving directory '/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019/IO'
gmake[1]: *** [Makefile:552: subdirs] Error 2
gmake[1]: Leaving directory '/src-build/ports-build/src-build/ports/math/PDL/work/PDL-2.019'
*** Error code 1

make: stopped in /src-build/ports/math/PDL

science/hdf 4.2.15,1 has already been installed.

# make showconfig  # for math/PDL.
===> The following configuration options are available for PDL-2.019_5:
     F77=on: Enable PDL::Minuit and PDL::Slatec
     FFTW=on: Enable PDL::FFTW
     GD=on: Enable PDL::IO::GD
     GSL=off: Enable PDL::GSL interface
     HDF=off: Enable PDL::IO::HDF interface
     OPENGL=off: Enable PDL::Graphics::TriD and OpenGL
     PGPLOT=on: Enable PDL::Graphics::PGPLOT
     PLPLOT=off: Enable PDL::Graphics::PLplot
     PROJ=off: Enable PDL::GIS::Proj interface
     READLINE=on: Use GNU readline
     SINK=off: Include PDL kitchen sink
===> Use 'make config' to modify these settings