Hi I fear it doesn't work for me. I have untared the Horae-045.tar file in the Ifeffit directory. And when I type 'perl Makefile.PL', the installation script crashes and says 'Could not open /config/Config.mak file for reading'. The Greek gods may not be with me! I'll wait for the next tarball... Thanks a lot in adavance! David
-----Message d'origine----- De : ifeffit-bounces@millenia.cars.aps.anl.gov [mailto:ifeffit- bounces@millenia.cars.aps.anl.gov] De la part de Bruce Ravel Envoyé : mercredi 13 octobre 2004 19:23 À : XAFS Analysis using Ifeffit Objet : Re: [Ifeffit] Is artemis running on G5 Mac,
On Wednesday 13 October 2004 12:49 pm, Matt Newville wrote:
Hi,
OK, I agree that a simple 'horae_update' also did not work to update thes for me. It appears that the new codes are built but not installed. This definitely did work for me: tar xvzf horae-045.tar.gz cd horae-045 perl Makefile.PL make sudo make install
I believe that 'sudo horae_update' will also work.
--Matt
PS: Oddly, without the 'sudo', horae_update did not give a warning about installing as root. I got largely the same log file as Stefano, and also got this on the screen:
print() on closed filehandle OUT at /Applications/Ifeffit/bin/horae_update line 263.
perhaps this is printed to STDERR not STDOUT?? it's not in horae_update.log. Anyway, this is where the warning about trying to install as someone other than root is.
The horae_update could probably use other improvements, as horae_update --force --file=horae-045.tar.gz
still attempts to download the tarball, requires it to be named 'horae-045.tar.gz' and then deletes it.
What you said is exactly right. There was a problem that had horae_update complain about a closed file handle and exit just before doing the "make install" step. I think I fixed it and asked Stefano to give it a try.
I'll post a fix tomorrow (I hope) and the fix will be included in the next tarball.
B
-- Bruce Ravel ----------------------------------- ravel@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/
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
On Thu, 14 Oct 2004, POGER David 202545 wrote:
I fear it doesn't work for me. I have untared the Horae-045.tar file in the Ifeffit directory. And when I type 'perl Makefile.PL', the installation script crashes and says 'Could not open /config/Config.mak file for reading'. The Greek gods may not be with me! I'll wait for the next tarball... Thanks a lot in adavance!
This is probably still an issue with permissions, but I'm not sure what you did exactly. It sounds like you tried to run horae_update in the Applications/Ifeffit directory. If so, this probably won't work, as you probably do NOT have write permissions to the /Applications/Ifeffit directory, and horae_update creates a folder (horae-045) to build the code it will install. Let me be more specific. Sorry if most of this is obvious! 1. Open a Terminal 2. move to your home directory: Type 'cd'. 3. run horae_update with permission to write to the /Library/Perl and /Applications/Ifeffit. Type 'sudo horae_update'. When prompted for a password, type the password for your user account (that is, the same one you logged in as). 4. If you get a message that says 'command not found', then read the message. a) if the message begins 'bash: ... command not found' then type '. /Applications/Ifeffit/bin/iff_init.sh' Yes, that's a '.' followed by a space. b) if the message begins 'tcsh: ... command not found' then type 'source /Applications/Ifeffit/bin/iff_init.csh' Then do 'sudo horae_udate' again. If you already have the horae-045.tar.gz file, 'sudo horae_update' is exactly the same as: tar xvzf horae-045.tar.gz cd horae-045 perl Makefile.PL sudo make install Once the installation is successful, you can remove the 'horae-045' folder. --Matt
participants (2)
-
Matt Newville
-
POGER David 202545