Hi Bruce,

Indeed it is old school way to generate make file and install Perl modules. I
do recall doing so on many iterations since working with Perl 5.10 days when
CPAN was in its infancy for couple of Financial Houses I was employed at that
were big time into Perl. Especially trying to build SSLeay module with
OpneSSL, z-lib (or was it libz) and other dependent libraries' headers on SUN
Ultra Sparc 2's back then. What a nightmare (or fun) that was...  

Anyways I was more interested in making sure that Fred had generated correctly
and not adopted from somewhere else that might be somewhat bastardized one. I
also got thrown off a bit in that when I cloned the repo for 1.61_03, it
didn't have Makefile.PL so it was more to make sure it was installed from
correct source.

I looked at Makefile.PL for 1.61 source at CPAN and it does NOT have CPAN
listed in PREREQ_PM or in %FallbackPrereqs. Might be worth adding to it...


------ Original Message ------
Received: Fri, 03 May 2024 11:30:22 AM EDT
From: Bruce Schuck <bsch...@asgard-systems.com>
To: GnuCash User <gnucash-user@gnucash.org>Cc: Kalpesh Patel
<kalpesh.pa...@usa.net>, Fred Tydeman <tydeman.f...@gmail.com>
Subject: Re: [GNC] Finance::Quote PreRelease 1.61_03

> On May 2, 2024 at 23:44:53 EDT Kalpesh wrote:
> 
> > That is possible that there is no depend target in the make file. 
> > Just curious how you built/get the make file for it?
> 
> Kalpesh,
> 
> The old school method of installing Perl modules.
> 
> The makefile is created by running "perl Makefile.PL". Then one would 
> execute "make", "make test", and "make install". When I first started 
> using Perl, there was no "cpan" or "cpanm" that automated much of the 
> process. Fetching prerequisites and installing them is one of the major 
> reasons for using cpan/cpanm. It's been such a long time since I had 
> used the OG module install method that I forgot that it does not have a 
> mechanism for fetching and installing dependencies. Back in the day the 
> dependencies were typically noted in the module's README file and one 
> had to manually retrieve and install them.
> 
> This method is definitely not for Perl novices. These days it's more for 
> those who display masochistic tendencies...
> 
> Bruce S.


_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to