Compiling libev-4.19

#configuration for new package: NEW_BUILD_NAME=libev NEW_BUILD_VER=4.19 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME-* ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME-* NEW_BUILD_NR=0 cd ~/compile/ wget http://dist.schmorp.de/libev/libev-4.19.tar.gz tar xvzf $NEW_BUILD_NAME_AND_VER.tar.gz cd ~/compile/$NEW_BUILD_NAME_AND_VER/ find . -type f \( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} […]

Compiling nspr-4.10.7

cd ~/compile/ wget http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.10.7/src/nspr-4.10.7.tar.gz tar xvzf nspr-4.10.7.tar.gz cd ~/compile/nspr-4.10.7/nspr find . -type f \( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} \; , -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/ {} \; , -exec sed -i s/”\/usr\/bin\/sh”/”\/ffp\/bin\/sh”/ {} […]

Python 2.7.9 and pip commands

#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. #Compiling python-2.7.9 NEW_BUILD_NAME=python NEW_BUILD_VER=2.7.9 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME-* ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME-* NEW_BUILD_NR=0 #ERROR Failed to […]

Compiling xorg util-macros-1.19.0

cd ~/compile/ rm -r ~/compile/util-macros-1.19.0 mkdir util-macros-1.19.0 cd ~/compile/util-macros-1.19.0 git clone -q -b util-macros-1.19.0 git://anongit.freedesktop.org/xorg/util/macros mv -v macros/* . rm -r macros find . -type f \( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} \; […]

Compiling m4-1.4.17

cd ~/compile/ wget http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz tar xvzf m4-1.4.17.tar.gz cd ~/compile/m4-1.4.17 export BUILD_FLAGS=”-march=armv5te -mfloat-abi=soft -mabi=aapcs-linux -fno-stack-protector -pthread -O2 -Wall -I/ffp/include -I/ffp/opt/apache-2.2.29-worker/include” export LDFLAGS=”-L/ffp/lib” export LDFLAGS=”-L/ffp/lib -lintl -lpthread” export CPPFLAGS=”$BUILD_FLAGS” export CXXFLAGS=”$BUILD_FLAGS” export CFLAGS=”$BUILD_FLAGS” export LC_ALL=POSIX ./configure –prefix=/ffp –enable-dependency-tracking –enable-threads=posix –with-libsigsegv-prefix=/ffp –disable-assert –enable-c++ […]

Compiling libgd 2.1.0

export BUILD_FLAGS=”-march=armv5te -pthread -O2 -lintl -Wall -DNDEBUG -DLINUX -I/ffp/include” export LDFLAGS=”-L/ffp/lib -lintl” export CPPFLAGS=”$BUILD_FLAGS” export CXXFLAGS=”$BUILD_FLAGS” export CFLAGS=”$BUILD_FLAGS” export LC_ALL=POSIX cd ~/compile/libgd-2.1.0 ERROR1: ceva cu ceill (atentie, sunt 2x l la final) SOLUTION: find . -name gd_bmp.c -exec sed -i […]

Compiling MySql 5.6.21

#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. cd $HOME/compile rm -r $HOME/compile/mysql-5.6.21 tar -xzvf mysql-5.6.21.tar.gz cd $HOME/compile/mysql-5.6.21 ~/x.sh ffpg NEW_BUILD_NAME=mysql NEW_BUILD_VER=5.6.21 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER […]

Compiling libmemcached

cd $HOME/compile wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz tar -xzf libmemcached-1.0.18.tar.gz cd $HOME/compile/libmemcached-1.0.18 export LDFLAGS=”-L/ffp/lib -lintl” export CPPFLAGS=”-I/ffp/include -I/ffp/include/readline -DLINUX” export CXXFLAGS=”-I/ffp/include -I/ffp/include/readline” export CFLAGS=”-march=armv5te -mtune=xscale -mfloat-abi=soft -mabi=aapcs-linux -pthread -O2 -lintl -Wall” export LC_ALL=POSIX export PKG_CONFIG=/ffp/bin/pkg-config ./configure –help > configure.help.txt #ERROR1: ./libtest/cmdline.h:39:19: fatal error: […]

Compiling transmission 2.84

NEW_BUILD_NAME=transmission NEW_BUILD_VER=2.84 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME-* ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME-* NEW_BUILD_NR=1 cd ~/compile wget https://transmission.cachefly.net/transmission-2.84.tar.xz tar -xf $NEW_BUILD_NAME_AND_VER.tar.xz cd ~/compile/$NEW_BUILD_NAME_AND_VER/ find . -type f \( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} \; , -exec sed […]

Compiling Apache 2.2.29

#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting you must declare the environment variables specified at the link above. #building env vars (required when rebuilding too) APACHE_MPM=worker NEW_BUILD_NAME=apache NEW_BUILD_VER=2.2.29-$APACHE_MPM NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME-* […]

Compiling litmus 0.13

cd ~/compile rm -r litmus-0.13 tar -xzf litmus-0.13.tar.gz cd ~/compile/litmus-0.13 export LDFLAGS=”-L/ffp/lib -lintl” export CPPFLAGS=”-I/ffp/include -I/ffp/include/readline” export CXXFLAGS=”-I/ffp/include -I/ffp/include/readline” export CFLAGS=”-march=armv5te -mtune=xscale -mfloat-abi=soft -mabi=aapcs-linux -O2 -lintl -Wall” export LC_ALL=POSIX ./configure –help > configure.help.txt ./configure –prefix=/ffp –disable-debug –enable-threadsafe-ssl=posix –with-ssl=openssl –with-included-neon nohup […]

Compiling php 5.5.x

cd ~/compile curl -L -k http://de1.php.net/get/php-5.5.19.tar.gz/from/this/mirror -o php-5.5.19.tar.gz tar -xzf php-5.5.19.tar.gz cd ~/compile/php-5.5.19 find . -type f \( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} \; , -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/ {} \; , -exec […]

Install & configure ghost

Installing ghost on linux (official) Compiling nodejs cd /ffp/opt/ rm -r ghost #rm ghost.zip #curl -L -k https://ghost.org/zip/ghost-latest.zip -o ghost.zip unzip -uo ghost.zip -d ghost cd /ffp/opt/ghost find . -type f -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/ {} \; find . -type […]

Compiling nodejs

cd ~/compile #wget http://nodejs.org/dist/v0.10.30/node-v0.10.30.tar.gz rm -r ~/compile/node-v0.10.30 tar xvzf node-v0.10.30.tar.gz cd ~/compile/node-v0.10.30 find . -type f -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/ {} \; find . -type f -exec sed -i s/”\/usr\/bin\/sh”/”\/ffp\/bin\/sh”/ {} \; find . -type f -exec sed -i s/”\/usr\/bin\/env”/”\/ffp\/bin\/env”/ […]