From: Bernard L. <thi...@ho...> - 2006-08-27 15:57:24
|
Dear List, I can't find the live sources, though I see various references to CVS. What follows is therefore based on the last release (2.4.0.1). Apologies for any duplication. (a) I assume the BLFS 'gcc 4' patch has already been applied. I attach a copy. tripwire-2.4.0.1-gcc4_build_fixes-1.patch (b) gcc -pedantic -Wall gags (correctly) on many unwanted semicolons which have been put after function-type macro invocations. tripwire-2.4.0.1-bl12_gcc4-1.patch (c) Even after cleaning up the sources, it still won't build if builddir != srcdir. Inspection showed that the $(top_builddir)/{bin,lib} directories were expected to be present already, but aren't (assuming a clean directory initially). After some threshing around, I decided that 'configure'/'config.status' was the best place to create them, so I did a little hacking on config.in . This is most graceless, and I suspect I'm missing a better way to do it. There is some mysterious tat in the old Makefiles which tests whether the target directory exists and simply stops if it doesn't. Feel free to put this behaviour back if it has a use of some sort. tripwire-2.4.0.1-sepbuild-1.patch (d) As I discovered while working on the previous patch, the autotools automagical actions require automake-1.8 . I can move up to automake-1.9.6, after running aclocal. Fine - but now several of the Makefiles end up with duplicate 'all:' targets, and make gags. Ho-hum... inspection revealed that the all: targets are really a mistake anyway. What's wanted is an all-local target instead. The modifications for this are in tripwire-2.4.0.1-automake-1.patch It all works for me now with aclocal/automake from the automake-1.9.6 package. My autoconf is 2.60 My m4 is from the GNU coreutils, version 5.97 I hope this is useful to SOMEONE, I've spent enough time on it... Bernard Leak _________________________________________________________________ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters |