General Bug Report: not making/installing certain parts of the distribution - Mailing list pgsql-bugs
| From | Unprivileged user |
|---|---|
| Subject | General Bug Report: not making/installing certain parts of the distribution |
| Date | |
| Msg-id | 199905041412.KAA67225@hub.org Whole thread Raw |
| List | pgsql-bugs |
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Jelle Ruttenberg
Your email address : ruttenberg@neroc.nl
Category : install: compile
Severity : critical
Summary: not making/installing certain parts of the distribution
System Configuration
--------------------
Operating System : IRIX 6.2
PostgreSQL version : 6.4.2
Compiler used : native cc
Hardware:
---------
SGI
IRIX mars 6.2 03131015 IP22
Versions of other tools:
------------------------
native lex
GNU Make version 3.77
--------------------------------------------------------------------------
Problem Description:
--------------------
When making/installing the following errors occurred. Only the error with making the odbc-interface is for our
departmenta critical one. The other errors are only somewhat annoying.
Unable to make ecpc:
--------------------
gmake -C preproc all
gmake[3]: Entering directory `/disk3/pgsql/postgresql-6.4.2/src/interfaces/ecpg/preproc'
/usr/bin/yacc -d preproc.y
Redeclaration of precedence of UNLISTEN, line 576
cc -I../../../include -I../../../backend -I../include -DMAJOR_VERSION=2 -DMINOR_VERSION=4 -DPATCHLEVEL=4
-DINCLUDE_PATH=\"/disk3/usr/local/pgsql/include\" -c y.tab.c -o y.tab.o
lex pgc.l
"pgc.l":line 53: Error; missing translation value
gmake[3]: *** [pgc.c] Error 1
gmake[3]: Leaving directory `/disk3/pgsql/postgresql-6.4.2/src/interfaces/ecpg/preproc'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/disk3/pgsql/postgresql-6.4.2/src/interfaces/ecpg'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/disk3/pgsql/postgresql-6.4.2/src/interfaces'
gmake: *** [all] Error 2
After commenting out ecpc unable to make odbc:
----------------------------------------------
gmake -C odbc all
gmake[2]: Entering directory `/disk3/pgsql/postgresql-6.4.2/src/interfaces/odbc'
cc -I../../include -I../../backend -I. -DHAVE_CONFIG_H -c info.c -o info.o
gmake[2]: Leaving directory `/disk3/pgsql/postgresql-6.4.2/src/interfaces/odbc'
gmake[1]: Leaving directory `/disk3/pgsql/postgresql-6.4.2/src/interfaces'
after commenting out odbc unable to make plpgsql:
-------------------------------------------------
gmake[3]: Entering directory `/disk3/pgsql/postgresql-6.4.2/src/pl/plpgsql/src'
sed -e 's/yy/plpgsql_yy/g' -e 's/YY/PLPGSQL_YY/g' <gram.c >pl_gram.c
sed -e 's/yy/plpgsql_yy/g' -e 's/YY/PLPGSQL_YY/g' <y.tab.h >pl.tab.h
sed -e 's/yy/plpgsql_yy/g' -e 's/YY/PLPGSQL_YY/g' <scan.c >pl_scan.c
cc -I../../../include -I../../../backend -I../../../interfaces/libpq -I../../../include -I../../../backend -c -o
pl_parse.opl_gram.c
cfe: Error: gram.y: 1460: Cannot open file pl_scan.c for #include
gmake[3]: *** [pl_parse.o] Error 1
gmake[3]: Leaving directory `/disk3/pgsql/postgresql-6.4.2/src/pl/plpgsql/src'
gmake[2]: [all] Error 2 (ignored)
gmake[2]: Leaving directory `/disk3/pgsql/postgresql-6.4.2/src/pl/plpgsql'
gmake[1]: Leaving directory `/disk3/pgsql/postgresql-6.4.2/src/pl'
All of PostgreSQL is successfully made. Ready to install.
After making I installed and, ofcourse, the following occurred:
----------------------------------------------------------------------
gmake[1]: Entering directory `/disk3/pgsql/postgresql-6.4.2/src/pl'
gmake -C plpgsql install
gmake[2]: Entering directory `/disk3/pgsql/postgresql-6.4.2/src/pl/plpgsql'
gmake -C src install
gmake[3]: Entering directory `/disk3/pgsql/postgresql-6.4.2/src/pl/plpgsql/src'
plpgsql not installed due to lack of shared library support.
gmake[3]: Leaving directory `/disk3/pgsql/postgresql-6.4.2/src/pl/plpgsql/src'
gmake[2]: Leaving directory `/disk3/pgsql/postgresql-6.4.2/src/pl/plpgsql'
gmake[1]: Leaving directory `/disk3/pgsql/postgresql-6.4.2/src/pl'
cat ../register.txt
--------------------------------------------------------------------------
Test Case:
----------
Just try to make/install it
--------------------------------------------------------------------------
Solution:
---------
--------------------------------------------------------------------------
pgsql-bugs by date: