pgsql v6.4 compile problems with AIX 4.2 - Mailing list pgsql-ports
| From | Geof Goodrum |
|---|---|
| Subject | pgsql v6.4 compile problems with AIX 4.2 |
| Date | |
| Msg-id | 5cdf03773e38575310398d383c85767c Whole thread Raw |
| List | pgsql-ports |
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name :Geoffrey Goodrum
Your email address :Geoffrey.P.Goodrum@noaa.gov
System Configuration
- ---------------------
Architecture (example: Intel Pentium) :RS/6000 Model 570
Operating System (example: Linux 2.0.26 ELF) :AIX 4.2
PostgreSQL version (example: PostgreSQL-6.4) : PostgreSQL-6.4
Compiler used (example: gcc 2.8.0) :IBM xlc 3.1.4
Please enter a FULL description of your problem:
- ------------------------------------------------
1. configure could not autodetect the proper template.
2. After correcting 1., IBM's yacc failed during compile with the
following error:
gmake -C preproc all
gmake[3]: Entering directory
`/tap1b/PostgreSQL/postgresql-v6.4/src/interfaces/e
cpg/preproc'
/usr/bin/yacc -d preproc.y
fatal error: out of space, line 4858
gmake[3]: *** [y.tab.c] Error 1
gmake[3]: Leaving directory
`/tap1b/PostgreSQL/postgresql-v6.4/src/interfaces/ec
pg/preproc'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/tap1b/PostgreSQL/postgresql-v6.4/src/interfaces/ec
pg'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/tap1b/PostgreSQL/postgresql-v6.4/src/interfaces'
gmake: *** [all] Error 2
3. After installing bison to correct 2., compile fails to complete
with the following error:
/usr/local/bin/bison -y -d preproc.y
xlc -I../../../include -I../../../backend -qchars=signed -qmaxmem=8192
- -qhalt=w -qsrcmsg -qcheck=divzero -qlonglong -I../include -DMAJOR_VERSION=2
- -DMINOR_VERSION=4 -DPATCHLEVEL=4
- -DINCLUDE_PATH=\"/tap1b/PostgreSQL/postgresql-v6.4//include\" -c y.tab.c
- -o y.tab.o
lex pgc.l
674: (Warning) Undefined start condition <EOF
(Error) Too little core for final packing
668/2000 nodes(%e), 1381/5000 positions(%p), 191/2500 (%n), 16491
transitions
895/1000 packed char classes(%k)
2474/5000 packed transitions(%a)
0/0 output slots(%o)
gmake[3]: *** [pgc.c] Error 1
gmake[3]: Leaving directory
`/tap1b/PostgreSQL/postgresql-v6.4/src/interfaces/ec
pg/preproc'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/tap1b/PostgreSQL/postgresql-v6.4/src/interfaces/ec
pg'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/tap1b/PostgreSQL/postgresql-v6.4/src/interfaces'
gmake: *** [all] Error 2
Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
- ----------------------------------------------------------------------
On described environment with GNU make 3.76.1, run 'configure
- --with-template=aix_42'. We also use a site-specific option
- --prefix=/tap1b/PostgreSQL/postgres
Flex is not on the system, but lex is. C++ was not on the system
originally, but GNU g++ (2.8.1.0) and GNU standard C++ libs (2.8.1.1) were
installed; configures with and without C++ were attempted.
If you know how this problem might be fixed, list the solution below:
- ---------------------------------------------------------------------
1. Use '--with-template=aix_42'. This has been reported to
scrappy@hub.org as suggested in the INSTALL doc.
2. Install GNU bison. (using v1.2.5)
3. Install GNU flex (using v2.5.4a). Contrary to the INSTALL docs, even
though flex is not on the system, it is needed. AIX lex fails.
DISCLAIMER: The comments above are my own and may not represent the views
of my employer.
+-------------------------------+-------------------------------------------+
: Geoffrey P. Goodrum : US Department of Commerce :
: +1-301-457-5100 : NOAA/NESDIS National Climatic Data Center :
: ggoodrum@perigee.ncdc.noaa.gov: Satellite Services Branch :
+-------------------------------+-------------------------------------------+
pgsql-ports by date: