lovingboth: (Default)
[personal profile] lovingboth
I don't need to do this very often (thank you Debian maintainers) but the package for analog, the log file analyser, still hasn't been updated with the patch to recognise Windows versions post-2004: Vista and 7 are 'unknown' as far as it is concerned.

(Analog is wonderful, but its author decided to hardwire various detection routines in the c source rather than have them in a config file and has been "too busy" to update the program since 2004.)

So, obviously, you just download the source package, unpack, edit the relevant tree.c file and make, right?

No, you add deb-src lines to the /etc/apt/sources.list file, update, and do

sudo apt-get source analog


then edit and make.

No, because the resulting executable file complains it cannot find various config files - Debian decided to put them somewhere else. What you actually need to do is

sudo apt-get source analog -b


(get the source - actually, realise you already have it and so don't overwrite the changes you made - and build it, including all the Debian changes.)

And that works! Rename the old binary, copy the new one into /usr/bin and..

ian@core2 ~ $ ls -la /usr/bin/ana*
-rwxr-xr-x 1 root root 1122930 2010-05-30 13:06 /usr/bin/analog
-rwxr-xr-x 1 root root 367568 2009-04-28 21:58 /usr/bin/analog-old

In my ignorance, I was expecting something nearly the same size. Why is it so much bigger (1.1Mb vs 360k)? Debug info? (If so, a) why's that the default and b) that's an awful lot of debug info!) Something else? How do I get something roughly the same size?
(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

lovingboth: (Default)
Ian

February 2026

S M T W T F S
1234567
891011121314
15161718192021
22232425262728

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags