SUMMARY: Numerical Recipes in C

From: Derek Gatherer (d.gatherer@vir.gla.ac.uk)
Date: Fri Jun 18 2004 - 08:58:36 EDT


Thanks to Tim Cutts, Thomas Blinn and Fred van Kempen for almost
instantaneous replies.

The problem sees to be that the way the thing untars, the makefiles sit in
a directory in which their relative path is not correct vis-a-vis the
bin. There is probably a 'proper' way to edit the makefiles to take
account of this. However the quick hack is:

#mkdir installdir
#cp gnumakefile installdir
#cd installdir
#/usr/local/bin/gnumake

[snip]

(cd $library && /bin/make install "LIBDIR = /usr/local/lib" "FC = f77"
"CCKR = cc" "CCANSI = /usr/local/bin/gcc" "FFLAGS = -D_ANSI_C_SOURCE"
"CFLAGSANSI = -D_ANSI_C_SOURCE
-I/yd2/gath01d/downloads/recipes/recipes_c-ansi/include" "CFLAGSKR =
-D_ANSI_C_SOURCE -I/yd2/gath01d/downloads/recipes/recipes_c-ansi/include"
"FBIN = ../bin" "CBIN = ../bin" "FLIB = librecipes_f.a" "CANSILIB =
librecipes_c.a" "CKRLIB = librecipes_ckr.a" "RANLIB = /bin/ar -ts" "AR =
/bin/ar" "ARFLAGS = crv" "SHELL = /bin/sh"); done; done

and that's it without errors.

Thanks again for all assistance
Cheers
Derek
_________________________

Derek Gatherer Ph.D. Cert.Ed.
Computer Officer
Institute of Virology
Church St.
Glasgow G11 5JR

Phone: +44 141 330 6268
Fax: +44 141 337 2236
Email: d.gatherer@vir.gla.ac.uk
Website: http://www.vir.gla.ac.uk



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:01 EDT