Re: pkg: error running the configure script for communications.

Navneet Battan <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CAPLBAkBwx7N8vJ9-LabOXQocznFZ1UACgMyxa-LeoG96NJ-5Gw@mail.gmail.com>
I think we are entering into fi of configure.ac in communications pkg. I
don't have much idea about it, i am just digging.

have_hdf5=no
# check for HDF5 using pkg-config
PKG_CHECK_MODULES([HDF5],[hdf5],
 [have_hdf5=yes ],
 []
)
if test $have_hdf5 = no; then
  save_CPPFLAGS="$CPPFLAGS"
  save_LIBS="$LIBS"
  AC_CHECK_LIB(hdf5,H5Fopen,
    [
     have_hdf5=yes
     AC_CHECK_HEADERS([hdf5.h])
     HDF5_LIBS=-lhdf5
    ],
    [],
  )
  CPPFLAGS="$save_CPPFLAGS"
  LIBS="$save_LIBS"
fi
if test $have_hdf5 = no; then
  *AC_MSG_ERROR([hdf5 not found])*
fi


Warm Regards,
Navneet



On Fri, 15 Jan 2021 at 20:49, Andrew Janke <[email protected]> wrote:

>
>
> On 1/15/21 10:13 AM, Navneet Battan wrote:
> > Also i tried installing HDF5 from macport and saw below message. Do you
> > know if it's related?
> >
> > --->  Computing dependencies for hdf5
> >
> > --->  Deactivating hdf5 @1.12.0_0+cxx+hl+universal
> >
> > --->  Cleaning hdf5
> >
> > --->  Activating hdf5 @1.12.0_0+cxx+hl
> >
> > --->  Cleaning hdf5
> >
> > --->  Scanning binaries for linking errors
> >
> > --->  No broken files found.
> >
> > --->  No broken ports found.
> >
> > --->  Some of the ports you installed have notes:
> >
> >   hdf5 has the following notes:
> >
> >     Mac users may need to set the environment variable
> > "HDF5_USE_FILE_LOCKING"
> >
> >     to the five-character string "FALSE" when accessing network mounted
> > files.
> >
> >     This is an application run-time setting, not a configure or build
> > setting.
> >
> >     Otherwise errors such as "unable to open file" or "HDF5 error" may be
> >
> >     encountered.
> >
>
> Looks unrelated.
>
> Cheers,
> Andrew
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.