Re: config

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Michael Engelhart <mengelhart(at)earthtrip(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: config
Date: 2000-10-14 16:19:59
Message-ID: Pine.LNX.4.21.0010141813370.1423-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Engelhart writes:

> ./configure --with-template=freebsd

FWIW, you should probably start with "netbsd" rather than "freebsd"
because the FreeBSD code might be rather surprised at finding itself
running on a PPC. (But then again, the *bsd codes are mostly the same
anyway.)

> Did a make and started to build. During the build, there were a ton of messages of this type:
> ../../../../src/include/catalog/pg_type.h:414: stray '\' in program

Oh man, they didn't take that old NeXTstep C preprocessor for MacOS X? ;-)

> cc -c -I../../../src/include -O0 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -o dynloader.o dynloader.c
> dynloader.c:42: header file 'link.h' not found
> dynloader.c:43: header file 'dlfcn.h' not found
> ../../../src/include/dynloader.h:19: header file 'link.h' not found
> make[3]: *** [dynloader.o] Error 1
> make[2]: *** [port-recursive] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2

The MacOS X dynloader seems to be somewhat different than FreeBSD's. Try
NetBSD's, or if all fails you can copy over the QNX dynloader files.
That platform doesn't support dynamic loading at all (actually, I think it
does now, but we haven't gotten around to supporting it) so the stub files
should get you to compile at least.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

  • Re: config at 2000-10-14 05:43:33 from Michael Engelhart

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-10-14 16:21:32 Re: How does TOAST compare to other databases' mechanisms?
Previous Message Stephan Szabo 2000-10-14 15:50:21 Re: Not null contraints