Re: Error compiling 7.1 on Caldera OpenLinux

Поиск
Список
Период
Сортировка
От Lamar Owen
Тема Re: Error compiling 7.1 on Caldera OpenLinux
Дата
Msg-id 3AE250B4.4D478E7A@wgcr.org
обсуждение исходный текст
Ответ на Error compiling 7.1 on Caldera OpenLinux  (Bruce MacKay <bmackay@calderasystems.com>)
Список 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@sb.calderalabs.com) (gcc version egcs-2.91.66
>
> 19990314 (egcs-1.1.2 release)) #1 SMP Mon Dec 18 14:56:14 MST 2000
>
> [root@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@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@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@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@gnu.org>.

[lowen@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

В списке pgsql-ports по дате отправления:

Предыдущее
От: Bruce MacKay
Дата:
Сообщение: Error compiling 7.1 on Caldera OpenLinux
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Error compiling 7.1 on Caldera OpenLinux