#---------------------------------------------------------------------------- # build_davfs2.txt - how to build the davfs2 binaries and create folder and packages # # Creation : 2014-02-24 jed # Last update: $Id$ # # !!! this is not a script but an step-by-step howto !!! #------------------------------------------------------------------------------ exit 1 # - needs the following environment to build: gcc v5.5.0 # - needs the following library packages to be build: - libexpat-dev - libkrb5-dev - libneon-dev - libssl-dev # - needs the following packages to be build: - base 2.8.5 ### RPM build info ### RPM package source: http://download.opensuse.org/repositories/openSUSE:/Factory/standard/src/davfs2-1.5.4-1.1.src.rpm # if the RPM build process is used instead of the manual build process, # the following package can be ignored and aren't required for this # package: - fuse-dev - pwdutils # RPM build command: # rpmbuild -ba --rmsource --nocheck ./SPECS/davfs2.spec ### manual build info ### ### download the source code from the internet, e.g. # http://mirrors.zerg.biz/nongnu/davfs2/ # davfs2-1.5.2.tar.gz ### extract file in a temporary location tar -xzvf davfs2-1.5.2.tar.gz cd davfs2-1.5.2 ### build export CFLAGS='-O2 -march=i486' export CXXFLAGS="${CFLAGS}" ./configure --prefix=/usr \ --sysconfdir=/etc \ --build=i486-pc-linux-gnu \ --host=i486-pc-linux-gnu Configuration for building davfs2 1.5.2: Install Prefix: /usr Compiler: gcc Large File Support: yes Neon Library: library in /usr (0.29.1) SSL is supported by neon National Language Support: libc Configuration for building davfs2 1.4.6: Install Prefix: /usr Compiler: i486-pc-linux-gnu-gcc Large File Support: yes Neon Library: library in /usr (0.29.4) SSL is supported by neon National Language Support: libc make make check make DESTDIR=/public/davfs2 install # strip files/binarys strip -R .note -R .comment /public/davfs2/usr/sbin/* # copy files cp *** <svn-root>/lib/davfs2/bin_**_davfs2_1_5_2/***