On Sun, Jun 10, 2001 at 11:29:36PM -0700, Jeshua Lacock wrote:
Ok,
I successfully built and installed postgresql 7.1 here in Mac OS X
land. When I attempt to compile grass.postgresql, it appears it can't
find a header or something.
You're missing the linker flag for PostgreSQL's libpq (-lpq). I don't
see the include path either (probably -I/usr/local/pgsql/include). Did
you have 7.1 installed when you ran the configure script? If so, did
you make sure config.cache was removed first (or you started with clean
grass source directory)? Looks like the headers are being found, but
just the link flag is missing (-lpq).
--
Eric G. Miller <egm2@jps.net>
From neteler Mon Jun 11 10:04:50 2001
Return-Path: <neteler>
Received: by hgeo02.geog.uni-hannover.de (SMI-8.6/SMI-SVR4)
id KAA21382; Mon, 11 Jun 2001 10:04:50 +0100
Date: Mon, 11 Jun 2001 10:04:50 +0100
From: Markus Neteler <neteler@geog.uni-hannover.de>
To: grass5@geog.uni-hannover.de
Subject: Re: [GRASS5] Darwin r.fill.dir
Message-ID: <20010611100450.D15422@hgeo02.geog.uni-hannover.de>
Mail-Followup-To: grass5@geog.uni-hannover.de
References: <200106110232.TAA27234@snipe.mail.pas.earthlink.net> <3B243A52.BF32B7C1@hpcc.nectec.or.th>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B243A52.BF32B7C1@hpcc.nectec.or.th>; from jhickey@hpcc.nectec.or.th on Mon, Jun 11, 2001 at 10:26:10AM +0700
Sender: grass5-admin@geog.uni-hannover.de
Errors-To: grass5-admin@geog.uni-hannover.de
X-BeenThere: grass5@geog.uni-hannover.de
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:grass5-request@geog.uni-hannover.de?subject=help>
List-Post: <mailto:grass5@geog.uni-hannover.de>
List-Subscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5>,
<mailto:grass5-request@geog.uni-hannover.de?subject=subscribe>
List-Id: GRASS 5 Developers mailing list <grass5.geog.uni-hannover.de>
List-Unsubscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5>,
<mailto:grass5-request@geog.uni-hannover.de?subject=unsubscribe>
List-Archive: <http://www.geog.uni-hannover.de/pipermail/grass5/>
Status: O
Content-Length: 832
Lines: 28
Hi all,
On Mon, Jun 11, 2001 at 10:26:10AM +0700, Justin Hickey wrote:
Hi Jeshua
Jeshua Lacock wrote:
> It appears to me a limitation of the math.h file installed with
> Darwin.
>
> MAXDOUBLE is not defined, however there there is a MAXFLOAT defined.
> Would it be safe to assign the same vaule to MAXDOUBLE?
>
> Additionally, MINFLOAT and MINDOUBLE have not been defined. Is there
> a value that I could assign them?
Since the math library is not part of the standard C library I would
suggest that these constants be changed to those in float.h which is
part of the standard library.
Namely, DBL_MAX, DBL_MIN, FLT_MAX, and FLT_MIN would probably be better
choices.
In CVS I have already changed these entries last week. So the current
r.fill.dir should compile well.
Cheers
Markus