Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Improve make install stability #910

Closed
rurban opened this Issue · 1 comment

1 participant

@rurban
Collaborator

make install will fail on a half compiled/generated parrot, when some files which should be installed already existed.

Typical failure:
Can't locate Parrot/Pmc2c/PCCMETHOD_BITS.pm in @INC

Cause:
lib/Parrot/Pmc2c/PCCMETHOD_BITS.pm already existed, so perl Configure.PL; make installable; sudo make install
did not generated this entry in MANIFEST.generate, so it was not installed.

Add a make install step which checks for lib/Parrot/Pmc2c/PCCMETHOD_BITS.pm in MANIFEST.generated (this is the first entry usually) and abort with the suggestion
make clean; perl Configure.PL; make installable; sudo make install
then.

nqp --gen-parrot will not clean parrot/ because this is in .gitignore.
You'll have to clean parrot/ manually. rm -rf parrot/ works fine.

@rurban rurban was assigned
@rurban rurban referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@rurban rurban referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@rurban rurban referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@rurban rurban referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@rurban rurban referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@rurban rurban referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@rurban rurban referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@rurban rurban referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@rurban rurban referenced this issue from a commit
@rurban rurban [GH #910] add Parrot::Install::sanitycheck_install
Check for some common possibly ungenerated
configure and make targets in MANIFEST.generated and die
with the appropriate error message. Suggest make clean or make reconfig then.
10215f1
@rurban rurban referenced this issue from a commit
@rurban rurban [GH #910] install: Add all dynext libs with load_ext, all exes
More sanity checks.
Fixes select missing on windows, gziphandle without has_gzip,
mixed windows path slashes.
46cacb6
@rurban
Collaborator

Does now make clean on a fresh perl Configure.pl, and does a sanity check on make install.

@rurban rurban closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.