Compiling protobuf-2.5.0 on synology

# repairing some system bugs
mkdir -p ~/temp/opt/i686-linux-gnu/lib
mv -v /opt/i686-linux-gnu/lib/ ~/temp/opt/i686-linux-gnu/lib
ln -s /lib/ /opt/i686-linux-gnu/lib/
mkdir -p /usr/local/i686-linux-gnu/i686-linux-gnu/lib
ln -s /opt/lib/ /usr/local/i686-linux-gnu/i686-linux-gnu/lib/

export CPPFLAGS="-march=i686"
export CXXFLAGS="-march=i686"

cd ~/compile
tar xvzf protobuf-2.5.0.tar.gz
cd ~/compile/protobuf-2.5.0
~/ ffpg-no-m4
./configure --prefix=$HOME/apps --enable-dependency-tracking

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.