[Ifeffit] Re: my problem

Matt Newville newville at cars.uchicago.edu
Sat Apr 8 22:14:22 CDT 2006


Hi Paul,

On 4/8/06, Paul Fons <paul-fons at aist.go.jp> wrote:
> 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




More information about the Ifeffit mailing list