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 _s_cmp _s_copy _s_stop _s_wsle _do_fio _e_rsfi _e_wsfi _i_indx _s_cat _s_rsfi _s_wsfi _e_wsfe _s_wsfe _G77_getenv_0 _f_inqu _e_rsfe _s_rsfe _z_exp _f_clos _f_open _e_rsle _s_rsle _z_sqrt _do_uio _e_rsue _s_rsue make[3]: *** [ifftest1] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 -- ____________________________________________ Stefano Ciurli Professor of Chemistry Department of Agro-Environmental Science and Technology University of Bologna Via Fanin 40 I-40127 Bologna Italy Phone: +39-051-209-6204 Fax: +39-051-209-6203
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 ....
participants (2)
-
Matt Newville
-
Stefano Ciurli