success with postgresql on beaglebone - Mailing list pgsql-general

From Tomas Hlavaty
Subject success with postgresql on beaglebone
Date
Msg-id 87fw7ovxnv.fsf@logand.com
Whole thread Raw
Responses Re: success with postgresql on beaglebone  (Toby Corkindale <toby.corkindale@strategicdata.com.au>)
List pgsql-general
Hi all,

I managed to compile postgresql on BeagleBone.

The only problem I encountered was insufficient memory for compiling
grammars by bison (BeagleBone has 256MB RAM).

As a workaround, I compiled the same sources on a bigger machine and
copied the following files to BeagleBone:

postgresql/src/backend/parser/gram.h
postgresql/src/backend/parser/gram.c
postgresql/src/backend/parser/scan.c
postgresql/src/backend/bootstrap/bootparse.c
postgresql/src/backend/bootstrap/bootscanner.c
postgresql/src/backend/replication/repl_gram.c
postgresql/src/backend/replication/repl_scanner.c
postgresql/src/backend/utils/misc/guc-file.c
postgresql/src/interfaces/ecpg/preproc/preproc.c
postgresql/src/interfaces/ecpg/preproc/pgc.c
postgresql/src/interfaces/ecpg/preproc/preproc.h
postgresql/src/bin/psql/psqlscan.c
postgresql/src/pl/plpgsql/src/pl_gram.c
postgresql/src/pl/plpgsql/src/pl_gram.h

All tests passed.

I wonder, does anybody know how to compile the sources without copying
the bison generated files?

Thank you,

Tomas


pgsql-general by date:

Previous
From: "Marc Watson"
Date:
Subject: Re: Postgres 9.2 beta2 one-click installer on windows
Next
From: "Carl von Clausewitz"
Date:
Subject: Re: corrupted statistics file "pg_stat_tmp/pgstat.stat"