-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missed dependency. Carton does not bundle everything #282
Comments
That doesn't make sense. Make sure you have clean |
I. I think I have good example:
II. # PERL5LIB= perl -V
# PERL5LIB= perl -I$PWD/ext/lib/perl5/ ext/bin/carton install
# PERL5LIB= perl -MImager::File::PNG -e 0
# PERL5LIB= perl -Iext/lib/perl5/ -MImager::File::PNG -e 0
hmmm... it seems package was not installed, but already available. How this is possible?? |
I mean to clean the local before
I don't know what you mean exactly, but if you install modules outside
Yes, all of this should be possible as long as you manage all dependencies with Carton.
Yeah this doesn't make any sense to me. |
I suspect some dists (that is not Imager-File-PNG) installed Imager::File::PNG even though it shouldn't. You could run |
https://metacpan.org/dist/Imager seems to contain PNG.pm, and I suspect that's the problem. As a workaround you should remove For correct fix, report to the upstream so that installing Imager won't install Imager::File::PNG. |
|
I said "or some sort" because it depends on your shell how to make it work. I guess you could use Anyway, this is an Imager problem, which is that the Imager module installs files from other dists. In the mean time you should be able to remove ::JPEG and ::PNG from your cpanfile and I believe that will work. |
There is no information about that Could it be possible to report this problem? eg Thank you. |
Correct.
It's not trivial to do so, but you're right that finding that information is important to fix this kind of bugs in the upstream. |
It seems that this is trivial:
|
Well, unfortunately Carton outsources all of the work to cpanm (Menlo) and have no control over this process. Carmel has a much better design handling this type of errors. |
Here is response from author of |
i made a comment, but it looks like you can set |
# perl -I$PWD/ext/lib/perl5/ ext/bin/carton install
# perl -I$PWD/ext/lib/perl5/ ext/bin/carton bundle
On some other host:
cpanfile.txt
cpanfile.snapshot.txt
I think this hapens because of:
Imager::File::PNG is up to date. (0.98)
The text was updated successfully, but these errors were encountered: