Update-Finance-Quote dependancy of libwww-perl.
Decibels
decibelshelp@charter.net
Tue, 22 Oct 2002 10:09:42 -0500
Matthew Vanecek wrote:
>It could be made a dependency in the package manager, maybe. I don't
>know about .tgz, but I know apt and rpm support dependency checking. Or
>perhaps just a post-install message saying "install this", as well as a
>similar message at the end of the build, if the package is not already
>installed.
>
>
>
Yes, I see the difficulty of the various distro's and their packaging
methods. Gentoo
builds from sources and puts deps in ebuilds, Mandrake and rpms, debian
with apt-get,..
But I am not an expert on merging all those concepts. That is why I was
thinking a
message might me the best way, unless you guys can come up with a way to
add the
dep. I haven't checked, but just like (Date-Manip) and (Finance-Quote)
can libwww-perl
be installed via CPAN? If so it could be just added with them near the
end of the
update-finance-quotes script so GnuCash doesn't have to depend on
libwww-perl when it
doesn't need it. No sense adding bloat if the user doesn't want quotes.
*****************
Okay just checked, found this about CPAN and libwww-perl:
AVAILABILITY
The latest version of libwww-perl should always be available from:
http://www.linpro.no/lwp/
The library is also available from the Comprehensive Perl Archive
Network (CPAN). Visit <URL:http://www.perl.com/CPAN/> to find a CPAN
site near you.
But!! They recommend that you install these modules first:
URI
MIME-Base64
HTML-Parser
libnet
Digest-MD5
I checked the ebuild on Gentoo and it has those deps for libwww-perl. So
that leads to
the problem that those deps won't be met if install via CPAN, and
probably the same for
other distro's. SO, it looks like just adding the message about
libwww-perl might be
the safest way to go! What do you think?
****************
**************
Derek Atkins wrote:
Perhaps break out the Quotes package into a gnucash-get-quotes rpm that
has the libwww-perl dependency?
Then it also has to be a .deb..., more work for the developers on the
other end?! Am I correct?
Yet another idea: How about an error message saying to make sure these
packages are installed
when you run quotes and it doesn't work.
*************
The biggest issue is the without libwww-perl quotes won't work and I
don't remember there
being a message say that that was the reason.