[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails
From: |
John Donoghue |
Subject: |
[Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave |
Date: |
Sun, 22 Dec 2019 08:42:56 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0 |
Follow-up Comment #47, bug #46521 (project octave):
I have a hd5 one I need in order to commpile in fedra 31 at least - I cant
remember now if it was posted eslewhere that does a fall back if hdf5 isnt
found by pkg config
--- a/src/configure.ac Fri Dec 20 18:39:25 2019 -0500
+++ b/src/configure.ac Sun Dec 22 08:40:10 2019 -0500
@@ -142,11 +142,29 @@
LDFLAGS=$save_altsyms_LDFLAGS
LIBS=$save_altsyms_LIBS
-# check for HDF5
+have_hdf5=no
+# check for HDF5 using pkg-config
PKG_CHECK_MODULES([HDF5],[hdf5],
- [],
- [AC_MSG_ERROR([hdf5 not found])]
+ [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
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?46521>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, (continued)
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, John Donoghue, 2019/12/10
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, Nir Krakauer, 2019/12/10
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, John Donoghue, 2019/12/10
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, John Donoghue, 2019/12/10
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, John Donoghue, 2019/12/10
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, Nir Krakauer, 2019/12/10
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, John Donoghue, 2019/12/10
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, John Donoghue, 2019/12/10
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, Nir Krakauer, 2019/12/10
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, Markus Mützel, 2019/12/22
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave,
John Donoghue <=
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, John Donoghue, 2019/12/22
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, Nir Krakauer, 2019/12/22
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, John Donoghue, 2019/12/22
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, John Donoghue, 2019/12/22
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, John Donoghue, 2019/12/22
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, John Donoghue, 2019/12/22
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, Nir Krakauer, 2019/12/22
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, Markus Mützel, 2019/12/23
- [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest stable octave, Nir Krakauer, 2019/12/23