GNC-PRICES

Rob Browning rlb@cs.utexas.edu
22 Feb 2001 18:58:32 -0600


Dave Peticolas <dave@krondo.com> writes:

> I think we're talking about different things. GnuCash installs it's
> own version of finance::quote itself. There is no need for a cpan
> bundle for this. I (and I assume the other poster) am talking about
> the low-level libraries that finance quote uses to do net io. They
> are not installed by gnucash nor are they installed by default on
> some distributions.

Hmm.  Maybe.  Even there, I'd still maintain that:

  - build process should check for/require those sub-packages at build
    time that it needs for the bits that are going to be built and
    installed, including "net io" parts if something that depends on
    them is scheduled for installation. (If anything is missing,
    perhaps configure should suggest the common -dev packages for
    RedHat and Debian or point them to a README.dependencies).

  - .rpm's .debs, etc. should depend on the right runtime net io (or
    whatever) packages if those are needed for the scripts/binaries
    included to function properly.  If the packages don't depend on
    everything they need for all of the components to function
    properly, then IMO that's a bug.

  - If there are bits that seem minor enough that you shouldn't
    require everyone to install them, then at built time, we should
    have an --enable-foo option, and the gnucash .deb or .rpm should
    be broken up into multiple packages, some optional (say gnucash,
    gnucash-quotes, etc.), and the optional packages should depend on
    the relevant net io, or whatever, other packages they need.

Though maybe I'm missing the point and we're talking past each other
here.  If so, sorry.

-- 
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930