From b29a76bf334238e6200b29208c627c71090860da Mon Sep 17 00:00:00 2001 From: leap Date: Fri, 22 Nov 2013 12:09:23 -0500 Subject: Fixes for linux --- README.rst | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index d7eaaf3..35f2fbf 100644 --- a/README.rst +++ b/README.rst @@ -19,6 +19,12 @@ NOTE: Most of this will be done automatically in a while, but this is how it's d :: pip install -r pkg/requirements.pip +- Install the needed dependencies + +:: + # Linux only dependencies + aptitude install libsqlite3-dev + - psutils is a dependency for another dependency, it might get installed in a zip form, which we don't want, so we install it by hand for now :: @@ -50,12 +56,21 @@ NOTE: Most of this will be done automatically in a while, but this is how it's d git clone git://gitorious.org/pyside/shiboken.git git clone git://gitorious.org/pyside/pyside.git git clone git://gitorious.org/pyside/pyside-tools.git + + # OSX export PYSIDESANDBOXPATH=$HOME/Code/pyside/sandbox + export DYLD_LIBRARY_PATH=$PYSIDESANDBOXPATH/lib:$DYLD_LIBRARY_PATH + + # Linux + export PYSIDESANDBOXPATH=$HOME/sandbox + export LD_LIBRARY_PATH=$PYSIDESANDBOXPATH/lib:$LD_LIBRARY_PATH + export PATH=$PYSIDESANDBOXPATH/bin:$PATH export PYTHONPATH=$PYSIDESANDBOXPATH/lib/python2.6/site-packages:$PYTHONPATH - export DYLD_LIBRARY_PATH=$PYSIDESANDBOXPATH/lib:$DYLD_LIBRARY_PATH export PKG_CONFIG_PATH=$PYSIDESANDBOXPATH/lib/pkgconfig:$PKG_CONFIG_PATH + alias runcmake='cmake .. -DCMAKE_INSTALL_PREFIX=$PYSIDESANDBOXPATH' + # In OSX, the paths may vary depending on the Qt installation runcmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk .. -DQT_QMAKE_EXECUTABLE=/usr/local/bin/qmake -DQT_INCLUDE_DIR=/usr/local/include/ -DQT_INCLUDES=/usr/local/include/ -DALTERNATIVE_QT_INCLUDE_DIR=/usr/local/include/ # In Linux -- cgit v1.2.3