Skip to content

Commit

Permalink
Update redlands install docs
Browse files Browse the repository at this point in the history
  • Loading branch information
amoeba committed Aug 6, 2022
1 parent 50fcd59 commit 1a06a10
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions d1lod/docs/installing-redlands-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The [Redland bindings](http://librdf.org/bindings/) can be harder to install than most Python packages.
Specifically, you won't find pre-built wheels on [PyPi](https://pypi.org/), you have to install it from source, and you may run into linker issues.

The [installation instruction](http://librdf.org/bindings/INSTALL.html) work fine under various Linux distros and only need minimal tweaking on macOS w/ Homebrew's `[email protected]` formulae but won't work out of the box with [pyenv](https://github.com/pyenv/pyenv) Pythons.
The [installation instruction](http://librdf.org/bindings/INSTALL.html) work fine under various Linux distros and only need minimal tweaking on macOS w/ Homebrew's `[email protected]` formulae but won't work out of the box with [pyenv](https://github.com/pyenv/pyenv) Pythons.

Here's how to make that work:

Expand Down Expand Up @@ -35,6 +35,14 @@ When running `./configure`, I found I needed to specify my Python binary directl

This will run but `make` will fail during linking complaining about undefined symnbols. See the next section.

If it succeeds, you should see python listed under "Language APIs built":

```
Redland build summary:
Redland: 1.0.17
Language APIs built: python
```

## pyenv doesn't install Python.framework

It turns out that pyenv doesn't install a `Python.framework` folder like Homebrew does and you have to have this.
Expand Down Expand Up @@ -70,4 +78,4 @@ Then run:
```
make # should run
make install
```
```

0 comments on commit 1a06a10

Please sign in to comment.