Hi Stefano,
On 4/8/06, Stefano Ciurli
OK. Now the latest horae061 package works. Artemis works. The only "strange" thing is that when I expand the 061 disk image, I get 060 as the label. Maybe it is meaningless, but anyway.
Glad to hear it finally worked!! My guess is that a leftover Receipt was preventing the installation of some of the components. Does that seem right to you? If not, can you give us an idea of what might have been the problem before (for example, was there stale stuff left under /usr/local/)? I will add the notes I sent you (also below) to the Mac section of the Wiki: http://cars9.uchicago.edu/iffwiki/IfeffitOnMacintosh If you (or Paul, or anyone else) find errors in this, or would like to add information to the wiki, please do!! --Matt PS: for the record, a more complete transaction of off-line email:
I'd recommend deleting (or moving to somewhere else) all of /Applications/Ifeffit and /Library/Perl (not /System/Library/Perl!! and note that this is assuming that you are using perl only for horae -- more below). You should also delete/move the 'Ifeffit installation receipts': In /Library/Receipts/Ifeffit-*.
Then look in /usr/local/bin and /usr/local/lib (which depending on your system may have many things or very few things in them) for anything with the name "pgplot" -- delete/move these.
Then install Ifeffit using the Installer.
OK. Now the latest horae061 package works. Artemis works. ....
Whoops, I may have forgotten to rename the disk image. It is just a cosmetic problem. At the moment there is one problem that needs to be addressed in the mac version, namely that the saving of graphics files is broken. I did recompile pgplot using the script included with the source, but something must be broken. I would love to switch to gcc4 so that I could just steal the fink maintained libpgplot and as a bonus this already incorporates aquaterm. Unfortunately, the fink version is compiled with gcc4 and ifeffit is compiled under gcc3 and the two don't mix. It would be sort of neat to move ifeffit to gcc4 to make it easier to link in with gcc4 libraries. The currently used g77 is (as far as I now) a "legacy compiler" that will never make the jump to gcc4. Right now the g95 compiler (www.g95.org) compiles pretty much everything I have thrown at it without errors and would seem to be a good choice as well. I think I can hack and half manually do the switch with a fair amount of effort, but I would hate to have to do this every time a new version of artemis came out. In any case, when I get a little more time, I will try and fix the missing graphics file write problem in the current libpgplot. It would be neat to even include aquaterm in doing so. Paul On Apr 8, 2006, at 4:10 PM, Matt Newville wrote:
Hi Stefano,
On 4/8/06, Stefano Ciurli
wrote: OK. Now the latest horae061 package works. Artemis works. The only "strange" thing is that when I expand the 061 disk image, I get 060 as the label. Maybe it is meaningless, but anyway.
Glad to hear it finally worked!! My guess is that a leftover Receipt was preventing the installation of some of the components. Does that seem right to you? If not, can you give us an idea of what might have been the problem before (for example, was there stale stuff left under /usr/local/)?
I will add the notes I sent you (also below) to the Mac section of the Wiki: http://cars9.uchicago.edu/iffwiki/IfeffitOnMacintosh
If you (or Paul, or anyone else) find errors in this, or would like to add information to the wiki, please do!!
--Matt
PS: for the record, a more complete transaction of off-line email:
I'd recommend deleting (or moving to somewhere else) all of /Applications/Ifeffit and /Library/Perl (not /System/Library/Perl!! and note that this is assuming that you are using perl only for horae -- more below). You should also delete/move the 'Ifeffit installation receipts': In /Library/Receipts/Ifeffit-*.
Then look in /usr/local/bin and /usr/local/lib (which depending on your system may have many things or very few things in them) for anything with the name "pgplot" -- delete/move these.
Then install Ifeffit using the Installer.
OK. Now the latest horae061 package works. Artemis works. ....
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Hi Paul,
On 4/8/06, Paul Fons
Whoops, I may have forgotten to rename the disk image. It is just a cosmetic problem.
Could that mess up the Receipt? I doubt it, but I'm not sure. It would be nice if there was an option to 'absolutely install every file in this installer'.
At the moment there is one problem that needs to be addressed in the mac version, namely that the saving of graphics files is broken. I did recompile pgplot using the script included with the source, but something must be broken. I would love to switch to gcc4 so that I could just steal the fink maintained libpgplot and as a bonus this already incorporates aquaterm. Unfortunately, the fink version is compiled with gcc4 and ifeffit is compiled under gcc3 and the two don't mix. It would be sort of neat to move ifeffit to gcc4 to make it easier to link in with gcc4 libraries. The currently used g77 is (as far as I now) a "legacy compiler" that will never make the jump to gcc4. Right now the g95 compiler (www.g95.org) compiles pretty much everything I have thrown at it without errors and would seem to be a good choice as well. I think I can hack and half manually do the switch with a fair amount of effort, but I would hate to have to do this every time a new version of artemis came out. In any case, when I get a little more time, I will try and fix the missing graphics file write problem in the current libpgplot. It would be neat to even include aquaterm in doing so.
Uhm, OK ... that doesn't seem like it would make life easier.... To be honest, I'm having a hard time seeing how all those topics are related to one another. Is PGPLOT having a PNG device related to which version of gcc is used? I doubt it has anything to do with g95 vs. gfortran. I also doubt that 'stealing the Fink libpgplot' is what we want (that is, we want to avoid requiring Fink, and Fink uses a lot of internally-consistent but hard-to-isolate dependencies on dynamic libraries). For PGPLOT on OS X, I just built static versions of libpng and libz from source, renamed these to libpng_iff.a and libz_iff.a, and then built libpgplot.a with those (and then renamed that libpgplot_iff.a) and built ifeffit with those '_iff' named libraries to avoid any possibility of finding dynamic libraries. Perhaps this needs to be redone with gcc4 (and perhaps it could use aquaterm), but I'd strongly suggest avoiding too many dynamic libraries. --Matt
Horae was making zero length files when asked to save graphics info. This was due to a broken build of pgplot (there are issues with the source as downloaded). I fixed the problems and have rebuilt the latest mac version of horae and included it in the file: ifeffit-1.2.8-Mac10.4_horae61a_pkg.dmg which is available for download from sourceforge.net as of now. It works for me anyway I should say! Let me know of any problems. A functional X11 (free on the 10.4 installation disks) is required for horae to work.
Hi Paul,
Horae was making zero length files when asked to save graphics info. This was due to a broken build of pgplot (there are issues with the source as downloaded). I fixed the problems and have rebuilt the latest mac version of horae and included it in the file: ifeffit-1.2.8-Mac10.4_horae61a_pkg.dmg which is available for download from sourceforge.net as of now. It works for me anyway I should say! Let me know of any problems. A functional X11 (free on the 10.4 installation disks) is required for horae to work.
aha! Then there WAS a problem. I was afraid it was my system for some reason. The new version now runs smoothly for me. Stefano PS: considering that I had to look very carefully in order to find this new version, I enclose here the link to it: http://sourceforge.net/project/showfiles.php?group_id=80919 -- ____________________________________________ Stefano Ciurli Professor of Chemistry Laboratory of Bioinorganic Chemistry Department of Agro-Environmental Science and Technology University of Bologna Viale Giuseppe Fanin, 40 I-40127 Bologna Italy Phone: +39-051-209-6204 Fax: +39-051-209-6203 "Fatti non foste a viver come bruti, ma per seguir virtute e canoscenza" Dante Alighieri - Inferno - Canto XXVI "Ihr seid bestimmt, nicht Tieren gleich zu leben, Nein, Tugend zu erringen und Erkenntnis" "Ye were not form'd to live the life of brutes, But virtue to pursue and knowledge high"
Hmm. Matt, is the link on the ifeffit home page that points to the installer pointing to the correct version (the current version of the mac installer has the horae version incorporated into its name and changes every horae release). Paul On Apr 11, 2006, at 4:01 AM, Stefano Ciurli wrote:
Hi Paul,
Horae was making zero length files when asked to save graphics info. This was due to a broken build of pgplot (there are issues with the source as downloaded). I fixed the problems and have rebuilt the latest mac version of horae and included it in the file: ifeffit-1.2.8-Mac10.4_horae61a_pkg.dmg which is available for download from sourceforge.net as of now. It works for me anyway I should say! Let me know of any problems. A functional X11 (free on the 10.4 installation disks) is required for horae to work.
aha! Then there WAS a problem. I was afraid it was my system for some reason. The new version now runs smoothly for me. Stefano
PS: considering that I had to look very carefully in order to find this new version, I enclose here the link to it: http://sourceforge.net/project/showfiles.php?group_id=80919 -- ____________________________________________
participants (3)
-
Matt Newville
-
Paul Fons
-
Stefano Ciurli