[Ifeffit] problem on MACOSX

Matt Newville newville at cars.uchicago.edu
Thu Aug 7 09:52:36 CDT 2003


Dear Stefano,

Try these steps for installing on Mac OS X:
  tar xvzf ifeffit.tar.gz
  cd ifeffit-1.2.1/  
  sh configure --prefix=/sw --with-g77
  make
  sudo make install

That is, configure needs the '--with-g77' on Mac OS X.
Otherwise, it seems to get confused about whether to use
f2c or g77.  I'm not sure why this is, but the explicit  
'--with-g77' seems to work.

Also,the message
 ld: warning -L: directory name 
 (/sw/src/root-pgplot-5.2-5/sw/lib/pgplot) does not exist

is just a warning (and peculiar to Fink-installed PGPLOT), 
though I should fix the way the configuration tries to 
figure out how to use PGPLOT to avoid these messages.

Hope that helps,

--Matt

On Thu, 7 Aug 2003, Stefano Ciurli wrote:

> Dear all,
> when i try to compile the ifeffit program, the system does not find 
> f2c_comp and I do not know how to install it using fink.
> Then, if i substitute f2c with f77, I get the following error message:
> 
> How do I solve this?
> Regards
> Stefano Ciurli
> 
> 
> Making all in test
> gcc  -g -O2  -o ifftest1  ifftest1.o ../lib/libifeffit.a 
> -L/sw/lib/pgplot -L/sw/src/root-pgplot-5.2-5/sw/lib/pgplot -lpgplot 
> -L/sw/lib -lpng -lz -L/usr/X11R6/lib -lX11 -framework Foundation 
> -framework AppKit -lm
> ld: warning -L: directory name 
> (/sw/src/root-pgplot-5.2-5/sw/lib/pgplot) does not exist
> ld: Undefined symbols:
> _main
> _do_lio
> _e_wsle
> ....



More information about the Ifeffit mailing list