Compiling nettle

#search for 2.7-fixes at https://www.mail-archive.com/nettle-bugs@lists.lysator.liu.se/msg00683.html NEW_BUILD_NAME=nettle NEW_BUILD_VER=2.7-fixes 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 -O nettle-2.7-fixes.zip https://git.lysator.liu.se/nettle/nettle/repository/archive.zip?ref=nettle-2.7-fixes unzip $NEW_BUILD_NAME_AND_VER.zip cd ~/compile/$NEW_BUILD_NAME_AND_VER/ find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i […]

NSA310, FFP, lddd (missing libraries)

#see http://forum.nas-central.org/viewtopic.php?f=249&t=14699&hilit=lddd&start=0#p82527 wget http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/scripts/lddd -O /ffp/sbin/lddd chmod 755 /ffp/sbin/lddd lddd #Do NOT solve like below the missing libraries reported by lddd: ln -s /lib/libc.so.6 /ffp/lib/ ln -s /usr/lib/libdb-5.2.so /ffp/lib/ ln -s /usr/lib/libffi.so.5 /ffp/lib/ ln -s /lib/ld-linux.so.3 /ffp/lib/

Building wget

NEW_BUILD_NAME=wget NEW_BUILD_VER=1.16 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://ftp.gnu.org/gnu/wget/wget-1.16.tar.xz tar xpvf $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 […]

Building CUnit

NEW_BUILD_NAME=CUnit NEW_BUILD_VER=2.1-3 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://sourceforge.net/projects/cunit/files/CUnit/2.1-3/CUnit-2.1-3.tar.bz2/download tar jxf $NEW_BUILD_NAME_AND_VER.tar.bz2 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 […]

Building Aria2

NEW_BUILD_NAME=aria2 NEW_BUILD_VER=1.18.8 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://sourceforge.net/projects/aria2/files/stable/aria2-1.18.8/aria2-1.18.8.tar.gz/download 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”/ {} \; , -exec sed […]

Building automake

NEW_BUILD_NAME=automake NEW_BUILD_VER=1.14.1 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://ftp.gnu.org/gnu/automake/automake-1.14.1.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 […]

Building autoconf

NEW_BUILD_NAME=autoconf NEW_BUILD_VER=2.69 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://ftp.gnu.org/gnu/autoconf/autoconf-2.69.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 […]

Multilayered architecture

Why use a multilayered architecture ? Flexibility It’s easier to understand, create, correct, upgrade a very specialized software component instead of a many-specialized one. Crosscutting Concerns http://msdn.microsoft.com/en-us/library/ee658105.aspx Authentication Authorization Caching Communication Configuration Management Exception Management Logging and Instrumentation State Management […]

Zyxel NSA310 toolchain

Zyxel NSA310 toolchain & firmware sdk http://gpl.nas-central.org/ZYXEL/NSA310_GPL/FW4.40/ Zyxel NSA310 processor http://www.marvell.com/embedded-processors/kirkwood/ Marvell Kirkwood 88F6281 Processor information (cpu info) cat /proc/cpuinfo Features: swp half thumb fastmult edsp Hardware: Feroceon-KW -> means Feroceon Kirkwood /bin/dmesg | grep ‘ARM’

PyLoad setup

cd ~/compile rm -r ~/compile/pyload unzip pyload-src-v0.4.9.zip cd ~/compile/pyload find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/g {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/g {} \; , -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/g {} \; , -exec sed -i s/”\/usr\/bin\/sh”/”\/ffp\/bin\/sh”/g {} […]

Compiling leptonica 1.69

#configuration for new package: NEW_BUILD_NAME=leptonica NEW_BUILD_VER=1.69 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 https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.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 tesseract-ocr 3.02.02

#configuration for new package: NEW_BUILD_NAME=tesseract-ocr NEW_BUILD_VER=3.02.02 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 https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.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 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”/ {} […]