From 6dfbdf5af37b1d679414776ba8b4789118261390 Mon Sep 17 00:00:00 2001 From: madjestic Date: Thu, 24 Sep 2015 00:34:27 +0200 Subject: [PATCH 1/4] adding Gentoo installation instruction --- README | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README b/README index bfe042f..1222259 100644 --- a/README +++ b/README @@ -98,3 +98,24 @@ sudo emacs /System/Library/Frameworks/Python.framework/Versions/2.6/Headers/pypo #endif +#endif +############################## +### Building on GNU/Gentoo ### +############################## + +Some Gentoo files are named different from what is assumed in the pvr +installation scripts, minor modifications are required: + +First we need to define the installation directory. The following +example will place everything into +pvr_dir/libpvr/install/linux2/g++/m64/release/python26/pvr: + +$ cd pvr_dir/libpvr +$ export PVR_PYTHON_PATH="." + +Next we need to create a few symbolic links to satisfy dependencies: +$ cd /usr/lib +$ sudo ln -s ./libboost_python-2.7.so ./libboost_python.so +$ sudo ln -s ./libpython2.7.so ./libpython2.6.so + +$ cd /usr/lib/python2.7 +$ sudo ln -s /home/madjestic/Projects/pvr/libpvr.so ./libpvr.so \ No newline at end of file From 5c96170c803e2726715050532b555a9e43afc783 Mon Sep 17 00:00:00 2001 From: madjestic Date: Thu, 24 Sep 2015 00:36:55 +0200 Subject: [PATCH 2/4] adding Gentoo installation instruction --- README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 1222259..3b74879 100644 --- a/README +++ b/README @@ -98,9 +98,9 @@ sudo emacs /System/Library/Frameworks/Python.framework/Versions/2.6/Headers/pypo #endif +#endif -############################## -### Building on GNU/Gentoo ### -############################## +#################################### +### Building on GNU/Linux Gentoo ### +#################################### Some Gentoo files are named different from what is assumed in the pvr installation scripts, minor modifications are required: From 9ef0db68f9c3ca2eb4843ebc4791867d93601fbe Mon Sep 17 00:00:00 2001 From: madjestic Date: Thu, 24 Sep 2015 00:54:11 +0200 Subject: [PATCH 3/4] updating README --- README | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README b/README index 3b74879..b13009a 100644 --- a/README +++ b/README @@ -106,16 +106,18 @@ Some Gentoo files are named different from what is assumed in the pvr installation scripts, minor modifications are required: First we need to define the installation directory. The following -example will place everything into +example assumes that python2.7 is installed and will place everything into pvr_dir/libpvr/install/linux2/g++/m64/release/python26/pvr: $ cd pvr_dir/libpvr $ export PVR_PYTHON_PATH="." -Next we need to create a few symbolic links to satisfy dependencies: +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 $ cd /usr/lib/python2.7 -$ sudo ln -s /home/madjestic/Projects/pvr/libpvr.so ./libpvr.so \ No newline at end of file +$ sudo ln -s pvr_dir/libpvr/install/linux2/g++/m64/release/python26/pvr/ ./pvr \ No newline at end of file From ad58b0b107a48f0077ad803122054850f52ab74f Mon Sep 17 00:00:00 2001 From: madjestic Date: Thu, 24 Sep 2015 01:01:24 +0200 Subject: [PATCH 4/4] editing README --- README | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README b/README index b13009a..4c32625 100644 --- a/README +++ b/README @@ -105,10 +105,10 @@ sudo emacs /System/Library/Frameworks/Python.framework/Versions/2.6/Headers/pypo Some Gentoo files are named different from what is assumed in the pvr installation scripts, minor modifications are required: -First we need to define the installation directory. The following -example assumes that python2.7 is installed and will place everything into -pvr_dir/libpvr/install/linux2/g++/m64/release/python26/pvr: +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="." @@ -119,5 +119,8 @@ $ 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 \ No newline at end of file