Skip site navigation (1) Skip section navigation (2)

Re: Error compiling 7.1 on Caldera OpenLinux

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Bruce MacKay <bmackay(at)calderasystems(dot)com>
Cc: jerry(at)calderasystems(dot)com, pgsql-ports(at)postgresql(dot)org
Subject: Re: Error compiling 7.1 on Caldera OpenLinux
Date: 2001-04-22 03:32:04
Message-ID: 3AE250B4.4D478E7A@wgcr.org (view raw or flat)
Thread:
Lists: pgsql-ports
Bruce MacKay wrote:
> 
> Hi folks:
> 
> I'm a trainer at Caldera and wanted to use pgsql for a project I've been
> 
> assigned to.
> 
> However I'm having compile problems with 7.1, getting the following
> errors.  I tried three different sets of sources, one labeled as 7.1,
> another as 7.1-base, and yet another as 7.1rc4.
> All three have the same problem.  I could understand if it couldn't find
> 
> a lib, or complained about a data type, but this seems to be more of a
> syntax problem.
> 
> I don't have time to try to debug pgsql sources.  I'm hoping you might
> point out something obvious which I'm missing.
> 
> For reference, here's the info on the kernel and from gcc and make on my
> 
> system.
> 
> Linux version 2.2.14 (root(at)sb(dot)calderalabs(dot)com) (gcc version egcs-2.91.66
> 
> 19990314 (egcs-1.1.2 release)) #1 SMP Mon Dec 18 14:56:14 MST 2000
> 
> [root(at)bait postgresql-7.1rc4]# gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
> [root(at)bait postgresql-7.1rc4]# make --version
> make: getcwd: : No such file or directory
> GNU Make version 3.77, by Richard Stallman and Roland McGrath.

FWIW, with Red Hat 6.2, on which I have successfully built RPM's:
---------------------------
[lowen(at)utility lowen]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
[lowen(at)utility lowen]$ make --version
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for i386-redhat-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make(at)gnu(dot)org>.

[lowen(at)utility lowen]$
-----------------------------
 
> Here's the tail end of the output from make:
 
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../src/interfaces/libpq -I../../../src/include   -c
> pg_backup_custom.c -o pg_backup_custom.o
> pg_backup_custom.c:80: parse error before `z_streamp'

I've never seen this error before on RH6.2, in building the RPMset.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

In response to

pgsql-ports by date

Next:From: Tom LaneDate: 2001-04-22 03:39:28
Subject: Re: Error compiling 7.1 on Caldera OpenLinux
Previous:From: Marco Otilio Peña DiazDate: 2001-04-21 05:38:44
Subject: Installing on SCO OpenServer 3.2v5.0.5

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group