[Ifeffit] new Debian packages of horae-033

Bruce Ravel ravel at phys.washington.edu
Wed Apr 14 09:35:43 CDT 2004


On Wednesday 14 April 2004 08:57 am, mauro at rulp.org wrote:
> According to the Debian official guidelines, I install software not
> included in the official distribution in the directory
> "/usr/local". The package install itself in the "/usr/share". This
> made problems with the previous installed horae-* because the
> Perl-Ifeffit libraries were installed in "/usr/local/lib". The rude
> solution is simply renaming the old "Paths.pm" and "Group.pm" (in
> *.old).

The issue of where the library location when building from source or
installing from a package is solvable without too much pain.  In the
source code tarball there is a file called `private_install' which I
use to install the software into my own user space on my computers.
All it is a shell script wrapper around the "make install" command
with a bunch of environment variables set appropriate to the task of
installing into user space.

You could modify that script easily enough to install in places
concurrent with the Debian guidelines.  It's well commented and easy
enough to understand.

> Hephaestus doesn't start. It gives me the following error:
>
>            Name "Ifeffit::Tools::libdir" used only once: possible typo at
>            /usr/bin/hephaestus line 97. Cannot open
> '/hephaestus/vulcan.gif' in mode 'r' at /usr/lib/perl5/Tk/Image.pm line 21.

This is weird.  That doesn't happen for me or for several other linux
users who have tried Hephaestus so far and I am kind of baffled how it
can be a problem for Hephaestus but not the other two programs.

My suspicion is that you are still seeing the conflict you described
in your message about the different installation locations.  That is,
I think you have a Tools.pm file from some prior installation lying
around that is being found by perl before the one from Carlo's latest
debian package.

Try this.  At the command line do "locate Tools.pm".  Note all the
locations that it finds and note which one is the one from Carlo's
package.  Try removing all the ones other than the one from Carlo's
package and try running Hephaestus again.

If that still doesn't work, there is more troubleshooting we can try.  

B

P.S. The correct Tool.pm file is the one with the version number 033
     near line 70.


-- 
 Bruce Ravel  ----------------------------------- ravel at phys.washington.edu
 Code 6134, Building 3, Room 405
 Naval Research Laboratory                          phone: (1) 202 767 2268
 Washington DC 20375, USA                             fax: (1) 202 767 4642

 NRL Synchrotron Radiation Consortium (NRL-SRC)
 Beamlines X11a, X11b, X23b
 National Synchrotron Light Source
 Brookhaven National Laboratory, Upton, NY 11973

 My homepage:    http://feff.phys.washington.edu/~ravel 
 EXAFS software: http://feff.phys.washington.edu/~ravel/software/exafs/





More information about the Ifeffit mailing list