open source

How to: build open source by libtool

Posted on

use libjpeg for example:
% tar zxvf jpegsrc.v6b.tar.gz
% cd jpeg-6b
% cp /usr/share/libtool/config.sub .
% cp /usr/share/libtool/config.guess .
% ./configure –enable-shared –enable-static
% make
% sudo make install
% sudo ranlib /usr/local/lib/libjpeg.a

廣告