Closed mperry2 closed 9 years ago
On 01 Nov 2014, at 06:30, Matt Perry notifications@github.com wrote:
mperry2@devserver:~/dev/cssh/clusterssh-master$ ./Build
I would guess that Build runs the system Perl rather than the one in your path and the system perl doesn’t have Exception::Class. It’s a pretty common problem in my experience when having multiple versions of Perl around. I don’t know if its the correct solution but a workaround is probably to edit Build to point it to the perl you have in your how directory.
HTH,
Andrew=
No guess about it. That's exactly what's happening. There are files in bin_PL that are explicitly using the system perl instead of using the perl in the default path as they should. This appears to be a recent change because I didn't encounter the problem six months ago when I last installed the module.
Duncan will need to fix this which is why I opened the bug report. I don't know enough about the the module build process to feel confident submitting a patch.
I'm in the process of setting up a new system to replicate this so I can prove it is fixed later
Duncs
I've pushed a code commit that fixes the problem on my (new) perlbrew install. Let me know if you have any further issues. I'll push it as a new release in a week or so when I have finished up a few other minor "tidy ups".
Duncs
4.03_04 with a fix in for perlbrew released.
I tried and failed to build clusterssh from the master branch today. I use perlbrew to manage a perl installed into my home directory. I attempted to build clusterssh with that perl.
"perl Build.PL" completes successfully, but "./Build" fails and produces output that looks like it's using the system perl in /usr/bin/perl.
Exception::Class is installed.
Here's my @INC which doesn't match what ./Build is looking for.