This is one of these things I can't really take credit for. The latest version of alpha [AquaTerm v1.0.a2 (v1.0.a2)] is included in fink as well as in sourceforge (aquaterm.sourceforge.net). I used fink to build the latest version of aquaterm and appropriately modify my pgplot build (the instructions for doing the pgplot device addition are on the aquaterm homepage) and used the flag: -laquaterm . That's it! Here is the appropriate incantation from my (modified) version of Bruce's makefile [tachyon:~/Ports/horae-033] paulfons% grep -n aquaterm Makefile 40:LDDLFLAGS = -bundle -undefined dynamic_lookup -L/usr/local/lib -L/usr/local/lib -framework Foundation -laquaterm I then just set the environment variable PGPLOT_DEV to /aqt and voila, it just works. Hope this helps, Paul On 2004/04/22, at 9:10, Jeff Terry wrote:
Hi Paul,
I would like to get your makefile for use with Aquaterm, if you're willing to pass it on. I really liked Aquaterm until I got tired of not having a cursor.
Jeff
Jeff Terry Biological, Chemical, and Physical Sciences Illinois Institute of Technology Chicago IL 60616 phone 630-252-9708 fax 630-252-0358 email: terryj@iit.edu http://mrmac.mr.aps.anl.gov/~jterry/ On Apr 21, 2004, at 6:16 PM, Paul Fons wrote:
Hi Matt (Bruce),
I see what you mean. Although I use fink a lot for my own purposes, I understand your philosophy and admit it is probably correct for the average feffit/horae user. Certainly the issue where things are installed can be fixed -- or at least circumvented by either overwriting the /Applications launchers or making them applescript applications that can realize that the latest binaries are now in /usr/bin/local. I believe there is an installer for the g77 as well on the net somewhere (or at least there was for 10.2) so perhaps fink may not be necessary at all. By the way the latest version of aquaterm may be alpha, but so far in its interactions with horae (I only use it with horae), I have not had a single problem with it. What would be the next logical step to make this a reality? Should I pass along my makefile changes? If you could describe your setup (or put it into a tar archive, perhaps I could download it and help with the hacking).
Paul
On Apr 22, 2004, at 2:26 AM, Matt Newville wrote:
Hi Paul,
Just to be clear, I mean a 'Fink-friendly' installer to allow a user to run 'horae_update' if g77 works, which probably means having Fink installed. It would not use any Fink packages itself.
I believe currently, using my installation of horae, ifeffit and friends, Bruce's script works "out of the box". I have installed horae and ifeffit on a friend's machine which works nicely using the fink installed packages (but not using fink itself for the installation yet). On my own machine, I have upgraded to the latest version of perl, etc. and things are a little more complicated (but not much).
horae_update sort of works for me, but not well enough to use with the binary installer. It tries to build Ifeffit.bs, the link between perl and the ifeffit library. Currently, this gives several warnings about unneeded Framework stuff and produces a non-working Ifeffit.bs for me: This seems to be due to how ifeffit wants to link with my version of the PGPLOT library. This is solvable, but it means altering Makefile.PL (and probably re-building PGPLOT to make Makefile.PL easier). Another issue is that horae_update installs to /usr/local/bin, which means the clickable icons in /Applications/Ifeffit won't point to the updated versions. Again, that's a small Mac-specific alteration to Makefile.PL. BTW, none of this is Bruce's fault: using /Applications/Ifeffit is very Mac-specific, and horae_update expects 'normal perl on Unix' rules.
Re: Aquaterm, I'd be willing to include this (I beleive I'd also need to include Aquaterm.app in the binary installer. That's OK, but Aquaterm claims to be in alpha-phase, so might not be the best idea). I have not tried building the latest Aquaterm. I should rebuild PGPLOT anyway, so I'm willing to try this.
Finally, For what it's worth, my view is that building from source is ALWAYS better than using a binary. As an example, the current binary installer of Ifeffit for Mac only works on 10.3. The source code can be made to work on 10.2 as well, and will likely work on 10.4. Binary packages from Fink or debian do not adequately manage 'dependencies', no matter what they may claim.
--Matt
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Dr. Paul Fons Senior Researcher National Institute for Advanced Industrial Science & Technology METI Center for Applied Near-Field Optics Research (CANFOR) AIST Central 4, Higashi 1-1-1 Tsukuba, Ibaraki JAPAN 305-8568
tel. +81-298-61-5636 fax. +81-298-61-2939
email: paul-fons@aist.go.jp
The lines below are in a Japanese font
〒305−8568 茨城県つくば市東1−1−1 つくば中央第4 近接場光応用工学センター ポール・フォンス主任研究官 _______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Dr. Paul Fons Senior Researcher National Institute for Advanced Industrial Science & Technology METI Center for Applied Near-Field Optics Research (CANFOR) AIST Central 4, Higashi 1-1-1 Tsukuba, Ibaraki JAPAN 305-8568 tel. +81-298-61-5636 fax. +81-298-61-2939 email: paul-fons@aist.go.jp The lines below are in a Japanese font 〒305−8568 茨城県つくば市東1−1−1 つくば中央第4 近接場光応用工学センター ポール・フォンス主任研究官