Re: [Ifeffit] Using Ifeffit in Perl

2009-08-24 Thread bravel
Jan,

Are you using Strawberry or ActiveState?

B
--Original Message--
From: Jan Stoetzel
Sender: ifeffit-boun...@millenia.cars.aps.anl.gov
To: ifeffit@millenia.cars.aps.anl.gov
ReplyTo: XAFS Analysis using Ifeffit
Subject: [Ifeffit] Using Ifeffit in Perl
Sent: Aug 24, 2009 9:25 AM

Hi,

I have a little problem, probably/hopefully not so complicated:

I want to include the Ifeffit functions in my Perl scripts which I  
want to use in Windows XP via the cmd.exe. So I installed Ifeffit with  
the Windows Installer, found some ifeffit.pm module and included it  
somewhere in the @inc folders. Now, if I call use Ifeffit in my  
scripts it doesn´t work with the message:
Can´t locate loadable object for module Ifeffit in @INC...  
Compilation failed.

Any idea of what is going wrong here? Some precompilation necessary?

Thanks,

Jan

-- 
Dipl.-Phys. Jan Stötzel
Fachbereich C / Physik, Bergische Universität Wuppertal
Gaußstr. 20, D-42097 Wuppertal, Germany

E-mail: j.stoet...@uni-wuppertal.de
phone: +49 202 439-3105, fax: -3101, secretary: -3102
http://hydrogen.physik.uni-wuppertal.de/index.html


___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


Sent on the Now Network� from my Sprint® BlackBerry

___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit


Re: [Ifeffit] Using Ifeffit in Perl

2009-08-24 Thread Matt Newville
Hi Jan,

You probably need to install the entire Ifeffit perl module (not just
Ifeffit.pm) which should be in a zip file in C:\Program
Files\Ifeffit\build\wrappers\perl

I think you have to unzip this into C:\Perl\,  but I'm away from a
machine I can test this on right now (hopefully someone will correct
me if I'm wrong).Before launching your perl script, you should
also run the batch file C:\Program Files\bin\use_ifeffit.bat  or put
the Environmental Variables listed there in your System Settings.

Hope that works for you -- let us know if it doesn't.

--Matt
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit