[Ifeffit] How to install Demeter on ubuntu 18.04

Ravel, Bruce bravel at bnl.gov
Mon Jul 8 07:57:07 CDT 2019


William,

I'm a bit confused by the information you've given, but it seems that 
the installation location of Athena is not in perl's path.

Try this:

At the command line type

     export PERL5LIB=/home/opd30/demeter

Then perl should find the "missing" module.  If that does the trick on 
your machine, you can set that environment variable in your ~/.bashrc 
file (or the start-up file for whatever shell you actually use).

More information: 
https://perlmaven.com/how-to-change-inc-to-find-perl-modules-in-non-standard-locations

HTH,
B



On 7/3/19 9:36 AM, William Del Net wrote:
> Dear people
> I tried to install demeter on computer with ubuntu 18.04.
> I ve found the Deavd Hughes guide to demeter installation on Ubuntu 12.04
> 
> There are some differencies and I tried to follow everything. Well, 
> everything seem to be installed, but when I run dathena, i have the 
> following error message
> opd30 at joconde:~/demeter$ ./bin/dathena
> Can't locate Demeter/Here.pm in @INC (you may need to install the 
> Demeter::Here module) (@INC contains: 
> /home/opd30/perl5/lib/perl5/5.26.1/x86_64-linux-gnu-thread-multi 
> /home/opd30/perl5/lib/perl5/5.26.1 
> /home/opd30/perl5/lib/perl5/x86_64-linux-gnu-thread-multi 
> /home/opd30/perl5/lib/perl5 /etc/perl 
> /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 
> /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 
> /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 
> /home/opd30/perl5/lib/perl5/5.26.0 
> /home/opd30/perl5/lib/perl5/5.26.0/x86_64-linux-gnu-thread-multi 
> /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at 
> ./bin/dathena line 7.
> BEGIN failed--compilation aborted at ./bin/dathena line 7.
> 
> Here.pm is located in~/demeter/lib/Demeter. And yes, it's not in @INC.
> My home directory is /home/opd30
> 
> 
> Do you have a solution, or a guide to install properly demeter on Ubuntu 
> 18.04
> Thanks a lot
> william
> 
> -- 
> 
>>
> DEL NET William
> ESRF  CRG-FAME
> 71 avenue des Martyrs
> F-38043 GRENOBLE CEDEX 9
> 
> tel: +33 4 76 88 25 46
> 
> fax: +33 4 76 88 27 43
> 
> 
> _______________________________________________
> Ifeffit mailing list
> Ifeffit at 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 at bnl.gov

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



More information about the Ifeffit mailing list