[mythtv-users] Updated dct-channel for controlling DCT-2000 via serial port

Ian Forde ian at duckland.org
Sun Oct 19 01:14:19 EDT 2003


On Sat, 2003-10-18 at 23:35, Jim Paris wrote:
> > But for 1.2, it's a ton of stuff.  Here goes...
> > 
> ...
> 
> None of those defines are actually used anywhere, so they won't affect
> type sizes or anything.  But 1.3 is using 'cc' and 1.2 is using 'gcc'
> for you.  They must be different -- what versions are they?

/usr/bin/cc is symlinked to /usr/bin/gcc so that's not it...

> > Oh yeah - I forgot to mention that bit!  You have a dependency upon
> > help2man, which wasn't on my system before... why not just have a static
> > man page?  (I'd like to say that I'm one who doesn't update the software
> > on my main myth box often, but since I've just spent the last 45 minutes
> > updating rpms via apt and am now building 0.12... heh heh heh...)
> 
> No, I was careful about that.  There's a static channel.1 distributed
> in the archive (check!).  The Makefile rules only regenerate it when
> channel.c or version.h changes, not when you just rebuild the binary.

Hmm... must have been when I put the patch in - yep - just tested it. 
Turns out that I hadn't had help2man installed on the box at that
point.  To duplicate it, just do a "make;touch channel.c;make" on a box
without help2man... it does regenerate channel (at least 1.3 does) but
it's also gives an error... 


> You changed channel.c, so it needed to rebuild the manpage.  Unless
> your tar is broken and munges timestamps, though, you normally won't
> regenerate it.  Still, I'll modify it to make a dummy manpage if it
> wants to rebuild and help2man isn't present.

Pretty much stock RH9 - I haven't replaced the tar binary.  In any case,
since the build of channel.1 is dependent upon the existence of channel
(so that it can generate the manpage, in the case that the helptext has
changed), it would make sense to either a) have a dummy manpage or b)
display a warning that the manpage can't be created if help2man isn't
installed (yet still build channel).

FYI - I'm testing the build on 2 RH9 systems - one with help2man and one
without.  Great work btw!  

	-I
-- 
                       __________________________________
                       Ian Forde, RHCE, CCSE, SCNA, SCDME
                       CYTBeN, Inc.
                       ian at duckland.org / ian at cytben.com



More information about the mythtv-users mailing list