Re: Unable to --rebuild postgresql-7.1.2-4PGDG.src.rpm

From: Keith F Irwin <kirwin14(at)home(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Unable to --rebuild postgresql-7.1.2-4PGDG.src.rpm
Date: 2001-06-16 17:22:18
Message-ID: 992712138.2257.0.camel@c234192-a
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= 2001-06-16 17:51:44 Re: Unable to --rebuild postgresql-7.1.2-4PGDG.src.rpm
Previous Message Keith F Irwin 2001-06-16 16:57:20 Unable to --rebuild postgresql-7.1.2-4PGDG.src.rpm