Re: Unable to --rebuild postgresql-7.1.2-4PGDG.src.rpm - Mailing list pgsql-general

From Keith F Irwin
Subject Re: Unable to --rebuild postgresql-7.1.2-4PGDG.src.rpm
Date
Msg-id 992712138.2257.0.camel@c234192-a
Whole thread Raw
In response to Unable to --rebuild postgresql-7.1.2-4PGDG.src.rpm  (Keith F Irwin <kirwin14@home.com>)
Responses Re: Unable to --rebuild postgresql-7.1.2-4PGDG.src.rpm  (teg@redhat.com (Trond Eivind Glomsrød))
Re: Unable to --rebuild postgresql-7.1.2-4PGDG.src.rpm  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On a hunch, I tried the --rebuild command without the i686 target, and
got a lot farther: but still an error:

<quote>
make[3]: Leaving directory
`/usr/src/redhat/BUILD/postgresql-7.1.2/src/interfaces/libpgeasy'
make[3]: Entering directory
`/usr/src/redhat/BUILD/postgresql-7.1.2/src/interfaces/odbc'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -O2
-march=i386 -mcpu=i686 -fpic -I. -I../../../src/include  -DHAVE_CONFIG_H
-DODBCINSTDIR='"/etc/pgsql"'  -c -o info.o info.c

Cannot allocate 3473903228 bytes after allocating 1767100 bytes
</quote>

What does that allocate error mean?  I've got 1/2 gig of Ram.  Does it
take more than that to compile?

Keith

On 16 Jun 2001 09:57:20 -0700, Keith F Irwin wrote:
> I just downloaded the src rpm for postgres 7.1.2
>
>     postgresql-7.1.2-4PGDG.src.rpm
>
> and tried to rebuild it:
>
>     rpm --rebuild postgresql-7.1.2-4PGDG.src.rpm --target=i686
>
> and got the following compile error!  (I'm compiling on RH7.1.)  Is
> there anything I can do or can someone let the folks responsible for the
> package know?
>
> (Note: I was able to rebuild the 7.1.1 RPMS no prob.)
>
> Keith
>
> ----
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -O2
> -march=i686 -Wno-error -I../../../src/include   -c -o gram.o gram.c
> gram.y:968:52: warning: null character(s) ignored
> gram.y: In function `yyparse':
> gram.y:969: `l' undeclared (first use in this function)
> gram.y:969: (Each undeclared identifier is reported only once
> gram.y:969: for each function it appears in.)
> gram.y:970: parse error before `:'
> make[3]: *** [gram.o] Error 1
> make[3]: Leaving directory
> `/usr/src/redhat/BUILD/postgresql-7.1.2/src/backend/parser'
> make[2]: *** [parser-recursive] Error 2
> make[2]: Leaving directory
> `/usr/src/redhat/BUILD/postgresql-7.1.2/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.1.2/src'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.61518 (%build)
> ----
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org



pgsql-general by date:

Previous
From: Keith F Irwin
Date:
Subject: Unable to --rebuild postgresql-7.1.2-4PGDG.src.rpm
Next
From: teg@redhat.com (Trond Eivind Glomsrød)
Date:
Subject: Re: Unable to --rebuild postgresql-7.1.2-4PGDG.src.rpm