1
1
=====================================================
2
- Frequently Asked Questions (FAQ) for PostgresSQL V6.1
2
+ Frequently Asked Questions (FAQ) for PostgreSQL V6.1
3
3
IRIX Specific
4
4
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
5
5
=====================================================
6
- last updated: Fri Jun 13 09:54 :00 BST 1997
6
+ last updated: Fri Sep 19 11:51 :00 BST 1997
7
7
8
8
current maintainer: Andrew C.R. Martin (martin@biochem.ucl.ac.uk)
9
9
original author: Andrew C.R. Martin (martin@biochem.ucl.ac.uk)
10
10
11
11
12
12
Changes 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
14
15
15
16
This file is divided approximately as follows:
16
- 1.*) Installing Postgres95
17
- 2.*) Uninstalling Postgres95
18
- 3.*) Extending Postgres95
17
+ 1.*) Installing PostgreSQL
18
+ 2.*) Uninstalling PostgreSQL
19
+ 3.*) Extending PostgreSQL
19
20
20
21
21
22
Questions answered:
22
- 1.1) What extra items do I need to install Postgres95 under Irix?
23
+ 1.1) What extra items do I need to install PostgreSQL under Irix?
23
24
1.2) What changes do I need to make to src/Makefile.global?
24
25
1.3) What are the references in X11_LIB to libsocket and libnsl in
25
26
src/Makefile.global?
26
27
1.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
28
31
2.1) Why can't I move the executable files?
29
32
3.1) How do I compile a C program to create a function for extending
30
- Postgres95
33
+ PostgreSQL
31
34
32
35
----------------------------------------------------------------------
33
- Section 1: Installing Postgres95
36
+ Section 1: Installing PostgreSQL
34
37
----------------------------------------------------------------------
35
38
36
- 1.1) What extra items do I need to install Postgres95 under Irix?
39
+ 1.1) What extra items do I need to install PostgreSQL under Irix?
37
40
38
41
You *must* have the following installed:
39
42
a) Gnu make (installed as gmake)
40
43
41
44
You are recommended to install the following:
42
45
a) GNU install (installed as ginstall)
46
+ (This is part of the GNU fileutils package)
43
47
44
48
You may choose to install the following:
45
49
a) GNU readline library (if you wish psql to have readline
@@ -83,15 +87,19 @@ Section 1: Installing Postgres95
83
87
CUSTOM_INSTALL=ginstall
84
88
85
89
For an explanation as to why this is a good idea, see Question 2.1
90
+ Ginstall is part of the GNU fileutils package.
86
91
87
92
88
- 1.5) Can I install PostgreSQL under Irix 6.4 ?
93
+ 1.5) Can I install PostgreSQL under Irix 6.x ?
89
94
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
91
96
static procedures when object files are assembled into
92
97
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>)
95
103
96
104
*** ./backend/Makefile.orig Thu May 22 00:00:15 1997
97
105
--- ./backend/Makefile Thu Jun 5 16:47:27 1997
@@ -117,8 +125,25 @@ Section 1: Installing Postgres95
117
125
$(OBJS): $(DIRS:%=%.dir)
118
126
119
127
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
+
120
145
----------------------------------------------------------------------
121
- Section 2: Deinstalling Postgres95
146
+ Section 2: Deinstalling PostgreSQL
122
147
----------------------------------------------------------------------
123
148
124
149
2.1) Why can't I move the executable files?
@@ -140,14 +165,14 @@ Section 2: Deinstalling Postgres95
140
165
141
166
142
167
----------------------------------------------------------------------
143
- Section 3: Extending Postgres95
168
+ Section 3: Extending PostgreSQL
144
169
----------------------------------------------------------------------
145
170
3.1) How do I compile a C program to create a function for extending
146
- Postgres95
171
+ PostgreSQL
147
172
148
173
Here is a sample command line:
149
174
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
151
176
-shared -o funcs.so funcs.c
152
177
153
178
0 commit comments