[Bug 257414] math/PDL - build fails as "hdf.h" could not be found (science/hdf has already been installed)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 25 Jul 2021 17:05:11 UTC

            Bug ID: 257414
           Summary: math/PDL - build fails as "hdf.h" could not be found
                    (science/hdf has already been installed)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: perl@FreeBSD.org
          Reporter: parv.0zero9+freebsd@gmail.com
          Assignee: perl@FreeBSD.org
             Flags: maintainer-feedback?(perl@FreeBSD.org)

Build of devel/PDL 2.019_5 fails ...

gmake[3]: Entering directory
gmake[4]: Entering directory
"/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 -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
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
gmake[3]: *** [Makefile:485: subdirs] Error 2
gmake[3]: Leaving directory
gmake[2]: *** [Makefile:496: subdirs] Error 2
gmake[2]: Leaving directory
gmake[1]: *** [Makefile:552: subdirs] Error 2
gmake[1]: Leaving directory
*** 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

You are receiving this mail because:
You are the assignee for the bug.