support 32bit linux

This commit is contained in:
j 2014-05-17 20:13:58 +02:00
parent edde887357
commit a85bf6489d
2 changed files with 21 additions and 16 deletions

View File

@ -14,6 +14,20 @@ If you dont have native IPv6 you can use Teredo/Miredo (apt-get install miredo)
or get a tunnel Hurricane Electric (https://tunnelbroker.net/)
or SixSS (https://sixxs.net).
Development
-----------
mkdir client
cd client
git clone https://git.0x2620.org/openmedialibrary.git
git clone https://git.0x2620.org/openmedialibrary_platform.git platform
ln -s openmedialibrary/ctl ctl
./ctl update_static
./ctl setup
# and start it
./ctl debug
Platform
----------
@ -30,16 +44,3 @@ On Linux you need to always install:
apt-get install \
python-imaging python-lxml ghostscript
Development
-----------
mkdir client
cd client
git clone https://git.0x2620.org/openmedialibrary.git
git clone https://git.0x2620.org/openmedialibrary_platform.git platform
ln -s openmedialibrary/ctl ctl
./ctl update_static
./ctl setup
# and start it
./ctl debug

4
ctl
View File

@ -9,7 +9,11 @@ if [ -e oml ]; then
fi
BASE=`pwd`
SYSTEM=`uname -s`
PLATFORM=`uname -m`
if [ $SYSTEM == "Linux" ]; then
SYSTEM="${SYSTEM}_${PLATFORM}"
fi
export PLATFORM_ENV="$BASE/platform/$SYSTEM"
if [ $SYSTEM == "Darwin" ]; then
export DYLD_FALLBACK_LIBRARY_PATH="$PLATFORM_ENV/lib"