11=====================================================
2- Frequently Asked Questions (FAQ) forPostgresSQL V6.1
2+ Frequently Asked Questions (FAQ) forPostgreSQL V6.1
33IRIX Specific
44TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
55=====================================================
6- last updated: FriJun 13 09:54 :00 BST 1997
6+ last updated: FriSep 19 11:51 :00 BST 1997
77
88current maintainer: Andrew C.R. Martin (martin@biochem.ucl.ac.uk)
99original author: Andrew C.R. Martin (martin@biochem.ucl.ac.uk)
1010
1111
1212Changes in this version (* = modified, + = new, - = removed):
13- +1.5) Can I install PostgreSQL under Irix 6.4?
13+ +1.6) The make fails with the following message:
14+ ld32: ERROR 4: Conflicting flag setting: -call_shared
1415
1516This file is divided approximately as follows:
16- 1.*) InstallingPostgres95
17- 2.*) UninstallingPostgres95
18- 3.*) ExtendingPostgres95
17+ 1.*) InstallingPostgreSQL
18+ 2.*) UninstallingPostgreSQL
19+ 3.*) ExtendingPostgreSQL
1920
2021
2122Questions answered:
22- 1.1) What extra items do I need to installPostgres95 under Irix?
23+ 1.1) What extra items do I need to installPostgreSQL under Irix?
23241.2) What changes do I need to make to src/Makefile.global?
24251.3) What are the references in X11_LIB to libsocket and libnsl in
2526 src/Makefile.global?
26271.4) Are there any other changes I should make?
27- 1.5) Can I install PostgreSQL under Irix 6.4?
28+ 1.5) Can I install PostgreSQL under Irix 6.x?
29+ 1.6) The make fails with the following message:
30+ ld32: ERROR 4: Conflicting flag setting: -call_shared
28312.1) Why can't I move the executable files?
29323.1) How do I compile a C program to create a function for extending
30- Postgres95
33+ PostgreSQL
3134
3235----------------------------------------------------------------------
33- Section 1: InstallingPostgres95
36+ Section 1: InstallingPostgreSQL
3437----------------------------------------------------------------------
3538
36- 1.1) What extra items do I need to installPostgres95 under Irix?
39+ 1.1) What extra items do I need to installPostgreSQL under Irix?
3740
3841 You *must* have the following installed:
3942 a) Gnu make (installed as gmake)
4043
4144 You are recommended to install the following:
4245 a) GNU install (installed as ginstall)
46+ (This is part of the GNU fileutils package)
4347
4448 You may choose to install the following:
4549 a) GNU readline library (if you wish psql to have readline
@@ -83,15 +87,19 @@ Section 1: Installing Postgres95
8387 CUSTOM_INSTALL=ginstall
8488
8589 For an explanation as to why this is a good idea, see Question 2.1
90+ Ginstall is part of the GNU fileutils package.
8691
8792
88- 1.5) Can I install PostgreSQL under Irix 6.4 ?
93+ 1.5) Can I install PostgreSQL under Irix 6.x ?
8994
90- Irix 6.4 has a bug in ld which mishandles the addresses of
95+ Irix 6.2-6. 4 has a bug in ld which mishandles the addresses of
9196 static procedures when object files are assembled into
9297 larger object files using 'ld -r'. This bug has been reported
93- to Silicon Graphics. The following patch should be applied as
94- a workaround. (Supplied by Bob Bruccoleri <bruc@bms.com>)
98+ to Silicon Graphics.
99+
100+ One option is to use the Gnu version of ld. Alternatively,
101+ the following patch should be applied as a workaround.
102+ (Supplied by Bob Bruccoleri <bruc@bms.com>)
95103
96104*** ./backend/Makefile.orig Thu May 22 00:00:15 1997
97105--- ./backend/Makefile Thu Jun 5 16:47:27 1997
@@ -117,8 +125,25 @@ Section 1: Installing Postgres95
117125 $(OBJS): $(DIRS:%=%.dir)
118126
119127
128+
129+
130+ 1.6) The make fails with the following message:
131+ ld32: ERROR 4: Conflicting flag setting: -call_shared
132+
133+ If gmake fails in .../src/backend while building obj/ACCESS.o
134+ with a message from ld32, you can work around this by using
135+ ld for the LD environment variable rather than cc.
136+
137+ The problem has been observed under Irix 5.3 when compiling both
138+ Postgres95-1.09 and PostgreSQL-6.2Beta6, but on some systems
139+ these appear to compile with no such problems.
140+
141+ Fix supplied by Brian Sanders (bsanders@netcom.com,
142+ brian@fresnelsoft.com)
143+
144+
120145----------------------------------------------------------------------
121- Section 2: DeinstallingPostgres95
146+ Section 2: DeinstallingPostgreSQL
122147----------------------------------------------------------------------
123148
1241492.1) Why can't I move the executable files?
@@ -140,14 +165,14 @@ Section 2: Deinstalling Postgres95
140165
141166
142167----------------------------------------------------------------------
143- Section 3: ExtendingPostgres95
168+ Section 3: ExtendingPostgreSQL
144169----------------------------------------------------------------------
1451703.1) How do I compile a C program to create a function for extending
146- Postgres95
171+ PostgreSQL
147172
148173 Here is a sample command line:
149174
150- cc -I/usr/local/postgres95 /include/ -I/usr/local/postgres95 /src/backend
175+ cc -I/usr/local/PostgreSQL /include/ -I/usr/local/PostgreSQL /src/backend
151176 -shared -o funcs.so funcs.c
152177
153178