Skip site navigation (1) Skip section navigation (2)

Compile-/Install-errors

From: Jelle Ruttenberg <ruttenberg(at)neroc(dot)nl>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: Compile-/Install-errors
Date: 1999-05-04 09:19:31
Message-ID: 199905040912.LAA06583@mail.neroc.nl (view raw or flat)
Thread:
Lists: pgsql-ports
Hi,

I've just finished installation of PostgreSQL. Although some problems 
occurred, it seems to run up till now.

What will become a real problem to me, is that I couldn't succeed in 
compiling/installing the odbc-interface. Maybe you've got a solution...

So far it looks like a real complete RDBMS to me with more functionality 
than MySQL or MiniSQL (e.g. transactions and nested selects).

Jelle.



HARDWARE:		SGI-IRIX 6.2 IP22

POSTGRESQL:		6.4.2

CONFIGURE:		configure --with-prefix=/disk3/usr/local/pgsql --with-odbc 
--without-CXX
CHOSEN TEMPLATE	irix 5 (chosen by configure: there is no template for 
version 6.x)

MAKE:			gmake all | tee make.log
CC:				SGI's cc
LEX:			SGI's lex


FIRST ATTEMPT TO MAKE
=====================
LAST LINES:
-----------
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


SECOND ATTEMPT TO MAKE
======================
COMMENTED OUT ../interfaces/Makefile ecpc:
------------------------------------------
LAST LINES:
-----------
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'


THIRD ATTEMPT TO MAKE
=====================
COMMENTED OUT ../interfaces/Makefile odbc:
------------------------------------------
LAST LINES:
-----------
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.o pl_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.


INSTALL:
========
LAST LINES:
-----------
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

--------------------------------------------------------------
                   NEROC Publishing Solutions

                      Jelle Ruttenberg

De Run 1131, 5503 LB Veldhoven    Phone  : +31-(0)40-2586641
P.O.Box 133, 5500 AC Veldhoven    Fax    : +31-(0)40-2541893
The Netherlands                   E-mail : ruttenberg(at)neroc(dot)nl
--------------------------------------------------------------


pgsql-ports by date

Next:From: Thomas LockhartDate: 1999-05-04 13:27:25
Subject: Re: [PORTS] Core dump with initdb on Irix 6.2
Previous:From: Unprivileged userDate: 1999-05-04 06:39:01
Subject: Port Bug Report:

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group