Well ... the beam just dumped, so let's see if I can figure this out.... Demeter does not use Carp::Clan, so the version number of libcarp-clan-perl is irrelevant. This is a puzzler for me. I have never seen this problem over many, many versions of perl. So there is something I don't understand about your system. I cannot reproduce this problem, so it's going to be difficult to resolve. Try this: Put use Carp; just after line 257 of lib/Demeter/Plot/Gnuplot.pm. Line 257 is the one that says { no warnings 'redefine'; No guarantees, but maybe that'll help.... Let me know. B On 03/30/2018 10:19 AM, Al Kwiatkowski wrote:
Hello -
We're trying to install demeter on a 32-bit system running Debian 9.2 Stretch. The 'perl Build.PL' and 'Build' run into no issues, but when we try running 'Build test' we get the following error messages:
t/001_base.t ............ String found where operator expected at /home/kwiatal/sources/demeter-master/blib/lib/Demeter/Plot/Gnuplot.pm line 273, near "croak "Couldn't unlink $self->{__error_log}: $!"" (Do you need to predeclare croak?) syntax error at /home/kwiatal/sources/demeter-master/blib/lib/Demeter/Plot/Gnuplot.pm line 273, near "croak "Couldn't unlink $self->{__error_log}: $!"" Compilation failed in require at /home/kwiatal/sources/demeter-master/blib/lib/Demeter.pm line 244. Compilation failed in require at t/001_base.t line 22. BEGIN failed--compilation aborted at t/001_base.t line 22. # Looks like your test exited with 255 before it could output anything. t/001_base.t ............ Failed 24/24 subtests t/002_types.t ........... String found where operator expected at /home/kwiatal/sources/demeter-master/blib/lib/Demeter/Plot/Gnuplot.pm line 273, near "croak "Couldn't unlink $self->{__error_log}: $!"" (Do you need to predeclare croak?) syntax error at /home/kwiatal/sources/demeter-master/blib/lib/Demeter/Plot/Gnuplot.pm line 273, near "croak "Couldn't unlink $self->{__error_log}: $!"" Compilation failed in require at /home/kwiatal/sources/demeter-master/blib/lib/Demeter.pm line 244.
The "croak" command not getting found appears to come from the "Carp" perl module - we have version 6.06-1 of the 'libcarp-clan-perl' package installed. Any suggestions as to what's causing this error? Again, the 'perl Build.PL' command shows no issues with the installed modules, but since most of them were installed from the Debian repository, maybe there's a discrepancy with the modules installed when we run './Build installdeps'?
Thanks for any assistance -
Al Kwiatkowski kwiatal@phys.iit.edu _______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
-- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Science Group at NSLS-II Building 743, Room 114 Upton NY, 11973 Homepage: http://bruceravel.github.io/home/ Beamline: https://www.bnl.gov/ps/beamlines/beamline.php?r=6-BM Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/