Hi Octave Team, I am facing below error when i tried to install communications package using "pkg -forge install communications". pkg: error running the configure script for communications. error: called from configure_make at line 82 column 9 install at line 184 column 7 pkg at line 437 column 9 Can you please help. I am using Octave 4.4.1 u1. Warm Regards, Navneet |
Updating complete error. I have tried installing hdf5 using "sudo port install hdf5", but no luck. >> pkg install -forge -verbose communications error: pkg: could not download file communications-1.2.2.tar.gz from url https://packages.octave.org/download/communications-1.2.2.tar.gz error: called from pkg at line 410 column 13 >> pkg install -forge -verbose communications mkdir (/var/folders/x7/8lp22t_j2ns15sbfr11032ph0000gn/T/oct-3rxFkO) untar (/Users/navneet/communications-1.2.2.tar.gz, /var/folders/x7/8lp22t_j2ns15sbfr11032ph0000gn/T/oct-3rxFkO) checking for mkoctfile... /Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/bin/mkoctfile-4.4.1 --verbose checking for octave... /Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/octave-octave-app@4.4.1/4.4.1/bin/octave-4.4.1 checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether clang++ -std=gnu++11 accepts -g... yes checking for a sed that does not truncate output... /Applications/Octave-4.4.1.app/Contents/Resources/usr/bin//gsed checking gripe_nonconformant or octave::err_nonconformant... octave::err_nonconformant checking gripe_wrong_type_arg or err_wrong_type_arg... err_wrong_type_arg checking gripe_square_matrix_required or err_square_matrix_required... err_square_matrix_required checking gripe_invalid_conversion or err_invalid_conversion... err_invalid_conversion checking gripe_implicit_conversion or warn_implicit_conversion... warn_implicit_conversion checking flush_octave_stdout or octave::flush_stdout... octave::flush_stdout checking is_complex_type or iscomplex... iscomplex checking is_real_type or isreal... isreal checking is_numeric_type or isnumeric... isnumeric checking is_empty or isempty... isempty checking oct_mach_info::float_format or octave::mach_info::float_format... octave::mach_info::float_format checking how to run the C++ preprocessor... clang++ -std=gnu++11 -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking octave/oct.h usability... yes checking octave/oct.h presence... yes checking for octave/oct.h... yes checking octave/base-lu.h usability... no checking octave/base-lu.h presence... no checking for octave/base-lu.h... no checking octave/lu.h usability... yes checking octave/lu.h presence... yes checking for octave/lu.h... yes checking octave/gripes.h usability... yes checking octave/gripes.h presence... yes checking for octave/gripes.h... yes checking octave/errwarn.h usability... yes checking octave/errwarn.h presence... yes checking for octave/errwarn.h... yes checking octave/ovl.h usability... yes checking octave/ovl.h presence... yes checking for octave/ovl.h... yes checking octave/oct-obj.h usability... yes checking octave/oct-obj.h presence... yes checking for octave/oct-obj.h... yes checking octave/ls-oct-ascii.h usability... no checking octave/ls-oct-ascii.h presence... no checking for octave/ls-oct-ascii.h... no checking octave/ls-oct-text.h usability... yes checking octave/ls-oct-text.h presence... yes checking for octave/ls-oct-text.h... yes checking for octave/oct-obj.h... (cached) yes checking octave/interpreter.h usability... yes checking octave/interpreter.h presence... yes checking for octave/interpreter.h... yes checking for pkg-config... /Applications/Octave-4.4.1.app/Contents/Resources/usr/bin//pkg-config checking pkg-config is at least version 0.9.0... yes checking for HDF5... no checking for H5Fopen in -lhdf5... no configure: error: hdf5 not found pkg: error running the configure script for communications. error: called from configure_make at line 82 column 9 install at line 184 column 7 pkg at line 437 column 9 Warm Regards, Navneet On Wed, 13 Jan 2021 at 17:36, Navneet Battan <[hidden email]> wrote:
|
Am 13. Januar 2021 um 14:11 Uhr schrieb "Navneet Battan":
> Updating complete error. I have tried installing hdf5 using "sudo port install hdf5", but no luck. > [...] > >> pkg install -forge -verbose communications > [...] > checking for HDF5... no > checking for H5Fopen in -lhdf5... no > configure: error: hdf5 not found I'm not exactly sure how that homebrew magic works. It might be that hdf5 has to be part of the app? Maybe you'll get better help reporting errors with installation on MacOS here: https://github.com/octave-app/octave-app/issues?q=is%3Aissue+forge It looks like communication 1.2.2 installed successfully for others: https://github.com/octave-app/octave-app/issues/147#issuecomment-586548525 Markus |
Thanks Markus for quick response. Warm Regards, Navneet On Wed, 13 Jan 2021 at 19:41, Markus Mützel <[hidden email]> wrote: Am 13. Januar 2021 um 14:11 Uhr schrieb "Navneet Battan": |
On 1/13/21 11:20 AM, Navneet Battan wrote: > Thanks Markus for quick response. > > Warm Regards, > Navneet > > > On Wed, 13 Jan 2021 at 19:41, Markus Mützel <[hidden email] > <mailto:[hidden email]>> wrote: > > Am 13. Januar 2021 um 14:11 Uhr schrieb "Navneet Battan": > > Updating complete error. I have tried installing hdf5 using "sudo > port install hdf5", but no luck. > > [...] > > >> pkg install -forge -verbose communications > > [...] > > checking for HDF5... no > > checking for H5Fopen in -lhdf5... no > > configure: error: hdf5 not found > > I'm not exactly sure how that homebrew magic works. It might be that > hdf5 has to be part of the app? > Maybe you'll get better help reporting errors with installation on > MacOS here: > https://github.com/octave-app/octave-app/issues?q=is%3Aissue+forge > <https://github.com/octave-app/octave-app/issues?q=is%3Aissue+forge> > > It looks like communication 1.2.2 installed successfully for others: > https://github.com/octave-app/octave-app/issues/147#issuecomment-586548525 > <https://github.com/octave-app/octave-app/issues/147#issuecomment-586548525> > t might be that > hdf5 has to be part of the app? Octave.app ships with hdf5 included; don't know why it's not working. Might be a macOS Big Sur problem? That's what Navneet is running, and I haven't tested Octave.app there. Looking in to it. Cheers, Andrew |
On 1/14/21 12:58 PM, Andrew Janke wrote: > > > On 1/13/21 11:20 AM, Navneet Battan wrote: >> Thanks Markus for quick response. >> >> Warm Regards, >> Navneet >> >> >> On Wed, 13 Jan 2021 at 19:41, Markus Mützel <[hidden email] >> <mailto:[hidden email]>> wrote: >> >> Am 13. Januar 2021 um 14:11 Uhr schrieb "Navneet Battan": >> > Updating complete error. I have tried installing hdf5 using "sudo >> port install hdf5", but no luck. >> > [...] >> > >> pkg install -forge -verbose communications >> > [...] >> > checking for HDF5... no >> > checking for H5Fopen in -lhdf5... no >> > configure: error: hdf5 not found >> >> I'm not exactly sure how that homebrew magic works. It might be that >> hdf5 has to be part of the app? >> Maybe you'll get better help reporting errors with installation on >> MacOS here: >> https://github.com/octave-app/octave-app/issues?q=is%3Aissue+forge >> <https://github.com/octave-app/octave-app/issues?q=is%3Aissue+forge> >> >> It looks like communication 1.2.2 installed successfully for others: >> https://github.com/octave-app/octave-app/issues/147#issuecomment-586548525 >> <https://github.com/octave-app/octave-app/issues/147#issuecomment-586548525> > >> t might be that >> hdf5 has to be part of the app? > > Octave.app ships with hdf5 included; don't know why it's not working. > Might be a macOS Big Sur problem? That's what Navneet is running, and I > haven't tested Octave.app there. Looking in to it. > > Cheers, > Andrew > Can you try running the new Octave.app 6.1.0 Beta 1 release? https://github.com/octave-app/octave-app/releases/tag/v6.1.0-beta1 Cheers, Andrw |
Hi Andrew, Facing same error with 6.1.0 version. checking for octave/interpreter.h... yes checking for pkg-config... /Applications/Octave-6.1.0.app/Contents/Resources/usr/bin//pkg-config checking pkg-config is at least version 0.9.0... yes checking for HDF5... no checking for H5Fopen in -lhdf5... no configure: error: hdf5 not found error: pkg: error running the configure script for communications. error: called from configure_make at line 93 column 9 install at line 196 column 7 pkg at line 568 column 9 Warm Regards, Navneet On Fri, 15 Jan 2021 at 15:57, Andrew Janke <[hidden email]> wrote:
|
Strange thing is that i am able to install control and signal packages, but only communications pkg has problem. Warm Regards, Navneet On Fri, 15 Jan 2021 at 20:08, Navneet Battan <[hidden email]> 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. Warm Regards, Navneet On Fri, 15 Jan 2021 at 20:22, Navneet Battan <[hidden email]> 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 |
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 <[hidden email]> wrote:
|
On 1/15/21 11:53 AM, Navneet Battan wrote: > I think we are entering into fi of configure.ac <http://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 Yep, that's the part that's failing. I just don't know why it's failing. I'm working on getting a Big Sur VM environment set up for testing. BTW, please "bottom post" on this list, putting replies below the quoted text. Cheers, Andrew |
Hi I am still facing this problem with latest octave 6.1.0 Warm Regards, Navneet On Sat, 16 Jan 2021 at 01:25, Andrew Janke <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |