Re: log colorizer?



On Thu, 4 Sep 2008, Kevin Nathan wrote:-

On Thu, 4 Sep 2008 12:06:05 +0100
David Bolt <blacklist-me@xxxxxxxxxx> wrote:

I'm curious to know what's causing the problems, and how you
solve them.


As am I! ;-)

Actually, I was being a little cruel because I do know what's causing
the problems, and what I did to cure them. You need to apply the
following patch:

--- ./configure.ac 2003-05-13 19:09:30.000000000 +0100
+++ ../ccze-0.2.1.mine/configure.ac 2006-09-17 22:21:49.000000000 +0100
@@ -84,7 +84,7 @@
AC_TYPE_SIZE_T
AC_TYPE_SIGNAL

-AC_CHECK_TYPE(error_t, int)
+dnl AC_CHECK_TYPE(error_t, int)

dnl **********************
dnl * Library functions

And:

--- ./src/Makefile.in 2003-05-13 19:09:30.000000000 +0100
+++ ../ccze-0.2.1.mine/src/Makefile.in 2006-09-17 21:55:19.000000000 +0100
@@ -22,7 +22,7 @@
-Wbad-function-cast -Wsign-compare -Wchar-subscripts \
-Wcomment -Wformat -Wformat-nonliteral -Wformat-security \
-Wimplicit -Wmain -Wmissing-braces -Wparentheses \
- -Wreturn-type -Wswitch -Wmulticharacter \
+ -Wreturn-type -Wswitch \
-Wmissing-noreturn -Wmissing-declarations @WFLAGS_3X@
WFLAGS_ICC = -Wall -wd193,279,810,869,1418,1419
WFLAGS_3X = -Wsequence-point -Wdiv-by-zero -W -Wunused \

And then there should be no problems building it.

Of course, if you're wanting to build an RPM from it using rpmbuild,
you'll need to edit the spec file as it's using the old Copyright: tag,
and building with it will fail.

Alternatively, you can find my source RPM package, with a replacement
spec file and those patches here:

<URL:http://www.davjam.org/~davjam/linux/repositories/10.3/suse/srpms/ccze-0.2.1-1.9.suse103.src.rpm>

And the pre-built binary packages built using that source RPM here:

<URL:http://www.davjam.org/~davjam/linux/repositories/10.1/suse/i686/ccze-0.2.1-1.9.suse101.i686.rpm>
<URL:http://www.davjam.org/~davjam/linux/repositories/10.2/suse/x86_64/ccze-0.2.1-1.9.suse102.x86_64.rpm>
<URL:http://www.davjam.org/~davjam/linux/repositories/10.3/suse/i686/ccze-0.2.1-1.9.suse103.i686.rpm>
<URL:http://www.davjam.org/~davjam/linux/repositories/10.3/suse/ppc/ccze-0.2.1-1.9.suse103.ppc.rpm>
<URL:http://www.davjam.org/~davjam/linux/repositories/10.3/suse/x86_64/ccze-0.2.1-1.9.suse103.x86_64.rpm>
<URL:http://www.davjam.org/~davjam/linux/repositories/11.0/suse/i686/ccze-0.2.1-1.9.suse110.i686.rpm>
<URL:http://www.davjam.org/~davjam/linux/repositories/11.0/suse/x86_64/ccze-0.2.1-1.9.suse110.x86_64.rpm>


Regards,
David Bolt

--
www.davjam.org/lifetype/ www.distributed.net: OGR@100Mnodes, RC5-72@15Mkeys
SUSE 10.1 32b | | openSUSE 10.3 32b | openSUSE 11.0 32b
| openSUSE 10.2 64b | openSUSE 10.3 64b | openSUSE 11.0 64b
RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC | RISC OS 3.11
.