From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Derek Gatherer Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Numerical Recipes in C Date: Fri, 18 Jun 2004 13:58:36 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <5.2.1.1.1.20040618135319.02d0b2b8@udcf.gla.ac.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii X-Trace: sea.gmane.org 1087563527 12451 80.91.224.253 (18 Jun 2004 12:58:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 Jun 2004 12:58:47 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Jun 18 14:58:30 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BbIwv-0007Kv-00 for ; Fri, 18 Jun 2004 14:58:29 +0200 Original-Received: (qmail 21542 invoked by uid 5); 18 Jun 2004 12:58:18 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21527 invoked by uid 49501); 18 Jun 2004 12:58:17 -0000 Original-Received: from d.gatherer@vir.gla.ac.uk by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.86.17):SA:0(-4.9/5.0):. Processed in 1.818853 secs); 18 Jun 2004 12:58:17 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 18 Jun 2004 12:58:15 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HZI009M49D2E5@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 18 Jun 2004 08:58:15 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0HZI00J029D0YF@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 18 Jun 2004 08:58:14 -0400 (EDT) Original-Received: from lenzie.cent.gla.ac.uk (lenzie.cent.gla.ac.uk [130.209.16.18]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HZI007JK9CZBA@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 18 Jun 2004 08:58:12 -0400 (EDT) Original-Received: from avon.vir.gla.ac.uk (134pc80.vir.gla.ac.uk [130.209.134.80]) by lenzie.cent.gla.ac.uk (8.11.7/8.11.2) with ESMTP id i5ICwAa17361 for ; Fri, 18 Jun 2004 13:58:10 +0100 (BST) X-Sender: dgath001@udcf.gla.ac.uk Original-To: tru64-unix-managers@ornl.gov X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Xref: main.gmane.org gmane.os.tru64.managers:7150 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7150 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