success with postgresql on beaglebone

From: Tomas Hlavaty <tom(at)logand(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: success with postgresql on beaglebone
Date: 2012-08-15 18:05:08
Message-ID: 87fw7ovxnv.fsf@logand.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Carl von Clausewitz 2012-08-15 18:54:56 Re: corrupted statistics file "pg_stat_tmp/pgstat.stat"
Previous Message Marc Watson 2012-08-15 17:47:45 Re: Postgres 9.2 beta2 one-click installer on windows