Is larch up to date? Or even installed? It would seem that $larch_exe is not being evaluated properly and is undefined when you get to line 288 in Larch.pm.

B


On 08/08/2018 10:07 AM, Edmund Welter wrote:
Dear all,
I am hitting a wall trying to install the latest Demeter version on my ubuntu laptop.
System: Ubuntu 14.04
Demeter: 0.9.26
perl: 5.18.2
pdl and pdl::stats from repositories. (I tried a newer versions from cpan, but ot no avail)
moose: initially from repositories, than vs. 2.2011  from cpan

I did follow the installation instructions on
https://bruceravel.github.io/demeter/documents/SinglePage/demeter_nonroot.html
and tried to install demeter in ~/perl5
and also the instructions in:
https://bruceravel.github.io/demeter/documents/SinglePage/installation.html
to install Demeter as sudo

Both attempts ended with the same result when I start dathena in a terminal the image of the goddess appears briefly and I get the following error messages in the terminal:
---------------------------------------------------------------------
Invalid version format (non-numeric data) at /usr/local/lib/perl/5.18.2/Moose/Exporter.pm line 11, <DATA> line 90. BEGIN failed--compilation aborted at /usr/local/lib/perl/5.18.2/Moose/Exporter.pm line 11, <DATA> line 90. Compilation failed in require at /usr/local/lib/perl/5.18.2/Moose.pm line 15, <DATA> line 90. BEGIN failed--compilation aborted at /usr/local/lib/perl/5.18.2/Moose.pm line 15, <DATA> line 90. Compilation failed in require at /usr/local/lib/perl/5.18.2/Demeter.pm line 123, <DATA> line 90. BEGIN failed--compilation aborted at /usr/local/lib/perl/5.18.2/Demeter.pm line 123, <DATA> line 90. Compilation failed in require at /usr/local/lib/perl/5.18.2/Demeter/UI/Athena.pm line 24, <DATA> line 90. BEGIN failed--compilation aborted at /usr/local/lib/perl/5.18.2/Demeter/UI/Athena.pm line 24, <DATA> line 90. Compilation failed in require at /usr/local/bin/dathena line 31, <DATA> line 90. BEGIN failed--compilation aborted at /usr/local/bin/dathena line 31, <DATA> line 90. Use of uninitialized value $Larch::larch_exe in concatenation (.) or string at /usr/local/lib/perl/5.18.2/Larch.pm line 288, <DATA> line 90. Can't exec "-q": No such file or directory at /usr/local/lib/perl/5.18.2/Larch.pm line 288, <DATA> line 90.
--------------------------------------------------------------------

When i try to start denv to create the nice overview of installed components I only get the following errors:
--------------------------------------------------------------------
[PDL->Version: 10 PDL_CORE_VERSION: 8 XS_VERSION: ] PDL::Stats::Distr needs to be recompiled against the newly installed PDL at /usr/lib/perl/5.18/DynaLoader.pm line 207.
Compilation failed in require at (eval 1130) line 5.
BEGIN failed--compilation aborted at (eval 1130) line 5.
BEGIN failed--compilation aborted at /usr/local/bin/denv line 24.
Use of uninitialized value $Larch::larch_exe in concatenation (.) or string at /usr/local/lib/perl/5.18.2/Larch.pm line 288. Can't exec "-q": No such file or directory at /usr/local/lib/perl/5.18.2/Larch.pm line 288.
----------------------------------------------------------------------
This is insofar interesting as I got the same error about PDL when I tried to start dathena before I installed the pdl::stats module from cpan, that means when both, pdl and pdl::stats were installed from repositories.

Any hint would be welcome, upgrading ubuntu to a newer LTS version might be useful (It is absolutely possible that something is weird with this installation after a lot of playing around) but I am currently reluctant to do so, because it will for sure break other things...

Best regards,
Edmund
_______________________________________________
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  ------------------------------------ bra...@bnl.gov

 National Institute of Standards and Technology
 Synchrotron Science Group at NSLS-II
 Lead Beamline Scientist, 06BM (BMM)
 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/
_______________________________________________
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

Reply via email to