So, I need to install OUnit2 and I'm on a 2015 MacBook Pro running MacOS Monterey 12.6. I have homebrew, I have Ocaml, I have opam. Dune is one of Ounit2's dependencies, so obviously I need it to have OUnit2. However, this is what I get:
$ opam install ounit
The following actions will be performed:
∗ install dune 3.6.1 [required by ounit2]
∗ install stdlib-shims 0.3.0 [required by ounit2]
∗ install ounit2 2.2.6 [required by ounit]
∗ install ounit 2.2.6
===== ∗ 4 =====
Do you want to continue? [Y/n] y
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><> 🐫
⬇ retrieved ounit.2.2.6 (cached)
⬇ retrieved ounit2.2.2.6 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved dune.3.6.1 (cached)
[ERROR] The compilation of dune.3.6.1 failed at "ocaml boot/bootstrap.ml -j 3".
#=== ERROR while compiling dune.3.6.1 =========================================#
# context 2.1.4 | macos/x86_64 | ocaml-base-compiler.4.13.0 | https://opam.ocaml.org#a9fb5a37
# path ~/.opam/4.13.0/.opam-switch/build/dune.3.6.1
# command ~/.opam/opam-init/hooks/sandbox.sh build ocaml boot/bootstrap.ml -j 3
# exit-code 2
# env-file ~/.opam/log/dune-6080-3de25d.env
# output-file ~/.opam/log/dune-6080-3de25d.out
### output ###
# [...]
# In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
# In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
# In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:208:
# In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25:
# /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/hfs/hfs_format.h:796:20: error: use of undeclared identifier 'uuid_string_t'
# char reserved[JIB_RESERVED_SIZE];
# ^
# /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/hfs/hfs_format.h:787:61: note: expanded from macro 'JIB_RESERVED_SIZE'
# #define JIB_RESERVED_SIZE ((32*sizeof(u_int32_t)) - sizeof(uuid_string_t) - 48)
# ^
# 2 errors generated.
#
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><> 🐫
┌─ The following actions failed
│ λ build dune 3.6.1
└─
╶─ No changes have been performed
So far, I've tried updating my MacOS (I tried this on Mojave 11.4, same error, then upgraded to Monterey) and reinstalling my xcode Command Line Tools. Why isn't this working?
Stupid problems call for stupid solutions.
Adding typedef __darwin_uuid_string_t uuid_string_t; to line 777 of /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/hfs/hfs_format.h magically made it work.
Related
I`m using MacBook with M1 chip and seems like multiple things arent optimised for it.
pyodbc didnt work for me, so I wanted to use pymssql.
Though, I encountered this issue when I tried to run pip install pymssql.
The error is as below.
Using cached pymssql-2.2.2.tar.gz (170 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pymssql
Building wheel for pymssql (pyproject.toml) ... error
ERROR: Command errored out with exit status 1:
Your project path and someinfo about it.
Complete output (25 lines):
setup.py: platform.system() => Darwin
setup.py: platform.architecture() => ('64bit', '')
setup.py: platform.libc_ver() => ('', '')
setup.py: include_dirs => []
setup.py: library_dirs => []
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-3.9
creating build/lib.macosx-10.9-universal2-3.9/pymssql
copying src/pymssql/__init__.py -> build/lib.macosx-10.9-universal2-3.9/pymssql
running build_ext
cythoning src/pymssql/_mssql.pyx to src/pymssql/_mssql.c
cythoning src/pymssql/_pymssql.pyx to src/pymssql/_pymssql.c
building 'pymssql._mssql' extension
creating build/temp.macosx-10.9-universal2-3.9
creating build/temp.macosx-10.9-universal2-3.9/src
creating build/temp.macosx-10.9-universal2-3.9/src/pymssql
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/Users/lakshayrohilla/SMS Project Files /cracs-backend/.venv/include -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c src/pymssql/_mssql.c -o build/temp.macosx-10.9-universal2-3.9/src/pymssql/_mssql.o -DMSDBLIB
src/pymssql/_mssql.c:682:10: fatal error: 'sqlfront.h' file not found
#include "sqlfront.h"
^~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/gcc' failed with exit code 1
----------------------------------------
**ERROR: Failed building wheel for pymssql**
Failed to build pymssql
**ERROR: Could not build wheels for pymssql, which is required to install pyproject.toml-based projects**
On trying loads of solutions for fixing this issue, Seems like something worked out for me.
I`m providing the code below for solving this issue.
Important Note:
Change the path as per your system.
1. brew install freetds
2. brew install openssl
3. export LDFLAGS="-L/opt/homebrew/Cellar/freetds/1.3.3/lib -L/opt/homebrew/Cellar/openssl#1.1/1.1.1l_1/lib"
4. export CFLAGS="-I/opt/homebrew/Cellar/freetds/1.3.3/include"
5. pip install pymssql
Just run the above commands & it should solve your issue, as it worked out for me.
Running the following commands fixed my issue
$ brew install freetds openssl
$ echo 'export LDFLAGS="-L/opt/homebrew/opt/freetds/lib -L/opt/homebrew/opt/openssl#3/lib"' >> ~/.zshrc
$ echo 'export CFLAGS="-I/opt/homebrew/opt/freetds/include"' >> ~/.zshrc
$ echo 'export CPPFLAGS="-I/opt/homebrew/opt/openssl#3/include"' >> ~/.zshrc
$ source ~/.zshrc
$ pip3 install pymssql
I wanted to install the ocaml-compiler as well as required packages.
I've already successfully ran those lines:
$ sh <(curl -sL \
https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)
$ opam init --bare
$ opam switch create 4.13.1
$ eval $(opam env)
And then I gave this command line:
opam install ocaml-lsp-server dune utop mparser \
ocamlformat ounit2 qcheck
And I became this error report:
[ERROR] The compilation of cmdliner.1.0.4 failed at "make all
PREFIX=/Users/jasmin/.opam/4.13.1".
⬇ retrieved mew_vi.0.5.0 (cached)
⬇ retrieved lwt_react.1.1.4 (cached)
⬇ retrieved odoc-parser.0.9.0 (cached)
⬇ retrieved react.1.2.1 (cached)
⬇ retrieved ocp-indent.1.8.1 (cached)
⬇ retrieved utop.2.8.0 (cached)
⬇ retrieved topkg.1.0.4 (cached)
⬇ retrieved uutf.1.0.2 (cached)
⬇ retrieved uuseg.14.0.0 (cached)
⬇ retrieved zed.3.1.0 (cached)
⬇ retrieved uucp.14.0.0 (cached)
[ERROR] The compilation of topkg.1.0.4 failed at "ocaml pkg/pkg.ml build
--pkg-name topkg --dev-pkg false".
#=== ERROR while compiling topkg.1.0.4 ========================================#
# context 2.1.0 | macos/x86_64 | ocaml-base-compiler.4.13.1 | git+https://github.com/ocaml/opam-repository.git
# path ~/.opam/4.13.1/.opam-switch/build/topkg.1.0.4
# command ~/.opam/opam-init/hooks/sandbox.sh build ocaml pkg/pkg.ml build --pkg-name topkg --dev-pkg false
# exit-code 1
# env-file ~/.opam/log/topkg-2340-8c41a0.env
# output-file ~/.opam/log/topkg-2340-8c41a0.out
### output ###
# [...]
# Command exited with code 2.
# pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-j' '4' '-tag' 'debug'
# '-build-dir' '_build' 'CHANGES.md' 'LICENSE.md' 'README.md' 'pkg/META'
# 'topkg.opam' 'src/topkg.a' 'src/topkg.cmxs' 'src/topkg.cmxa'
# 'src/topkg.cma' 'src/topkg_vcs.cmx' 'src/topkg_test.cmx'
# 'src/topkg_string.cmx' 'src/topkg_result.cmx' 'src/topkg_publish.cmx'
# 'src/topkg_pkg.cmx' 'src/topkg_os.cmx' 'src/topkg_opam.cmx'
# 'src/topkg_main.cmx' 'src/topkg_log.cmx' 'src/topkg_ipc.cmx'
# 'src/topkg_install.cmx' 'src/topkg_fpath.cmx' 'src/topkg_fexts.cmx'
# 'src/topkg_distrib.cmx' 'src/topkg_conf.cmx' 'src/topkg_codec.cmx'
# 'src/topkg_cmd.cmx' 'src/topkg_build.cmx' 'src/topkg.cmx'
# 'src/topkg.cmi' 'src/topkg.mli']: exited with 10
#=== ERROR while compiling cmdliner.1.0.4 =====================================#
# context 2.1.0 | macos/x86_64 | ocaml-base-compiler.4.13.1 | git+https://github.com/ocaml/opam-repository.git
# path ~/.opam/4.13.1/.opam-switch/build/cmdliner.1.0.4
# command ~/.opam/opam-init/hooks/sandbox.sh build make all PREFIX=/Users/jasmin/.opam/4.13.1
# exit-code 1
# env-file ~/.opam/log/cmdliner-2340-7f9fe6.env
# output-file ~/.opam/log/cmdliner-2340-7f9fe6.out
### output ###
# xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><> 🐫
┌─ The following actions failed
│ λ build cmdliner 1.0.4
│ λ build topkg 1.0.4
My MacOS is already updated to the latest version. I don't know what can I do to solve it, please help me
I think you could check out the macOS part of this version of the INSTALL file.
Please open your terminal and the command xcode-select --install. It seems like you haven't installed the Clang properly on your Macbook.
If this couldn't help, please let me know. I will help up to solve this issue.
You could also visit OCaml Forum and look for helps there.
I am trying to build a singularity container for use in a cluster running centOS 6. Some of the packages i need are in python. The problem is that installing by pip requires glibc-2.14 and glibc-2.17. I installed those according to here and here.
Here is my definition file:
Bootstrap: docker
From: conda/miniconda3-centos6
%files
conda_env.yml
glibc-2.14
CentOS-Base.repo
glibc-2.17-55.el6.x86_64.rpm
glibc-common-2.17-55.el6.x86_64.rpm
glibc-devel-2.17-55.el6.x86_64.rpm
glibc-headers-2.17-55.el6.x86_64.rpm
glibc-static-2.17-55.el6.x86_64.rpm
glibc-utils-2.17-55.el6.x86_64.rpm
nscd-2.17-55.el6.x86_64.rpm
%post
rm /etc/yum.repos.d/CentOS-Base.repo
mv CentOS-Base.repo /etc/yum.repos.d/
yum install -y wget bzip2 gcc perl bzip2-devel gd
HOME="$PWD"
cd glibc-2.14
mkdir build
cd build
../configure --prefix=/opt/glibc-2.14
make -j8
make install
export LD_LIBRARY_PATH=/opt/glibc-2.14/lib
cd "$HOME"
rpm -Uvh glibc-2.17-55.el6.x86_64.rpm \
glibc-common-2.17-55.el6.x86_64.rpm \
glibc-devel-2.17-55.el6.x86_64.rpm \
glibc-headers-2.17-55.el6.x86_64.rpm \
glibc-static-2.17-55.el6.x86_64.rpm \
glibc-utils-2.17-55.el6.x86_64.rpm \
/usr/local/bin/conda env create -f conda_env.yml
glibc-2.14 installs fine, but installing glibc-2.17 proves to be difficult. The installion fails with the following errors:
warning: glibc-2.17-55.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 73ec361c: NOKEY
Preparing... ########################################### [100%]
1:glibc-common ########################################### [ 17%]
2:glibc ########################################### [ 33%]
/usr/sbin/glibc_post_upgrade: While trying to execute /usr/sbin/iconvconfig.x86_64 child terminated abnormally
warning: %post(glibc-2.17-55.el6.x86_64) scriptlet failed, exit status 115
error: %pre(glibc-headers-2.17-55.el6.x86_64) scriptlet failed, signal 11
error: install: %pre scriptlet failed (2), skipping glibc-headers-2.17-55.el6
3:glibc-devel ########################################### [ 50%]
error: %post(glibc-devel-2.17-55.el6.x86_64) scriptlet failed, signal 11
4:glibc-static ########################################### [ 67%]
5:glibc-utils ########################################### [ 83%]
FATAL: While performing build: while running engine: exit status 6
Installing glibc-2.17 the same way as 2.14 will result in a segfault when python is called. Can anybody with more experienced provide some insights into possible solutions? Or if there are containers for centOS 6 with newer glibc out there?
Thanks in advance!
The problem is that installing by pip requires glibc-2.14 and glibc-2.17.
There is no way that something requires both GLIBC-2.14 and GLIBC-2.17 -- these versions do not normally coexist on a single system.
Installing GLIBC-2.17 should satisfy all the requirements (it provides both GLIBC-2.17 and all previous version symbols).
Trying to install openssl on homebrew using:
brew install openssl
Is giving the following error during make:
clang -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/etc/openssl#1.1\"" -DENGINESDIR="\"/usr/local/Cellar/openssl#1.1/1.1.1l/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/rand/randfile.d.tmp -MT crypto/rand/randfile.o -c -o crypto/rand/randfile.o crypto/rand/randfile.c
In file included from crypto/rand/rand_unix.c:38:
/usr/include/CommonCrypto/CommonRandom.h:35:9: error: unknown type name 'CCCryptorStatus'
typedef CCCryptorStatus CCRNGStatus;
^
crypto/rand/rand_unix.c:385:47: error: use of undeclared identifier 'kCCSuccess'
if (CCRandomGenerateBytes(buf, buflen) == kCCSuccess)
^
2 errors generated.
make[1]: *** [crypto/rand/rand_unix.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
Do not report this issue to Homebrew/brew or Homebrew/core!
Brew is trying to install openssl 1.1.1l:
==> Downloading https://www.openssl.org/source/openssl-1.1.1l.tar.gz
Already downloaded: /Users/user/Library/Caches/Homebrew/downloads/b6ccc5a2a602c2af3480bbcf1656bd9844595974ba60501871ac12504508e818--openssl-1.1.1l.tar.gz
I need this dependency to install many other applications/tools, e.g., wget or python - and would like to use homebrew to do this.
The brew version I am using is:
Homebrew 3.2.9
Homebrew/homebrew-core (git revision fa395c6627; last commit 2021-08-27)
Homebrew/homebrew-cask (git revision 606ed52390; last commit 2021-08-27)
macOS is: 10.12.6 (Sierra) and I am using a MacBook Pro (13-inch, Early 2011)
Is there any way I can get around this issue to install openssl? Or anyway I can install python specifying a different openssl to use as a dependency?
I was able to install openssl 1.0 using the following brew command:
brew install rbenv/tap/openssl#1.0
However, python continually tries to use openssl 1.1.1l which is failing with the above error.
I managed to resolve it by editing formula (brew edit openssl)
and adding
-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
to args array in configure_args.
As below:
def configure_args
args = %W[
--prefix=#{prefix}
--openssldir=#{openssldir}
no-ssl3
no-ssl3-method
no-zlib
##### add the line here ####
-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
]
on_linux do
args += (ENV.cflags || "").split
args += (ENV.cppflags || "").split
args += (ENV.ldflags || "").split
args << "enable-md2"
end
args
end
I had to change the following file on Sierra (MacOs 10.12):
sudo chmod a+w /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/CommonCrypto/CommonRandom.h
vi /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/CommonCrypto/CommonRandom.h
I've added the following line before the typedef statement:
#include "CommonCrypto/CommonCryptoError.h"
And also followed the advice of #Hulkur - run command:
brew edit openssl
and added
-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
to args array in configure_args.
Seems a bug of openssl itself. https://github.com/openssl/openssl/issues/16487
~~What about export SDKROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk "?~~
Homebrew pre-build packages for some versions of macOS. But it keep dropping this pre-building support for old macOS. On macOS 10.12, you're building openssl from the source code and Xcode command line tool is needed.
xcode-select --install
Then brew install openssl again.
I had the same issue in Mac Sierra 10.13.6 (17G14042)
brew install openssl#1.1
I have updated the openssl
brew edit openssl
add the line inside def configure_args
-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
def configure_args
args = %W[
--prefix=#{prefix}
--openssldir=#{openssldir}
no-ssl3
no-ssl3-method
no-zlib
-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
]
Run the below comment after this.
RUBY_CONFIGURE_OPTS="--disable-install-doc --with-openssl-dir=$(brew --prefix openssl#1.1)" rbenv install 3.0.2
First, to edit the file:
$ export EDITOR=nano
$ export VISUAL="$EDITOR"
then
brew edit openssl
After file open add the line
-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
# help debug inevitable breakage.
def configure_args
args = %W[
--prefix=#{prefix}
--openssldir=#{openssldir}
no-ssl3
no-ssl3-method
no-zlib
-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
]
on_linux do
args += (ENV.cflags || "").split
args += (ENV.cppflags || "").split
args += (ENV.ldflags || "").split
args << "enable-md2"
end
args
end
Save edition and install
brew install openssl
Notice: the installation took a long time, but it's worked.
After brew edit openssl, I end up with a new error:
=> perl ./Configure --prefix=/usr/local/Cellar/openssl#1.1/1.1.1l --openssldir=/usr/local/etc/openssl#1.1 no-ssl3 no-ssl3-method no-zlib -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include darwin64-x86_64-cc enable-ec_nistp_64_gcc_128
==> make
Last 15 lines from /Users/francis/Library/Logs/Homebrew/openssl#1.1/02.make:
include "CommonCrypto/CommonCryptoError.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/CommonCrypto/CommonRandom.h:35:9: error: expected identifier or '('
include "CommonCrypto/CommonCryptoError.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/CommonCrypto/CommonRandom.h:52:1: error: unknown type name 'CCRNGStatus'
CCRNGStatus CCRandomGenerateBytes(void *bytes, size_t count)
^
crypto/rand/rand_unix.c:385:47: error: use of undeclared identifier 'kCCSuccess'
if (CCRandomGenerateBytes(buf, buflen) == kCCSuccess)
^
4 errors generated.
make[1]: *** [crypto/rand/rand_unix.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
Edit
Silly me, I had:
include "CommonCrypto/CommonCryptoError.h"
Instead of
#include "CommonCrypto/CommonCryptoError.h"
So make sure you have a hash first.
This issue has now been resolved (since 9/11/2021) and patches are no longer required
For MacOS prior to 10.12 (e.g. 10.11 El Capitan) there is another issue - test failure:
Test Summary Report
-------------------
../test/recipes/05-test_rand.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=2, 5 wallclock secs ( 0.38 usr 0.06 sys + 5.71 cusr 2.48 csys = 8.63 CPU)
Result: FAIL
make[1]: *** [_tests] Error 1
make: *** [tests] Error 2
There is an issue and a pull request for OpenSSL that is open to fix this:
https://github.com/openssl/openssl/issues/16517
https://github.com/openssl/openssl/pull/16587
If you have this issue go over and vote for them
I have a similar issue to this question PyTables does not seem to acknowledge hdf5 though it is evidently installed. Here is a slightly abbreviated error message from pip.
(And I'm going to ramble a bit more just because I get the annoying "this is mostly code" warning.)
pip install --upgrade h5py
Requirement already up-to-date: h5py in /Library/Python/2.7/site-packages
Cleaning up...
$ pip install --upgrade tables
Downloading/unpacking tables
Downloading tables-3.1.1.tar.gz (6.7MB): 6.7MB downloaded
ld: library not found for -lhdf5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
* Using Python 2.7.5 (default, Mar 9 2014, 22:15:05)
* Found numpy 1.9.0 package installed.
* Found numexpr 2.4 package installed.
* Found Cython 0.21 package installed.
ld: library not found for -lhdf5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
.. ERROR:: Could not find a local HDF5 installation.
You may need to explicitly state where your local HDF5 headers and
library can be found by setting the ``HDF5_DIR`` environment
variable or by using the ``--hdf5`` command-line option.
Complete output from command python setup.py egg_info:
/var/folders/0w/y_9w4kq53pqfgrc72bb7cml40000gn/T/H5closekvR8zE.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ld: library not found for -lhdf5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
* Using Python 2.7.5 (default, Mar 9 2014, 22:15:05)
* Found numpy 1.9.0 package installed.
* Found numexpr 2.4 package installed.
* Found Cython 0.21 package installed.
ld: library not found for -lhdf5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
.. ERROR:: Could not find a local HDF5 installation.
You may need to explicitly state where your local HDF5 headers and
library can be found by setting the ``HDF5_DIR`` environment
variable or by using the ``--hdf5`` command-line option.