develooper Front page | perl.perl5.porters | Postings from October 2000

Re: [ID 20001009.009] what if cc changes?

Thread Previous | Thread Next
From:
Alan Burlison
Date:
October 10, 2000 00:35
Subject:
Re: [ID 20001009.009] what if cc changes?
Message ID:
39E2C6A1.1BE20050@uk.sun.com
Peter Prymmer wrote:

> I guess that I have longed for a 'bindist' target to be in MM produced
> Makefile's such that the resultant tarball when unpacked into the correct
> location will give the target machine the same XS based capability as the
> machine where the `make bindist` was run.  Actually I'd like it too if
> perl's Configure provided this (a bindist target in the Makefile).  That
> is, the thing that is currently missing from $installprefix is an ability
> to use the resultant perl to XS-tend itself with a few choice modules to
> produce a tar ball that is not all tangled up in the mess that I already
> have in /usr/local.

Wot, you mean like this?

--------------------
$ mktarpkg   
This will build tar archives for Perl and any selected modules.
You can opt either to just build individual tar archives for Perl and
selected modules, or you can choose to build a combined archive that
also includes an install shell script.  The shell script will allow
selection of the modules to be installed.
Do you wish to build a combined Perl + module archive? [y] n
Finding all installed modules...
Do you want to package the Perl core? [y] n

Found module Archive::Tar Version 0.22
Do you want to package Archive::Tar? [y] 

Found module C::Scan Version 0.74
Do you want to package C::Scan? [y] n

...

Packaging Archive::Tar
Creating module tar archives
   Executing "tar -cf Archive::Tar.tar -I /tmp/mktarpkg.104423"
Finished.  The tar files for the selected modules
have been created in your current directory

$mower# tar tvf Archive::Tar.tar
-r-xr-xr-x   0/1     1622 May 23 21:14 2000 /usr/local/bin/ptar
-r--r--r--   0/1    31965 Apr 27 23:50 2000
/usr/local/lib/perl5/site_perl/5.6.0/Archive/Tar.pm
-rw-r--r--   0/1      107 May 23 21:14 2000
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris-64int/auto/Archive/Tar/.packlist
-r--r--r--   0/1    15578 May 23 21:14 2000
/usr/local/man/man3/Archive::Tar.3
--------------------

All the information needed to do this is there already in the form of
the .packlist files, along with the ExtUtils::Packlist and
ExtUtils::Installed modules.  The only thing missing is module
dependency information.  I've offered this up for consideration several
times but it has been met with waves of indifference.

-- 
Alan Burlison

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About