Rene,
Support for the software is done via the Ifeffit Mailing List. This
and all other questions should be asked in that forum.
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
please note that I am CCing my answer to the mailing list. All
follow-up discussion should be on the mailing list rather than by
responding to me directly.
Regarding the problem with png files and PGPLOT, the solution of
installing libpng12-devel is the much better solution.
Regarding the problem compiling the file decod.f, I am going to blame
Matt for that one. It seems he made a change to that file in August
of 2012 (which is more recently than the last time I did a "git
pull" on ifeffit!)
Pulling and attempting to rebuild, I get the same result. Fixing the
problem required editing the file encod.h to define the missing symbol
"jtait". I just forked ifeffit, fixed the problem, and sent Matt a
pull request. Here it is:
https://github.com/newville/ifeffit/pull/4
If you follow the little link that says "97f6458", you'll see the
diff. If you make the edit yourself, you should be able to finish
compilation. Or wait for Matt to merge the pull request, do a git
pull, then finish building.
Regards,
B
-------- Original Message --------
Subject: problem compiling ifeffit
Date: Thu, 31 Oct 2013 17:36:24 +0100
From: René Genz
Hi Rene, Bruce, I pulled this merge request. With the fixed code, I verified on Fedora 15 x86_64 that I could install PGPLOT and ifeffit with sudo sh ./PGPLOT_install ./configure make sudo make install This is with gcc 4-6 series for x86_64. That is, I think this should work for you now. Sorry for the trouble, --Matt
Hi Matt, hi Bruce, no need to point fingers and it was no trouble for me. Thanks for fixing the problem so fast :) I am sorry for spamming you Bruce. I wrote to you directly, because I followed the "BUGS AND LIMITATIONS" paragraph at http://bruceravel.github.io/demeter/pods/installation.pod.html#BUGS_AND_LIMI... Today, I gave the installation of Demeter on Fedora 18 x86_64 another try and at the end of the process (including hacks) I could start dathena and other programs of Demeter. Though no data processing done, yet. Some more notes/questions. ### ifeffit I noticed that there is PGPlot package in RPMFusion (additional repository to Fedora). Can I use this package and skip the ./PGPLOT_install step or shall I shun the package? If you have no experience with this package I can give it a try on Fedora 18 x86_64. Due to the more recent version of libpng on Fedora 18 I had to use ./PGPLOT_install --no-png otherwise I would get major problems during compilation of ifeffit/demeter (wxGTK does not cope with libpng12-devel; removing libpng would remove a lot of other programs as well). The output of ./configure still contains: "./configure: line 3355: #include: command not found" but this is only a minor problem. ### demeter With the latest version of the Demeter git repo there is an error in the output of $ perl ./Build.PL on line 40 of demeter/Build.PL MooseX::Types:LaxNum cannot be replaced with MooseX::Types::LaxNum to fix the problem. At least it did not work out for me. If you do that you will get the following output: $ perl ./Build.PL Checking prerequisites... requires: ! Couldn't find a $VERSION in prerequisite MooseX::Types::LaxNum So I installed the perl package manually $ sudo cpan -i 'MooseX::Types:LaxNum' and commented line 40 in demeter/Build.PL in order to continue. In the output of $ ./Build test several lines point out that "1.14_01 isn't numeric in numeric ge (>=) at (eval 1820 line 1)". And the final summary is: ---8<--- Test Summary Report: Failed 2/44 test programs. 0/2646 subtests failed. ---8<--- I will try the installation on Ubuntu 12.04 i686 in order to find out if some test programs fail there as well. Although the return code was non-zero (255 that is) I continued with $ ./Build install $ echo $? 0 and it worked out just fine. dartemis and dathena could be started. Unfortunately I close the terminal window before creating a log. I will redo the installation of Demeter on Fedora 18 x86_64 in order to automate the installation for reuse. In the process I can create logs as required. -- Kind regards, René
On 11/05/2013 05:31 PM, René Genz wrote:
I wrote to you directly, because I followed the "BUGS AND LIMITATIONS" paragraph at http://bruceravel.github.io/demeter/pods/installation.pod.html#BUGS_AND_LIMI...
Rene, Thanks. I corrected this pervasive documentation bug and pushed it to both github and the documentation website. I also addressed some of the other issues in your email -- mostly having to do with a dumb typo in Build.PL. Also pushed to github. Currently all the tests pass on the computer I am sitting at (Ubuntu 13.04). B -- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2 Building 535A Upton NY, 11973 Homepage: http://xafs.org/BruceRavel Software: https://github.com/bruceravel
Hi Bruce, hi Matt, I can confirm that all installation steps work fine on Fedora 18 x86_64. As mentioned before I sticked to ./PGPLOT_install --no-png at ifeffit installation due to more recent version of libpng on Fedora 18. Thanks a lot for the quick fixes :) -- Kind regards, René
Hi Matt, hi Bruce, no need to point fingers and it was no trouble for me. Thanks for fixing the problem so fast :) I am sorry for spamming you Bruce. I wrote to you directly, because I followed the "BUGS AND LIMITATIONS" paragraph at http://bruceravel.github.io/demeter/pods/installation.pod.html#BUGS_AND_LIMI... Today, I gave the installation of Demeter on Fedora 18 x86_64 another try and at the end of the process (including hacks) I could start dathena and other programs of Demeter. Though no data processing done, yet. Some more notes/questions. ### ifeffit I noticed that there is PGPlot package in RPMFusion (additional repository to Fedora). Can I use this package and skip the ./PGPLOT_install step or shall I shun the package? If you have no experience with this package I can give it a try on Fedora 18 x86_64. Due to the more recent version of libpng on Fedora 18 I had to use ./PGPLOT_install --no-png otherwise I would get major problems during compilation of ifeffit/demeter (wxGTK does not cope with libpng12-devel; removing libpng would remove a lot of other programs as well). The output of ./configure still contains: "./configure: line 3355: #include: command not found" but this is only a minor problem. ### demeter With the latest version of the Demeter git repo there is an error in the output of $ perl ./Build.PL on line 40 of demeter/Build.PL MooseX::Types:LaxNum cannot be replaced with MooseX::Types::LaxNum to fix the problem. At least it did not work out for me. If you do that you will get the following output: $ perl ./Build.PL Checking prerequisites... requires: ! Couldn't find a $VERSION in prerequisite MooseX::Types::LaxNum So I installed the perl package manually $ sudo cpan -i 'MooseX::Types:LaxNum' and commented line 40 in demeter/Build.PL in order to continue. In the output of $ ./Build test several lines point out that "1.14_01 isn't numeric in numeric ge (>=) at (eval 1820 line 1)". And the final summary is: ---8<--- Test Summary Report: Failed 2/44 test programs. 0/2646 subtests failed. ---8<--- I will try the installation on Ubuntu 12.04 i686 in order to find out if some test programs fail there as well. Although the return code was non-zero (255 that is) I continued with $ ./Build install $ echo $? 0 and it worked out just fine. dartemis and dathena could be started. Unfortunately I close the terminal window before creating a log. I will redo the installation of Demeter on Fedora 18 x86_64 in order to automate the installation for reuse. In the process I can create logs as required. -- Kind regards, René
participants (3)
-
Bruce Ravel
-
Matt Newville
-
René Genz