-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
||
|
@@ -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. | ||
|
@@ -70,4 +78,4 @@ Then run: | |
``` | ||
make # should run | ||
make install | ||
``` | ||
``` |