help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Navneet Battan
Subject: Re: pkg: error running the configure script for communications.
Date: Fri, 15 Jan 2021 22:23:07 +0530

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 <floss@apjanke.net> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]