problems compiling gnucash (gnucash-gnome2-dev branch)

Derek Atkins warlord at MIT.EDU
Sun Aug 17 14:28:56 CDT 2003


Tony Watts <tjawatts at totalise.co.uk> writes:

> Hi folks
> 
> How about this one? Give it a go Thomas and let me know if it
> works. (dont know if I am supposed/allowed to post patches to this
> list?)

Patches are ok here when you want others to test them or look at them,
but patches meant to actually be applied should at least be cc'd to
gnucash-patches.  Alternatively you can file a bug report and supply
your patch.  Either way works, IMHO.

> Derek, regarding whether it is essential it is the printer interface,
> which changed from 2.0. I am not certain but I think RH 9 comes with
> 2.0.

Then we need to retain support for 2.0.

> Anyway, glad if it is 2.2 that we are aiming at. The only
> compatability problem I have had so far is this printer problem. Which
> hopefully will now be fixed. Any ideas on how to do it without
> breaking it for users of 2.0?

You need to add a configure test and #ifdef the code based on whether
you find 2.0 or 2.2.

> Tony

[patch snipped]

This patch only replaced 2.0 with 2.2, which is not sufficient.
You'll need to use some #ifdefs based on a proper test in
configure.in.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list