Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,29 @@ sudo emacs /System/Library/Frameworks/Python.framework/Versions/2.6/Headers/pypo
#endif
+#endif

####################################
### Building on GNU/Linux Gentoo ###
####################################

Some Gentoo files are named different from what is assumed in the pvr
installation scripts, minor modifications are required:

The following example assumes python2.7 installation and will place everything
into pvr_dir/libpvr/install/linux2/g++/m64/release/python26/pvr.

First we need to define the directory where the python library will be installed:
$ cd pvr_dir/libpvr
$ export PVR_PYTHON_PATH="."

Depending on the installed python version, we may need to create a few
symbolic links to satisfy the dependencies:
$ cd /usr/lib
$ sudo ln -s ./libboost_python-2.7.so ./libboost_python.so
$ sudo ln -s ./libpython2.7.so ./libpython2.6.so
$ sudo ln -s pvr_dir/libpvr.so ./libpvr.so

Now things should get built. Proceed as described in "Building PVR" section.

Finally, after the pvr pylib is built and installed, create a symlink to it:
$ cd /usr/lib/python2.7
$ sudo ln -s pvr_dir/libpvr/install/linux2/g++/m64/release/python26/pvr/ ./pvr