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


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to