{"id":1130,"date":"2015-01-04T21:02:58","date_gmt":"2015-01-04T19:02:58","guid":{"rendered":"http:\/\/adrhc.go.ro\/wordpress\/?p=1130"},"modified":"2017-10-07T17:25:05","modified_gmt":"2017-10-07T15:25:05","slug":"configure-command-for-building-various-software","status":"publish","type":"post","link":"https:\/\/adrhc.go.ro\/blog\/configure-command-for-building-various-software\/","title":{"rendered":"Configure command for building various software"},"content":{"rendered":"<pre class=\"brush:bash shell\">\r\n#See https:\/\/adrhc.go.ro\/wordpress\/common-commands-when-building\/ for building environment, x.sh script and other things not defined here.\r\n#Before compiling do declare the environment variables specified to the link above and prepare sources with ~\/x.sh ffpg (or ~\/x.sh ffpg-all if compilation fails).\r\n\r\n#urbackup-server-1.4.9\r\nNEW_BUILD_NAME=urbackup-server\r\nNEW_BUILD_VER=1.4.9\r\nNEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER\r\nls -l \/tmp\/$NEW_BUILD_NAME-*\r\nls -l ~\/ffp_0.7_armv5\/packages\/$NEW_BUILD_NAME-*\r\nNEW_BUILD_NR=0\r\nIn Makefile comment:\r\n#\tadduser urbackup --system --quiet --group --home \"$(DESTDIR)$(localstatedir)\/urbackup\" || true\r\n#\tchown urbackup:urbackup \"$(DESTDIR)$(localstatedir)\/urbackup\"\r\nIn urbackupserver\/Makefile replace:\r\nINSTALL_OPTS = -o urbackup -g urbackup\r\nwith:\r\nINSTALL_OPTS = -o root -g root\r\nIn dllmain.cpp comment:\r\n\/\/#define _exit exit\r\nand \r\nreplace _exit(0) with exit(0)\r\n\r\n#gptfdisk-1.0.0\r\n#http:\/\/sourceforge.net\/projects\/gptfdisk\/\r\nNEW_BUILD_NAME=gptfdisk\r\nNEW_BUILD_VER=1.0.0\r\nNEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER\r\nls -l \/tmp\/$NEW_BUILD_NAME-*\r\nls -l ~\/ffp_0.7_armv5\/packages\/$NEW_BUILD_NAME-*\r\nNEW_BUILD_NR=1\r\n#Append -lintl in Makefile as below:\r\ngdisk:\t$(LIB_OBJS) gdisk.o gpttext.o\r\n\t$(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -luuid -lintl -o gdisk\r\ncgdisk: $(LIB_OBJS) cgdisk.o gptcurses.o\r\n\t$(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -luuid -lncursesw -lintl -o cgdisk\r\nmake -f Makefile\r\nmkdir -p ~\/temp\/gptfdisk-1.0.0\/ffp\/bin\r\ncd ~\/temp\/gptfdisk-1.0.0\/ffp\/bin\r\ncp -v ~\/compile\/gptfdisk-1.0.0\/cgdisk .\r\ncp -v ~\/compile\/gptfdisk-1.0.0\/fixparts .\r\ncp -v ~\/compile\/gptfdisk-1.0.0\/gdisk .\r\ncp -v ~\/compile\/gptfdisk-1.0.0\/sgdisk .\r\nchmod -v +x ~\/temp\/gptfdisk-1.0.0\/ffp\/bin\/*\r\ncd ~\/temp\/gptfdisk-1.0.0\r\nmakepkg $NEW_BUILD_NAME $NEW_BUILD_VER $NEW_BUILD_NR\r\ncp -v \/tmp\/$NEW_BUILD_NAME_AND_VER-arm-$NEW_BUILD_NR.txz ~\/ffp_0.7_armv5\/packages\/\r\n\r\n#CouchPotatoServer\r\ngit clone https:\/\/github.com\/RuudBurger\/CouchPotatoServer.git --branch build\/2.6.3 --single-branch CouchPotatoServer-build-2.6.3\r\nffpg\r\n\r\n#unrar-5.3.2\r\nhttp:\/\/www.rarlab.com\/rar_add.htm\r\nffpg\r\n#comment in makefile as below (do not comment CXX or DEFINES!):\r\n# Linux using GCC\r\nCXX=g++\r\n#CXXFLAGS=-O2\r\n#DESTDIR=\/usr\r\nmake -f makefile\r\nmake install DESTDIR=$HOME\/temp\/$NEW_BUILD_NAME_AND_VER\/ffp\r\ncd $HOME\/temp\/$NEW_BUILD_NAME_AND_VER\r\nmakepkg $NEW_BUILD_NAME $NEW_BUILD_VER $NEW_BUILD_NR\r\ncp -v \/tmp\/$NEW_BUILD_NAME-$NEW_BUILD_VER-arm-$NEW_BUILD_NR.txz ~\/ffp_0.7_armv5\/packages\/\r\nfunpkg -q $NEW_BUILD_NAME\r\n\r\n#par2cmdline-0.4\r\nffpg-no-m4\r\nsed -i s\/\"bool\\s*ReedSolomon\"\/\"template <> bool ReedSolomon\"\/g reedsolomon.cpp\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\n\r\n#libsigc-2.2.10\r\n#http:\/\/ftp.gnome.org\/pub\/gnome\/sources\/libsigc++\/\r\nffpg\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\n\r\n#msgpack-0.5.6\r\n#when gallery3 fails with core dump on php-fpm than recompile msgpack\r\n#see https:\/\/adrhc.go.ro\/wordpress\/core-dump\/\r\ngit clone -b msgpack-0.5.6 https:\/\/github.com\/msgpack\/msgpack-php.git msgpack-0.5.6\r\nffpg\r\nphpize\r\n.\/configure --with-php-config=\/ffp\/bin\/php-config --with-msgpack\r\nmake\r\nmake test\r\nmake install\r\n\r\n#net_snmp-5.7.2\r\nNEW_BUILD_NAME=net_snmp\r\nNEW_BUILD_VER=5.7.2\r\nNEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER\r\nls -l \/tmp\/$NEW_BUILD_NAME-*\r\nls -l ~\/ffp_0.7_armv5\/packages\/$NEW_BUILD_NAME-*\r\nNEW_BUILD_NR=0\r\n#.\/net-snmp-config --configure-options -> learn about installed mz:net_snmp-5.7.2-arm-1.txz configure options\r\n#the output:\r\n#'--prefix=\/ffp' '--enable-ucd-snmp-compatibility' '--enable-ipv6' '--disable-deprecated' '--with-logfile=\/ffp\/var\/log\/snmpd.log' '--with-persistent-directory=\/ffp\/var\/lib\/snmpd' 'CC=gcc' 'CFLAGS=-march=armv5te -O3 -I\/ffp\/include'\r\n.\/configure --prefix=\/ffp --enable-ucd-snmp-compatibility --enable-ipv6 --disable-deprecated --with-logfile=\/ffp\/var\/log\/snmpd.log --with-persistent-directory=\/ffp\/var\/lib\/snmpd CC=gcc\r\n#now accept every configure default\r\n#difference against mz:net_snmp-5.7.2-arm-1.txz:\r\ndiff -y --suppress-common-lines \/ffp\/include\/net-snmp\/net-snmp-config.h compile\/net_snmp-5.7.2\/include\/net-snmp\/net-snmp-config.h\r\nnohup make -C . &\r\n\r\n#gdb-7.9.1\r\nNEW_BUILD_NAME=gdb\r\nNEW_BUILD_VER=7.9.1\r\nNEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER\r\nls -l \/tmp\/$NEW_BUILD_NAME-*\r\nls -l ~\/ffp_0.7_armv5\/packages\/$NEW_BUILD_NAME-*\r\nNEW_BUILD_NR=0\r\nERROR (make)\r\n\t..\/..\/libiberty\/libiberty.a(floatformat.o): In function `floatformat_to_double':\r\n\tfloatformat.c:(.text+0x4cc): undefined reference to `ldexp'\r\nSOLUTION\r\n\tsed -i s\/\"CONFIG_LIBS = -ldl -lz\"\/\"CONFIG_LIBS = -ldl -lm -lz\"\/ sim\/arm\/Makefile\r\n.\/configure --prefix=\/ffp\r\nsed -i s\/\"CONFIG_LIBS = -ldl -lz\"\/\"CONFIG_LIBS = -ldl -lm -lz\"\/ sim\/arm\/Makefile\r\nmake\r\n\r\n#zenphoto-1.4.8\r\ngrep -nr \"\\sMutex\" compile\/zenphoto-1.4.8+ffpg\/\r\nfind apache-htdocs\/albums -name \"*.php\" -type f -exec sed -i s\/\"\\ Mutex\"\/\"\\ ZenphotoMutex\"\/g {} \\;\r\ngrep -nr \"ZenphotoMutex\" apache-htdocs\/albums\r\n#images won't show well because of php's scientific notation used for width and height\r\n#modify precision in php.ini: precision = 7\r\n\r\n#grep-2.21\r\n~\/x.sh ffpg-make-conf\r\n.\/configure --prefix=\/ffp\r\nmake\r\n\r\n#util-linux-2.26\r\nNEW_BUILD_NAME=util-linux\r\nNEW_BUILD_VER=2.26\r\nNEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER\r\nls -l \/tmp\/$NEW_BUILD_NAME-*\r\nls -l ~\/ffp_0.7_armv5\/packages\/$NEW_BUILD_NAME-*\r\nNEW_BUILD_NR=0\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --enable-write --enable-tunelp --disable-kill --disable-nologin --with-libintl-prefix=\/ffp --disable-use-tty-group\r\nnohup make -C . &\r\n#make check\r\n#ERROR (make check)\r\n\tundefined reference to `libintl_gettext'\r\n#SOLUTION (make check)\r\n\t#use \"-L\/ffp\/lib -lintl\" for failed commands like below:\r\n\t\/ffp\/bin\/sh .\/libtool ... -L\/ffp\/lib -lintl ...\r\n#do NOT run the tests; see http:\/\/www.linuxfromscratch.org\/lfs\/view\/development\/chapter06\/util-linux.html warning\r\n#bash tests\/run.sh --srcdir=$PWD --builddir=$PWD -> do NOT run!!!\r\nrm -r $HOME\/temp\/$NEW_BUILD_NAME_AND_VER\r\nmake install DESTDIR=$HOME\/temp\/$NEW_BUILD_NAME_AND_VER\r\n\r\n#parted-3.2\r\n#requires LVM2-2.02.120 in order to use --enable-device-mapper\r\nNEW_BUILD_NAME=parted\r\nNEW_BUILD_VER=3.2\r\nNEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER\r\nls -l \/tmp\/$NEW_BUILD_NAME-*\r\nls -l ~\/ffp_0.7_armv5\/packages\/$NEW_BUILD_NAME-*\r\nNEW_BUILD_NR=0\r\n#.\/configure --prefix=\/ffp --enable-dependency-tracking --disable-device-mapper\r\n#.\/configure --prefix=\/ffp --enable-dependency-tracking --enable-device-mapper=no\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\n\r\n#LVM2-2.02.120\r\n#requires thin-provisioning-tools-0.4.1\r\nNEW_BUILD_NAME=LVM2\r\nNEW_BUILD_VER=2.02.120\r\nNEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER\r\nls -l \/tmp\/$NEW_BUILD_NAME-*\r\nls -l ~\/ffp_0.7_armv5\/packages\/$NEW_BUILD_NAME-*\r\nNEW_BUILD_NR=0\r\n.\/configure --prefix=\/ffp\r\n\r\n#thin-provisioning-tools-0.4.1\r\n#requires https:\/\/git.fedorahosted.org\/cgit\/libaio.git\/snapshot\/libaio-0.3.110-1.zip\r\nNEW_BUILD_NAME=thin-provisioning-tools\r\nNEW_BUILD_VER=0.4.1\r\nNEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER\r\nls -l \/tmp\/$NEW_BUILD_NAME-*\r\nls -l ~\/ffp_0.7_armv5\/packages\/$NEW_BUILD_NAME-*\r\nNEW_BUILD_NR=0\r\n#replace any \"truncl\" with \"trunc\" in thin-provisioning\/thin_metadata_size.cc\r\nsed -i s\/\"truncl\"\/\"trunc\"\/g thin-provisioning\/thin_metadata_size.cc\r\n#modify in get-gmock.sh:\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\n#start building\r\nautoreconf\r\n.\/configure --prefix=\/ffp --enable-testing\r\n.\/get-gmock.sh\r\nmake unit-test\r\n\r\n#drizzle7-2011.07.21 (requires protobuf, boost)\r\n#see also http:\/\/wiki.nginx.org\/HttpDrizzleModule#Installation\r\ncd ~\/compile\r\nwget http:\/\/agentzh.org\/misc\/nginx\/drizzle7-2011.07.21.tar.gz\r\ntar xvzf drizzle7-2011.07.21.tar.gz\r\ncd drizzle7-2011.07.21\r\n~\/x.sh ffpg\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --without-server\r\nnohup make V=1 -C . libdrizzle-1.0 &\r\nmake install-libdrizzle-1.0 DESTDIR=$HOME\/temp\/drizzle7-2011.07.21\r\ncd $HOME\/temp\/drizzle7-2011.07.21\r\n\r\n#mpich-3.1.4\r\ncd ~\/compile\r\nwget http:\/\/www.mpich.org\/static\/downloads\/3.1.4\/mpich-3.1.4.tar.gz\r\ntar xvzf mpich-3.1.4.tar.gz\r\ncd mpich-3.1.4\r\n#don't use ffpg here because it's not necessaire; if you do then you'll be asked for aclocal 1.15\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --disable-fortran\r\nmake\r\n\r\n#hydra-3.1.4\r\ncd ~\/compile\r\nwget http:\/\/www.mpich.org\/static\/downloads\/3.1.4\/hydra-3.1.4.tar.gz\r\ntar xvzf hydra-3.1.4.tar.gz\r\ncd hydra-3.1.4\r\n#don't use ffpg here because it's not necessaire; if you do then you'll be asked for aclocal 1.15\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\nmake\r\n\r\n#protobuf-2.6.1\r\n#other version: https:\/\/protobuf.googlecode.com\/files\/protobuf-2.5.0.tar.gz\r\ngit clone https:\/\/github.com\/google\/protobuf.git protobuf-2.6.1\r\n~\/x.sh ffpg\r\n.\/autogen.sh\r\n~\/x.sh ffpg\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\nmake\r\n\r\n#hdparm-9.45\r\ncd ~\/compile && wget http:\/\/downloads.sourceforge.net\/project\/hdparm\/hdparm\/hdparm-9.45.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fhdparm%2F&ts=1430572151&use_mirror=heanet\r\ntar xvzf hdparm-9.45.tar.gz\r\ncd hdparm-9.45\r\n~\/x.sh ffpg\r\nNEW_BUILD_NAME=hdparm\r\nNEW_BUILD_VER=9.45\r\nNEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER\r\nls -l \/tmp\/$NEW_BUILD_NAME-*\r\nls -l ~\/ffp_0.7_armv5\/packages\/$NEW_BUILD_NAME-*\r\nNEW_BUILD_NR=0\r\nsed -i s\/\"#include &lt;scsi\\\/scsi.h\"\/\"\\\/\\\/#include &lt;scsi\\\/scsi.h\"\/ sgio.c\r\nsed -i s\/\"binprefix = \"\/\"binprefix = \\\/ffp\"\/ Makefile\r\nsed -i s\/\"manprefix = \\\/usr\"\/\"manprefix = \\\/ffp\"\/ Makefile\r\nsed -i s\/\"DESTDIR =\"\/\"DESTDIR = \\\/ffp\\\/home\\\/root\\\/temp\\\/$NEW_BUILD_NAME-$NEW_BUILD_VER\"\/ Makefile\r\nERROR\r\n\tIn file included from sgio.c:12:0:\r\n\t\/ffp\/include\/scsi\/scsi.h:145:2: error: unknown type name 'u8'\r\n\t  u8 opcode;        \/* opcode always == VARIABLE_LENGTH_CMD *\/\r\nSOLUTION\r\n\t#\/ffp\/include\/scsi\/scsi.h -> linux\/types.h -> asm\/types.h -> asm-generic\/int-ll64.h -> typedef unsigned char __u8;\r\n\tappend \"typedef unsigned char u8;\" after \"typedef unsigned char __u8;\" in \/ffp\/include\/asm-generic\/int-ll64.h\r\nrm -r $HOME\/temp\/$NEW_BUILD_NAME_AND_VER\r\nmake install\r\ncd $HOME\/temp\/$NEW_BUILD_NAME_AND_VER\r\nmakepkg $NEW_BUILD_NAME $NEW_BUILD_VER $NEW_BUILD_NR\r\n\r\n#nginx-1.7.11\r\n#+nginx-dav-ext-module-20150330\r\n#+ngx_devel_kit-0.2.19\r\n#+lua-nginx-module-0.9.16rc1\r\nmkdir -p \/ffp\/tmp\/nginx\/client-body \r\nmkdir -p \/ffp\/tmp\/nginx\/proxy \r\nmkdir -p \/ffp\/tmp\/nginx\/fastcgi \r\nmkdir -p \/ffp\/tmp\/nginx\/uwsgi \r\nmkdir -p \/ffp\/tmp\/nginx\/scgi\r\nsed -i s\/\"\\\/usr\\\/local\\\/\"\/\"\\\/ffp\\\/\"\/ auto\/lib\/pcre\/conf\r\nsed -i s\/\"\\\/usr\\\/local\\\/\"\/\"\\\/ffp\\\/\"\/ auto\/lib\/geoip\/conf\r\nsed -i s\/\"\\\/usr\\\/local\\\/\"\/\"\\\/ffp\\\/\"\/ auto\/lib\/libgd\/conf\r\nsed -i s\/\"\\\/usr\\\/local\\\/\"\/\"\\\/ffp\\\/\"\/ auto\/lib\/google-perftools\/conf\r\nsed -i s\/\"\\\/usr\\\/local\\\/\"\/\"\\\/ffp\\\/\"\/g auto\/lib\/libxslt\/conf\r\n.\/configure --prefix=\/ffp --conf-path=\/ffp\/etc\/nginx\/nginx.conf --error-log-path=\/ffp\/log\/nginx-error.log --pid-path=\/ffp\/var\/run\/nginx.pid --user=nobody --group=nobody --with-file-aio --with-http_ssl_module --with-http_spdy_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_image_filter_module --with-http_geoip_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_stub_status_module --with-http_perl_module --with-perl=\/ffp\/bin\/perl --http-log-path=\/ffp\/log\/nginx-access.log --http-client-body-temp-path=\/ffp\/tmp\/nginx\/client-body --http-proxy-temp-path=\/ffp\/tmp\/nginx\/proxy --http-fastcgi-temp-path=\/ffp\/tmp\/nginx\/fastcgi --http-uwsgi-temp-path=\/ffp\/tmp\/nginx\/uwsgi --http-scgi-temp-path=\/ffp\/tmp\/nginx\/scgi --with-cc=\/ffp\/bin\/cc --with-cpp=\/ffp\/bin\/cpp --with-cpu-opt=armv5te --with-debug --add-module=$HOME\/compile\/nginx-modules\/nginx-dav-ext-module --add-module=$HOME\/compile\/nginx-modules\/ngx_devel_kit-0.2.19 --add-module=$HOME\/compile\/nginx-modules\/lua-nginx-module-0.9.16rc1 --with-pcre-jit\r\n\r\n#nginx-1.6.2\r\nmkdir -p \/ffp\/tmp\/nginx\/client-body \r\nmkdir -p \/ffp\/tmp\/nginx\/proxy \r\nmkdir -p \/ffp\/tmp\/nginx\/fastcgi \r\nmkdir -p \/ffp\/tmp\/nginx\/uwsgi \r\nmkdir -p \/ffp\/tmp\/nginx\/scgi\r\n.\/configure --prefix=\/ffp --conf-path=\/ffp\/etc\/nginx\/nginx.conf --error-log-path=\/ffp\/log\/nginx-error.log --pid-path=\/ffp\/var\/run\/nginx.pid --user=nobody --group=nobody --with-file-aio --with-http_ssl_module --with-http_spdy_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_image_filter_module --with-http_geoip_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_stub_status_module --with-http_perl_module --with-perl=\/ffp\/bin\/perl --http-log-path=\/ffp\/log\/nginx-access.log --http-client-body-temp-path=\/ffp\/tmp\/nginx\/client-body --http-proxy-temp-path=\/ffp\/tmp\/nginx\/proxy --http-fastcgi-temp-path=\/ffp\/tmp\/nginx\/fastcgi --http-uwsgi-temp-path=\/ffp\/tmp\/nginx\/uwsgi --http-scgi-temp-path=\/ffp\/tmp\/nginx\/scgi --with-cc=\/ffp\/bin\/cc --with-cpp=\/ffp\/bin\/cpp --with-cpu-opt=armv5te --with-debug\r\n\r\n#GeoIP-1.6.5 (https:\/\/github.com\/maxmind\/geoip-api-c\/releases)\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\n\r\n#libatomic_ops (https:\/\/github.com\/ivmai\/libatomic_ops\/)\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\nmake\r\nmake check\r\n\r\n#mod_python-3.5.0\r\n.\/configure --prefix=\/ffp --with-apxs=\/ffp\/opt\/apache-2.2.29-worker\/bin\/apxs\r\nsed -i s\/\"GIT=\"\/\"#GIT=\"\/ dist\/version.sh\r\nmake install\r\n\r\n#mod_perl-2.0.8\r\nperl Makefile.PL MP_APXS=\/ffp\/opt\/apache-2.2.29-worker\/bin\/apxs MP_APR_CONFIG=\/ffp\/bin\/apr-1-config MP_CCOPTS=\"$BUILD_FLAGS\"\r\nmake install\r\n\r\n#p7zip_9.38_src_all\r\nwget http:\/\/sourceforge.net\/projects\/p7zip\/files\/p7zip\/9.38\/p7zip_9.38_src_all.tar.bz2\/download\r\ntar jvxf p7zip_9.38_src_all.tar.bz2\r\n#cp -v makefile.linux_x32 makefile.machine -> won't recognize the -m32 compiler option\r\ncp -v makefile.linux_any_cpu makefile.machine\r\n#in the file named makefile:\r\n\tDEST_HOME=\/ffp\/home\/root\/temp\/p7zip_9.38\/ffp\r\n#in the file named makefile.machine:\r\n\tOPTFLAGS=\"${BUILD_FLAGS}\"\r\nnohup make all3 -C \/ffp\/home\/root\/compile\/p7zip_9.38 &\r\nnohup make all_test -C \/ffp\/home\/root\/compile\/p7zip_9.38 &\r\n#Edit install.sh in order to change DEST_HOME:\r\n#DEST_HOME=\/ffp\/home\/root\/temp\/p7zip-9.38\/ffp\r\n.\/install.sh\r\n\r\n#tar-1.28\r\nexport FORCE_UNSAFE_CONFIGURE=1\r\n.\/configure --prefix=\/ffp --without-included-regex --with-compress=\/ffp\/bin\/7z --with-gzip=\/ffp\/bin\/gzip --with-bzip2=\/ffp\/bin\/bzip2 --with-lzip=\/ffp\/bin\/lzip --with-lzma=\/ffp\/bin\/lzma --with-lzop=\/ffp\/bin\/lzop --with-xz=\/ffp\/bin\/xz --with-libiconv-prefix=\/ffp --with-libintl-prefix=\/ffp\r\n\r\n#xz-5.2.0\r\n.\/configure --prefix=\/ffp --enable-threads=posix --enable-assume-ram=64 --enable-dependency-tracking --with-libiconv-prefix=\/ffp --with-libintl-prefix=\/ffp\r\n\r\n#openssl-1.0.1l\r\n#remove -I\/ffp\/include from BUILD_FLAGS, CPPFLAGS, CXXFLAGS\r\n.\/config --prefix=\/ffp --openssldir=\/ffp\/etc\/ssl threads -D_REENTRANT zlib-dynamic shared\r\nrm -r $HOME\/temp\/$NEW_BUILD_NAME_AND_VER\r\n#install without docs if pod2html fails:\r\n#make INSTALL_PREFIX=$HOME\/temp\/$NEW_BUILD_NAME_AND_VER install_sw\r\n#or install only with html docs:\r\n#sed -i s\/\"install:\\sall\\sinstall_docs\"\/\"install: all install_html_docs\"\/ Makefile\r\nmake INSTALL_PREFIX=$HOME\/temp\/$NEW_BUILD_NAME_AND_VER install\r\n\r\n#curl-7.31.0\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --enable-http --enable-ftp --enable-file --enable-ldap --enable-ldaps --enable-rtsp --enable-proxy --enable-dict --enable-telnet --enable-tftp --enable-pop3 --enable-imap --enable-smtp --enable-gopher --enable-manual --enable-libcurl-option --enable-ipv6 --enable-versioned-symbols --enable-threaded-resolver --enable-verbose --enable-sspi --enable-crypto-auth --enable-tls-srp --enable-cookies --with-zlib=\/ffp --with-ssl=\/ffp\r\n\r\n#recode-20150131 (won't build but I tried anyway)\r\nfind . -name configure.ac -exec sed -i s\/\"AM_INIT_AUTOMAKE(\\[1\\.13\\.3\"\/\"AM_INIT_AUTOMAKE([1.14.1\"\/ {} \\;\r\nfind . -name *.m4 -exec sed -i s\/\"AM_AUTOMAKE_VERSION(\\[1\\.13\\.3\"\/\"AM_AUTOMAKE_VERSION([1.14.1\"\/ {} \\;\r\nfind . -name *.m4 -exec sed -i s\/\"\\[1\\.13\\.3\"\/\"[1.14.1\"\/ {} \\;\r\nfind . -type f -name Makefile -exec sed -i s\/\"automake-1\\.13\"\/\"automake\"\/ {} \\;\r\ngrep -r automake-1.13 .\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --with-libiconv-prefix=\/ffp --with-libintl-prefix=\/ffp\r\nmake\r\n\r\n#recode-3.6 (won't build but I tried anyway)\r\n#.\/aclocal.sh: \r\n#replace 'mkdir aclocal.tmp' with 'mkdir -p aclocal.tmp'\r\n#replace aclocal option '--acdir=' with '-I'\r\nwget http:\/\/www.linuxfromscratch.org\/patches\/blfs\/6.3\/recode-3.6-fixes-1.patch\r\npatch -p1 -i recode-3.6-fixes-1.patch\r\n.\/configure --prefix=\/ffp --without-included-gettext\r\nmake\r\n\r\n#php-5.6.5\r\n#--with-recode -> couldn't build it for the moment\r\n#--with-tidy -> too old, makes no sense to use it\r\n#--enable-mysqlnd -> I don't use it\r\n.\/configure --prefix=\/ffp --enable-re2c-cgoto=shared,\/ffp --enable-mod-charset --with-apxs2=\/ffp\/opt\/apache-2.2.29-worker\/bin\/apxs --with-config-file-path=\/ffp\/etc\/php.ini --with-config-file-scan-dir=\/ffp\/etc --with-libxml-dir=\/ffp --with-openssl=shared,\/ffp --with-pcre-regex=\/ffp --with-zlib=shared,\/ffp --with-zlib-dir=\/ffp --enable-bcmath --with-bz2=shared,\/ffp --enable-calendar --with-curl=shared,\/ffp --with-enchant=shared,\/ffp --enable-exif --with-pcre-dir=\/ffp --enable-ftp --with-openssl-dir=\/ffp --with-gd=shared,\/ffp --with-jpeg-dir=\/ffp --with-png-dir=\/ffp --with-freetype-dir=\/ffp --enable-gd-native-ttf --enable-gd-jis-conv --with-gettext=shared,\/ffp --with-gmp=shared,\/ffp --with-mhash=shared,\/ffp --enable-intl --with-icu-dir=\/ffp --enable-mbstring --with-mcrypt=shared,\/ffp --with-mysql=\/ffp --with-mysql-sock=\/ffp\/var\/run\/mysql\/mysql.sock --with-mysqli=\/ffp\/bin\/mysql_config --enable-embedded-mysqli --enable-opcache --enable-pcntl --with-pdo-mysql=\/ffp --with-readline=shared,\/ffp --enable-shmop --enable-soap --enable-sockets --enable-wddx --with-xmlrpc=shared,\/ffp --with-libexpat-dir=\/ffp --with-iconv-dir=\/ffp --with-xsl=\/ffp --enable-zip --without-pear\r\n\r\n#xmlrpc-epi-0.54.2\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\n~\/x.sh ffpg1\r\nmake\r\n\r\n#antiword-0.37\r\n#http:\/\/www.winfield.demon.nl\/linux\/antiword-0.37.tar.gz\r\n~\/x.sh ffpg\r\n#modify in Makefile.Linux to this:\r\nGLOBAL_INSTALL_DIR = $(HOME)\/temp\/antiword-0.37\/ffp\/bin\r\nGLOBAL_RESOURCES_DIR = $(HOME)\/temp\/antiword-0.37\/ffp\/share\/antiword\r\nmake\r\nmake global_install\r\n\r\n#libmbfl-1.3.2\r\n.\/buildconf --prefix=\/ffp\r\n~\/x.sh ffpg1\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\n~\/x.sh ffpg1\r\nmake\r\n\r\n#enchant-1.6.0\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --with-aspell-prefix=\/ffp\r\n\r\n#pcre-8.21\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --enable-jit --enable-utf8 --enable-unicode-properties --enable-pcregrep-libz --enable-pcregrep-libbz2 --enable-pcretest-libreadline --with-pcregrep-bufsize=8192\r\n\r\n#pcre-8.30\r\n#fails when using --enable-pcretest-libreadline\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --enable-pcre16 --enable-jit --enable-utf8 --enable-unicode-properties --enable-pcregrep-libz --enable-pcregrep-libbz2 --with-pcregrep-bufsize=8192\r\n\r\n#pcre-8.36\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --enable-pcre16 --enable-pcre32 --enable-jit --enable-utf8 --enable-unicorties --enable-pcregrep-libz --enable-pcregrep-libbz2 --enable-pcretest-libreadline --with-pcregrep-bufsize=8192\r\n\r\n#aspell-0.60.6.1\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --enable-static=yes --enable-shared=yes --with-libiconv-prefix=\/ffp --with-libintl-prefix=\/ffp\r\n\r\n#libvpx-1.3.0 (won't build because it requires armv5te-linux-gcc or generic-gnu instead of armv5tel-unknown-linux-uclibceabi)\r\ngit clone -b \"v1.3.0\" https:\/\/chromium.googlesource.com\/webm\/libvpx libvpx-1.3.0\r\n.\/configure --prefix=\/ffp --enable-install-srcs\r\nnohup \/ffp\/bin\/make -C \/ffp\/home\/root\/compile\/libvpx-1.3.0 &\r\n\r\n#libXpm-3.5.11 (won't build because it requires X11)\r\ngit clone -b \"libXpm-3.5.11\" http:\/\/cgit.freedesktop.org\/xorg\/lib\/libXpm\/ libXpm-3.5.11\r\n.\/autogen.sh --prefix=\/ffp\r\n\r\n#libgd-2.1.1\r\n.\/bootstrap.sh --prefix=\/ffp\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --with-libiconv-prefix=\/ffp --with-zlib=\/ffp --with-png=\/ffp --with-freetype=\/ffp --with-fontconfig=\/ffp --with-jpeg=\/ffp --with-tiff=\/ffp\r\n~\/x.sh ffpg\r\nfind . -name gd_bmp.c -exec sed -i s\/\"ceill\"\/\"ceil\"\/ {} \\;\r\nmake\r\n\r\n#mkvtoolnix-7.5.0\r\n.\/autogen.sh --prefix=\/ffp\r\n.\/configure --prefix=\/ffp --with-words=little --enable-optimization=no --enable-gui=no --enable-wxwidgets=no --with-extra-libs=\/ffp\/lib --with-boost=\/ffp\r\n#it's indeed rake instead of make\r\nrake\r\nrake install DESTDIR=\/ffp\/home\/root\/temp\/mkvtoolnix-7.5.0\r\ncd \/ffp\/home\/root\/temp\/mkvtoolnix-7.5.0\r\nmakepkg mkvtoolnix 7.5.0 0\r\n\r\n#libvorbis-1.3.4\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --enable-docs --enable-examples --with-ogg=\/ffp\r\n\r\n#libogg-1.3.2\r\naclocal\r\nautoconf\r\nautoheader\r\nautomake --add-missing\r\n~\/x.sh ffpg\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\n\r\n#flac-1.3.1\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --with-ogg=\/ffp --with-libiconv-prefix=\/ffp\r\n\r\n#lzo-2.08\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\n\r\n#cmake-3.1.1\r\n.\/bootstrap --prefix=\/ffp\r\nmake\r\nmake install DESTDIR=$HOME\/temp\/cmake-3.1.1\r\n\r\n#libmatroska-release-1.4.1\r\ncd make\/linux\r\nmake staticlib\r\nmake DESTDIR=$HOME\/temp\/libmatroska-1.4.1 install_staticlib install_headers\r\ncd $HOME\/temp\/libmatroska-1.4.1\r\nmakepkg libmatroska 1.4.1 0\r\n\r\n#libebml-1.3.1\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\n\r\n#expect5.45\r\n.\/configure --prefix=\/ffp --enable-threads\r\n\r\n#dejagnu-1.5.1\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\n\r\n#rote-0.2.8\r\n.\/configure --prefix=\/ffp\r\n\r\n#libsigsegv-2.10\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\n\r\n#libxslt-1.1.28\r\nwget http:\/\/xmlsoft.org\/sources\/libxslt-1.1.28.tar.gz\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --with-python=\/ffp --with-libxml-prefix=\/ffp\r\n\r\n#tomcat-native-1.1.32\r\nwget http:\/\/mirrors.hostingromania.ro\/apache.org\/tomcat\/tomcat-connectors\/native\/1.1.32\/source\/tomcat-native-1.1.32-src.tar.gz\r\nexport LD_LIBRARY_PATH=\/usr\/local\/zy-pkgs\/lib:\/ffp\/lib\r\nexport BUILD_FLAGS=\"-march=armv5te -mfloat-abi=soft -mabi=aapcs-linux -fno-stack-protector -O2 -Wall\"\r\nexport LDFLAGS=\"-L\/ffp\/lib\"\r\nexport CPPFLAGS=\"$BUILD_FLAGS\"\r\nexport CXXFLAGS=\"$BUILD_FLAGS\"\r\nexport CFLAGS=\"$BUILD_FLAGS\"\r\n#locate libjvm -> indicates the path for --with-os-type\r\n.\/configure --prefix=\/ffp --with-apr=\/ffp --with-java-home=\/ffp\/opt\/ejre1.7.0_60 --with-ssl=\/ffp --with-os-type=lib\/arm\/client\r\n#fails with:\r\n#... tcn_api.h:36:17: fatal error: jni.h: No such file or directory\r\n\r\n#ossp js\r\nwget ftp:\/\/ftp.ossp.org\/pkg\/lib\/js\/js-1.6.20070208.tar.gz\r\ntar xvzf js-1.6.20070208.tar.gz\r\nmv js-1.6.20070208\/ ossp-js-1.6.20070208\r\ncd ossp-js-1.6.20070208\r\n#when compiling with perl use -I\/ffp\/lib\/perl5\/5.20.1\/armv5tel-linux-thread-multi\/CORE:\r\n#export BUILD_FLAGS=\"$BUILD_FLAGS -I\/ffp\/lib\/perl5\/5.20.1\/armv5tel-linux-thread-multi\/CORE\"\r\n.\/configure --help > configure.help.txt\r\n#for compiling with perl use:\r\n#.\/configure --prefix=\/ffp --with-editline=\/ffp --with-perl=\/ffp\r\n.\/configure --prefix=\/ffp --with-editline=\/ffp\r\n\r\n#libunistring-0.9.3\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --enable-threads=posix --with-libiconv-prefix=\/ffp --with-libpth-prefix=\/ffp\r\n\r\n#gettext-0.18.3\r\n#.\/autogen.sh\r\n~\/x.sh ffpg\r\nfind . -name configure.ac -exec sed -i s\/\"AM_INIT_AUTOMAKE(\\[1\\.11\\.1\"\/\"AM_INIT_AUTOMAKE([1.14.1\"\/ {} \\;\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --enable-threads=posix --with-libpth-prefix=\/ffp --with-libiconv-prefix=\/ffp --with-libintl-prefix=\/ffp --with-libglib-2.0-prefix=\/ffp --with-libcroco-0.6-prefix=\/ffp --with-libunistring-prefix=\/ffp --with-libxml2-prefix=\/ffp --with-libncurses-prefix=\/ffp --without-libtermcap-prefix --without-libxcurses-prefix --without-libcurses-prefix --with-libexpat-prefix=\/ffp\r\n\r\n#ncurses-5.9\r\nexport BUILD_FLAGS=\"-march=armv5te -mfloat-abi=soft -mabi=aapcs-linux -fno-stack-protector -pthread -O2 -Wall\"\r\n.\/configure --prefix=\/ffp --with-pkg-config=\/ffp\/bin\/pkg-config --enable-pc-files --with-build-cflags=\"$BUILD_FLAGS\" --with-build-cppflags=\"$BUILD_FLAGS\" --with-build-ldflags=\"$LDFLAGS\" --with-libtool --with-shared --with-termlib --with-gpm --enable-termcap --enable-widec --with-pthread --enable-weak-symbols\r\n\r\n#readline-6.2\r\n.\/configure --prefix=\/ffp --enable-multibyte --with-curses\r\n\r\n#libffi-3.2.1\r\nwget ftp:\/\/sourceware.org\/pub\/libffi\/libffi-3.2.1.tar.gz\r\naclocal -I m4\r\nautoconf\r\nautoheader\r\nautomake --add-missing\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking\r\n\r\n#binutils-2.25\r\nexport BUILD_FLAGS=\"-march=armv5te -mfloat-abi=soft -mabi=aapcs-linux -fno-stack-protector -pthread -O2 -Wall\"\r\n#.\/configure --prefix=\/ffp --enable-gold=yes --enable-ld=yes --enable-libada --enable-libssp --enable-lto --enable-objc-gc --enable-vtable-verify --with-mpc=\/ffp --with-mpfr=\/ffp --with-gmp=\/ffp --with-isl=\/ffp --with-cloog=\/ffp\r\n.\/configure --prefix=\/ffp --enable-ld=yes --enable-libada --enable-libssp --enable-lto --enable-objc-gc --enable-vtable-verify --with-mpc=\/ffp --with-mpfr=\/ffp --with-gmp=\/ffp --with-isl=\/ffp --with-cloog=\/ffp\r\n\r\n#sqlite-3.7.17 (http:\/\/www.sqlite.org\/cgi\/src\/timeline?t=version-3.7.17&n=200)\r\nwget http:\/\/www.sqlite.org\/cgi\/src\/zip\/SQLite-118a3b3569.zip?uuid=118a3b35693b134d56ebd780123b7fd6f1497668\r\nunzip sqlite-3.7.17.zip\r\nmv SQLite-118a3b3569 sqlite-3.7.17\r\ncd ~\/compile\/sqlite-3.7.17\r\n~\/x.sh ffpg\r\n#at some moment I had a problem requiring: sed -i s\/\"HAVE_POSIX_FALLOCATE 1\"\/\"HAVE_POSIX_FALLOCATE 0\"\/ ~\/compile\/sqlite-3.7.17\/src\/os_unix.c\r\nmkdir ~\/compile\/sqlite-3.7.17-build\r\ncd ~\/compile\/sqlite-3.7.17-build\r\n#don't use --enable-gcov (needed for profiling)\r\n..\/sqlite-3.7.17\/configure --prefix=\/ffp --enable-threadsafe --enable-releasemode --disable-tcl\r\n~\/x.sh ffpg1\r\nmake\r\n\r\n#serf-1.2.1 required by subversion-1.8.5\r\n#--with-serf uses it\r\nwget https:\/\/serf.googlecode.com\/files\/serf-1.2.1.tar.bz2\r\n.\/configure --prefix=\/ffp --with-apr=\/ffp --with-apr-util=\/ffp --with-openssl=\/ffp\r\n\r\n#subversion-1.8.5\r\n#svn: E170000: Unrecognized URL scheme for 'https:\/\/...' -> use --with-serf option\r\nwget http:\/\/archive.apache.org\/dist\/subversion\/subversion-1.8.5.tar.gz\r\ntar xvzf subversion-1.8.5.tar.gz\r\n.\/configure --prefix=\/ffp --with-apr=\/ffp --with-apr-util=\/ffp --with-serf=\/ffp --with-apxs=\/ffp\/opt\/apache-2.2.29-worker\/bin\/apxs --with-sqlite=\/ffp --with-zlib=\/ffp\r\nmake\r\n\r\n#mpfr-3.1.2 -> depends on perl\r\n.\/configure --prefix=\/ffp --enable-thread-safe --enable-dependency-tracking --with-gmp=\/ffp\r\n\r\n#mpc-1.0.2\r\n.\/configure --prefix=\/ffp --with-mpfr=\/ffp --with-gmp=\/ffp\r\n\r\n#lzip\r\nmake CPPFLAGS=\"$BUILD_FLAGS\" CPPFLAGS=\"$BUILD_FLAGS\" LDFLAGS=\"$LDFLAGS\"\r\n\r\n#The LLVM Core libraries provide a modern source- and target-independent optimizer, along with code generation support for many popular CPUs (as well as some less common ones!)\r\nllvm-3.5.0\r\n#.\/configure --prefix=\/ffp --enable-libcpp=yes --enable-cxx1y=yes --enable-split-dwarf=yes --enable-libffi=yes --with-python=\/ffp\/bin\/python --enable-targets=arm\r\n.\/configure --prefix=\/ffp --enable-cxx1y=yes --enable-split-dwarf=yes --enable-libffi=yes --with-python=\/ffp\/bin\/python\r\n\r\n#isl-0.14 (Integer set library) -> depends on perl\r\n#.\/configure --prefix=\/ffp --enable-dependency-tracking --with-gmp=\/ffp --with-clang-prefix=\/ffp\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --with-gmp=\/ffp\r\n\r\n#OpenScop Library 0.9.0\r\n#http:\/\/icps.u-strasbg.fr\/~bastoul\/development\/openscop\/#DL\r\nwget http:\/\/icps.u-strasbg.fr\/~bastoul\/development\/openscop\/docs\/osl-0.9.0.tar.gz -o openscop-0.9.0.tar.gz\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --with-gcc-arch=armv5te --with-gmp-prefix=\/ffp\r\n\r\n#OpenScop Library 0.5.0\r\ngit clone https:\/\/github.com\/cesarsabater\/openscop.git\r\n.\/autogen.sh\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --with-gcc-arch=armv5te --with-gmp-prefix=\/ffp\r\n~\/x.sh ffpg\r\nmake\r\n\r\n#cloog-0.18.1 (Chunky LOOp Generator) depends on Integer set library 0.12.1 and OpenScop Library 0.5.0\r\n#isl\/configure (Integer set library): VERSION='0.12.1'\r\naclocal -I m4\r\nautoconf\r\nautoheader\r\nautomake --add-missing\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --with-isl-prefix=\/ffp --with-gmp-prefix=\/ffp --with-osl-prefix=\/ffp\r\n~\/x.sh ffpg\r\n\r\n#osl (object storage layer) -> depends on perl\r\ngit clone git:\/\/git.tuebingen.mpg.de\/osl\r\n#modify Makefile to set PREFIX=\/ffp\r\nmake\r\nmake install PREFIX=\/ffp\r\n\r\nwget http:\/\/ftp.gnome.org\/pub\/gnome\/sources\/glib\/2.30\/glib-2.30.3.tar.xz\r\naclocal -I m4macros\r\nautoconf\r\nautoheader\r\nautomake --add-missing\r\n#.\/configure --prefix=\/ffp --enable-dependency-tracking --enable-gcov --with-libiconv=gnu --with-threads=posix --with-pcre=\/ffp\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --with-threads=posix --with-pcre=\/ffp\r\n\r\n#libgpg-error-1.12\r\ncurl -L -k ftp:\/\/ftp.gnupg.org\/gcrypt\/libgpg-error\/libgpg-error-1.12.tar.gz -o libgpg-error-1.12.tar.gz\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --with-libiconv-prefix=\/ffp --with-libintl-prefix=\/ffp\r\n\r\n#libassuan depends on libgpg-error\r\ncurl -L -k ftp:\/\/ftp.gnupg.org\/gcrypt\/libassuan\/libassuan-2.2.0.tar.bz2 -o libassuan-2.2.0.tar.bz2\r\n.\/autogen.sh --add-missing\r\nautomake --add-missing\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --with-libgpg-error-prefix=\/ffp\r\n#ERROR for doc directory\r\n#Comment (using #) the below lines in files doc\/Makefile and doc\/Makefile.am:\r\n#assuan_TEXINFOS = lgpl.texi gpl.texi\r\n#Comment (using \"@c \" prefix) the below lines in doc\/assuan.texi:\r\n#* Library Copying::     GNU Lesser General Public License says\r\n#* Copying::             How you can copy and share this manual.\r\n#@include lgpl.texi\r\n#@include gpl.texi\r\n\r\n#libksba depends on libgpg-error\r\ncurl -L -k ftp:\/\/ftp.gnupg.org\/gcrypt\/libksba\/libksba-1.3.2.tar.bz2 -o libksba-1.3.2.tar.bz2\r\naclocal -I m4\r\nautoconf\r\nautoheader\r\nautomake --add-missing\r\n.\/autogen.sh --add-missing\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --with-libgpg-error-prefix=\/ffp\r\n\r\nwget ftp:\/\/ftp.gnupg.org\/gcrypt\/gnupg\/gnupg-2.0.26.tar.bz2\r\n#Comment the lines below in doc\/Makefile.in and doc\/Makefile.am:\r\n#.fig.pdf:\r\n#\tfig2dev -L pdf `test -f '$<' || echo '$(srcdir)\/'`$< $@\r\n.\/autogen.sh --add-missing\r\n.\/configure --prefix=\/ffp --enable-dependency-tracking --enable-symcryptrun --enable-gpgtar --enable-selinux-support --with-libiconv-prefix=\/ffp --with-libintl-prefix=\/ffp --with-zlib=\/ffp --with-bzip2=\/ffp --with-readline=\/ffp --with-libgpg-error-prefix=\/ffp --with-libassuan-prefix=\/ffp --with-libgcrypt-prefix=\/ffp --with-pth-prefix=\/ffp --with-libcurl=\/ffp --with-ksba-prefix=\/ffp --enable-scdaemon=no\r\n\r\n#wget http:\/\/ftp.gnu.org\/gnu\/gdbm\/gdbm-1.10.tar.gz\r\naclocal -I m4\r\nautoconf\r\nautoheader\r\nautomake --add-missing\r\n.\/configure --prefix=\/ffp --enable-libgdbm-compat --enable-dependency-tracking --with-libiconv-prefix=\/ffp --with-libintl-prefix=\/ffp\r\n\r\n#-mtune=xscale ?\r\nexport CFLAGS=\"-march=armv5te -mfloat-abi=soft -mabi=aapcs-linux -fno-stack-protector -pthread -O2 -Wall\"\r\nexport BUILD_FLAGS=\"$CFLAGS -I\/ffp\/include -I\/ffp\/opt\/apache-2.2.29-worker\/include\"\r\n#export LDFLAGS=\"-L\/ffp\/lib -lintl -lpthread -lncurses\"\r\nexport LIBS=\"-lintl -lpthread -lncurses\"\r\nexport CPPFLAGS=\"$BUILD_FLAGS\"\r\nexport CXXFLAGS=\"$BUILD_FLAGS\"\r\nexport LC_ALL=POSIX\r\n\r\n#posix_madvise requires -lc in LDFLAGS\r\n#when using readline the building process might require -lncurses\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>#See https:\/\/adrhc.go.ro\/wordpress\/common-commands-when-building\/ for building environment, x.sh script and other things not defined here. #Before compiling do declare the environment variables specified to the link above and prepare sources with ~\/x.sh ffpg (or ~\/x.sh ffpg-all if compilation fails). #urbackup-server-1.4.9 NEW_BUILD_NAME=urbackup-server NEW_BUILD_VER=1.4.9 [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/adrhc.go.ro\/blog\/configure-command-for-building-various-software\/#more-1130\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">Configure command for building various software<\/span><\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,11,163],"tags":[],"class_list":["post-1130","post","type-post","status-publish","format-standard","hentry","category-compiling-from-source","category-linux","category-nsa310"],"_links":{"self":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/1130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/comments?post=1130"}],"version-history":[{"count":0,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/1130\/revisions"}],"wp:attachment":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/media?parent=1130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/categories?post=1130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/tags?post=1130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}