2011-8-10 22:04:09

 

 

 

2011-8-10 22:04:09


tar xjf zlib-1.2.5.tar.bz2

cd zlib-1.2.5

./configure --prefix=$PWD/../_install

         #此处,我将目录安装文件都放在了上层目录的_install下

修改Makefile

         CC = arm-linux-gcc

         CPP=arm-linux-gcc -E

         AR=arm-linux-ar rc

         RANLIB=arm-linux-ranlib

make

make install

 

tar xzf openssl-0.9.8n.tar.gz

cd openssl-0.9.8n

patch -Np1 -i ../openssl-0.9.8n-fix_manpages-1.patch

./Configure --prefix=$PWD/../install os/compiler:arm-linux-gcc

make

make install

 

tar xzf wvstreams-4.6.1.tar.gz

cd wvstreams-4.6.1

修改configure ##这步记得一定要做,否则在configure时会有错误

         with_zlib=no改为with_zlib=yes(有两处)

         with_openssl=no      改为         with_openssl=yes     (有两处)

./configure --prefix=$PWD/../_install --host=arm-linux \

         CPPFLAGS=-I$PWD/../_install/include LDFLAGS=-L$PWD/../_install/lib \

         CFLAGS=-I$PWD/../_install/include --with-zlib=$PWD/../zlib-1.2.5 \

         --with-openssl=$PWD/../openssl-0.9.8n \

         --without-dbus --with-pam=no --with-tcl=no --with-qt=no --without-valgrind

make

make install

 


./configure --prefix=$PWD/../_install --host=arm-linux \
         CPPFLAGS=-I$PWD/../_install/include LDFLAGS=-L$PWD/../_install/lib \
         CFLAGS=-I$PWD/../_install/include --with-zlib=$PWD/../zlib-1.2.5 \
         --with-openssl=$PWD/../openssl-0.9.8n \
         --without-dbus --with-pam=no --with-tcl=no --with-qt=no --without-valgrind
        

 


 

你可能感兴趣的:(2011-8-10 22:04:09)