[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian 9.13 perl-5.24-1 compile from source dist/Time-HiRes Warning: No Makefile!



On Thu, 1 Oct 2020 at 07:11, David Christensen
<dpchrist@holgerdanske.com> wrote:
> On 2020-09-30 03:31, David wrote:
> > On Wed, 30 Sep 2020 at 14:57, David Christensen <dpchrist@holgerdanske.com> wrote:

> >> I have installed the source code for the 'perl' package:
> >> $ apt-get source perl

> I read:
> debian/README.Debian
> debian/Documentation
> debian/README.source
> README
> README.linux

> Unfortunately, none provide simple instructions for building on Debian.

>From what I have observed, I think your expectation that such
instructions would be provided in that location is
inconsistent with the practice and aims of the Debian project.

Debian is basically a software packaging project. Your apt-get source
command downloaded a source _package_. The purpose of a
source _package_ is to build installable (aka binary) packages, and
Debian provides instruction on how to do that.

If you want to work with un-packaged source code, you would
obtain it from the upstream Perl project (not from Debian), and also
be responsible yourself for ensuring that all its build dependencies
are present.

When source code has complex dependencies, then
I find it easier to be lazy and just take advantage of the
work that has already been done by the Debian maintainers
to satisfy that requirement.

> > I suggest you try the usual method
> > using debuild here:
> >    https://wiki.debian.org/BuildingTutorial#Rebuild_without_changes

[...]

> After 42 minutes, it seems to have worked:

And during that 42 minutes, you can do something more interesting
than trying to solve build dependency problems :)

[...]

> Hopefully, that will be sufficient for now.

Great, I'm glad to hear it worked for you so that you could
move closer to your goal.


Reply to: