* Randy McMurchy <[EMAIL PROTECTED]> [2005-08-11 23:32]:

FWIW, this is how I build some of these packages. I use makefiles,
assume DEST, TMP, INS, SRC are appropriate directories.

untar is a bash function that untars .gz or .bzip2 files.

> Boost

BOOST = boost-1.32
.PHONY : boost
boost : P = boost_1_32_0.tar.bz2
boost : D = boost_1_32_0
boost : LOC = http://easynews.dl.sourceforge.net/sourceforge/boost/$P
boost :
        [ -e $(SRC)/$P ] || (cd $(SRC) && wget $(LOC))
        (. ~/.bashrc && cd $(TMP) && untar $(SRC)/$P)
        cd $(TMP)/$D/tools/build/jam_src && \
        sh build.sh && \
        su -c 'cp bin.linuxx86/bjam $(DEST)/bin'
        su -c 'cd $(TMP)/$D ; bjam "--prefix=$(DEST) -sBUILD=release 
<threading>single <optimization>speed"'
        su -c 'cd $(TMP)/$D ; find . -name \*.a -exec cp \{\} $(DEST)/lib \;'
        su -c 'cd $(TMP)/$D ; find . -name \*.so -exec cp \{\} $(DEST)/lib \;'
        [ -e $(DEST)/include/boost ] && su -c 'rm -rf $(DEST)/include/boost'
        su -c 'cd $(TMP)/$D ; mv boost $(DEST)/include'
        su -c 'rm -rf $(TMP)/$D'
        touch $(INS)/$(BOOST)

These instructions are based on those suggested by the monotone project,
which is the reason i need to build boost.

>   gtkmm

It required glibmm, which requires libsigc++2. The three of them are
straight cmmi.

> Strace

I build it static. It's just a matter of doing:

        LDFLAGS=-static ./configure --prefix=$(DEST) && \
        make LDFLAGS=-static
        make install

About suggestions for other packages: oprofile is a nice alternative to
valgrind: http://oprofile.sourceforge.net/news/

We might consider adding more RCS packages, since source control is a
basic developers' tool. We might add darcs, monotone, git, etc. I have
instructions for those three. Maybe merge tools too.

Maybe ctags, pyc (python compiler), tcc, 

I know this could be too much :) just letting my brain spew the names of
those tools i've found useful.

HTH,

-- 
Miguel Bazdresch
http://thewizardstower.org/
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to