Re: [Ifeffit] XasPerlBundle problems
Hi Matt,
Thanks for the suggestion. I tried removing the file
/usr/lib/perl5/5.10.X/CPAN/Config.pm, but no luck. Finally, I wrote my own
bash script which just went through each of the modules listed in
XasPerlBundle.pm and did
cpan -i $module
This seems to have worked fine, although I only tested startup of
artemis/athena.
Cheers,
Josh Kas
On Mon, Sep 20, 2010 at 10:00 AM, wrote: Send Ifeffit mailing list submissions to
ifeffit@millenia.cars.aps.anl.gov To subscribe or unsubscribe via the World Wide Web, visit
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
or, via email, send a message with subject or body 'help' to
ifeffit-request@millenia.cars.aps.anl.gov You can reach the person managing the list at
ifeffit-owner@millenia.cars.aps.anl.gov When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ifeffit digest..." Today's Topics: 1. iXAFS 3.0.3 for Mac OS X (Matt Newville)
2. Re: XasPerlBundle problems (Matt Newville) ---------------------------------------------------------------------- Message: 1
Date: Sun, 19 Sep 2010 12:46:31 -0500
From: Matt Newville Hi All, OK, sorry for the delay, but I think that
http://cars9.uchicago.edu/~ifeffit/src/iXAFS3.0.3.dmghttp://cars9.uchicago.edu/%7Eifeffit/src/iXAFS3.0.3.dmg should now work well for both Mac OS X 10.6 and 10.5. That is, all
the applications launch for me on a 10.6.5 machine and a 10.5.8
machine, and seem to work as expected. I'll try this on a PowerPC
machine within the next couple days. I didn't include the Python module in this installer (I forgot), but put it
at
http://cars9.uchicago.edu/~ifeffit/src/IfeffitPython-2.0.1.tar.gzhttp://cars9.uchicago.edu/%7Eifeffit/src/IfeffitPython-2.0.1.tar.gz This *should* work now, but then I thought the last one was going to
work too. It might be best to run this through the Ifeffit Shell, or
to be extra careful in setting the environment to source the
/..../iXAFS.app/Contents/Resources/local/bin/iff_init.sh As always, any feedback on what works and what doesn't would be
greatly appreciated. Cheers, --Matt ------------------------------ Message: 2
Date: Sun, 19 Sep 2010 19:58:04 -0500
From: Matt Newville Content-Type: text/plain; charset=ISO-8859-1 Hi Josh, Hi Matt,
Thanks for the quick response. I did run the command from within the
horae
install directory, and the file XasPerlBundle.pm is in the Bundle
directory,
i.e., verrocchio.phys #] pwd
/tmp/horae-070
verrocchio.phys #] ls
. Bundle INSTALL aug build_private libperlxray
.. CPAN INSTALL_not_root build horae
verrocchio.phys #] ls Bundle/
. .. XasPerlBundle.pm
verrocchio.phys #] perl -MCPAN -e'install Bundle::XasPerlBundle'
CPAN: Storable loaded ok
Going to read /CPAN/Metadata
Database was generated on Fri, 17 Sep 2010 18:28:36 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
http://www.perl.com/CPAN/authors/01mailrc.txt.gz
Going to read /CPAN/source/authors/01mailrc.txt.gz
Fetching with LWP:
http://www.perl.com/CPAN/modules/02packages.details.txt.gz
Going to read /CPAN/source/modules/02packages.details.txt.gz
Database was generated on Sat, 18 Sep 2010 17:59:57 GMT There's a new CPAN.pm version (v1.9402) available!
[Current version is v1.7602]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running... Fetching with LWP:
http://www.perl.com/CPAN/modules/03modlist.data.gz
Going to read /CPAN/source/modules/03modlist.data.gz
Going to write /CPAN/Metadata
Warning: Cannot install Bundle::XasPerlBundle, don't know what it is.
Try the command i /Bundle::XasPerlBundle/ to find objects with matching identifiers. I had similar troubles on Mac OS X, I think possibly due to a bad
CPAN/Config.pm file (that is, /usr/lib/perl5/5.10.X/CPAN/Config.pm).
Among other things, I was also seeing CPAN trying to use /CPAN/ as its
root directory -- that can't be very good. I think this could be related to the MyConfig.pm in Bruce's
distribution, which has
'cpan_home' => File::Spec->catfile($ENV{__INSTALLING_BRPERL}, "CPAN"), but I haven't tested this carefully. Anyway, I would suggest blowing away the CPAN/CONFIG.pm file and
starting over. I think that will use a '.cpan' folder in your home
directory for CPAN stuff, and that might fix it. If that doesn't help, hopefully Bruce will have more insight. --Matt ------------------------------ _______________________________________________
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit End of Ifeffit Digest, Vol 91, Issue 23
***************************************
participants (1)
-
Joshua Kas