HDFGroup / HDFGroup/hdf5-cffi

hdf5-cffi in quicklisp

Open
#69 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Common Lisp
Stars
38
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I installed the hdf5-cffi using roswell as per the instructions. But hdf5-cffi compile process cannot find the location of hdf5.h and gives the following error,

```
Installing from github HDFGroup/hdf5-cffi
To load "hdf5-cffi":
Load 1 ASDF system:
hdf5-cffi
; Loading "hdf5-cffi"
; pkg-config hdf5 --cflags
; ERROR: Subprocess #
with command ("pkg-config" "hdf5" "--cflags")
exited with error code 1

Package hdf5 was not found in the pkg-config search path.
Perhaps you should add the directory containing `hdf5.pc'
to the PKG_CONFIG_PATH environment variable
No package 'hdf5' found

; Attempting to continue anyway.
[1/3] System 'hdf5-cffi' found. Loading the system..; gcc -o /Users/mohanamuraly/.cache/common-lisp/sbcl-1.5.4-macosx-x64/Users/mohanamuraly/.roswell/local-projects/HDFGroup/hdf5-cffi/src/h5-grovel__grovel-tmp5GEXGEG5.o -c -g -Wall -Wundef -Wsign-compare -Wpointer-arith -O3 -g -Wall -O2 -fdollars-in-identifiers -mmacosx-version-min=10.6 -D_DARWIN_USE_64_BIT_INODE -arch x86_64 -fno-omit-frame-pointer -fPIC -I/Users/mohanamuraly/.roswell/lisp/quicklisp/dists/quicklisp/software/cffi_0.20.1/ /Users/mohanamuraly/.cache/common-lisp/sbcl-1.5.4-macosx-x64/Users/mohanamuraly/.roswell/local-projects/HDFGroup/hdf5-cffi/src/h5-grovel__grovel.c
/Users/mohanamuraly/.cache/common-lisp/sbcl-1.5.4-macosx-x64/Users/mohanamuraly/.roswell/local-projects/HDFGroup/hdf5-cffi/src/h5-grovel__grovel.c:7:10: fatal error:
'hdf5.h' file not found
#include
^~~~~~~~
1 error generated.
```

I installed hdf5 not using homebrew since I have multiple hdf5 builds that I want to maintain. But HDF5 is on the LD/DYLD_LIBRARY_PATH and C_INCLUDE_PATH.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Roswell load of hdf5-cffi and inspect the pkg-config hdf5 --cflags invocation and the generated h5-grovel compilation command. Compare how a custom HDF5 installation exposes hdf5.pc and hdf5.h; done means the binding can locate the headers and complete compilation.

Written by the indexing model from the issue text.

Assessment

Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.