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 […]

MetaRepository from mijzelf

cd /i-data/md0/admin/zy-pkgs wget http://downloads.zyxel.nas-central.org/Users/Mijzelf/zypkg-repo/MetaRepository_20140529_arm_010.zpkg cd ~/temp wget http://downloads.zyxel.nas-central.org/Users/Mijzelf/zypkg-repo/ZYPKGS #copy MetaRepository from ~/temp/ZYPKGS within /i-data/md0/admin/zy-pkgs/ZYPKGS #web_prefix: insert as first line “http://downloads.zyxel.nas-central.org/Users/Mijzelf/zypkg-repo/NSA310/4.70/zypkg/” cd /usr/local/zy-pkgs/zypkg_conf touch status touch /i-data/md0/admin/zy-pkgs/ZYPKGS touch /i-data/md0/admin/zy-pkgs/web_prefix #go to Firmware/Packages (only press Package tab, don’t Retrieve List From Internet) […]

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 […]

Install & configure pydio

cd $HOME #database mysql -p CREATE DATABASE pydio CHARACTER SET utf8; GRANT ALL ON pydio.* TO ‘pydio’@’%’ IDENTIFIED BY ‘pydio’ WITH GRANT OPTION; FLUSH PRIVILEGES; exit cd /i-data/60cb70cf/www/pages/ wget http://sourceforge.net/projects/ajaxplorer/files/pydio/stable-channel/5.2.5/pydio-core-5.2.5.tar.gz/download tar -xzvf pydio-core-5.2.5.tar.gz cd pydio-core-5.2.5 #go to https://adrhc.go.ro/pydio/ ./x.sh hstop […]

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 […]