Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4c4f118

Browse files
committed
Update machine-specific FAQs. Too late.
1 parent 83cd375 commit 4c4f118

File tree

2 files changed

+285
-62
lines changed

2 files changed

+285
-62
lines changed

doc/FAQ-Irix renamed to doc/FAQ_Irix

+44-19
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,49 @@
11
=====================================================
2-
Frequently Asked Questions (FAQ) for PostgresSQL V6.1
2+
Frequently Asked Questions (FAQ) for PostgreSQL V6.1
33
IRIX Specific
44
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
55
=====================================================
6-
last updated: Fri Jun 13 09:54:00 BST 1997
6+
last updated: Fri Sep 19 11:51:00 BST 1997
77

88
current maintainer: Andrew C.R. Martin (martin@biochem.ucl.ac.uk)
99
original author: Andrew C.R. Martin (martin@biochem.ucl.ac.uk)
1010

1111

1212
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
1415

1516
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
1920

2021

2122
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?
2324
1.2) What changes do I need to make to src/Makefile.global?
2425
1.3) What are the references in X11_LIB to libsocket and libnsl in
2526
src/Makefile.global?
2627
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
2831
2.1) Why can't I move the executable files?
2932
3.1) How do I compile a C program to create a function for extending
30-
Postgres95
33+
PostgreSQL
3134

3235
----------------------------------------------------------------------
33-
Section 1: Installing Postgres95
36+
Section 1: Installing PostgreSQL
3437
----------------------------------------------------------------------
3538

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?
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: Deinstalling Postgres95
146+
Section 2: Deinstalling PostgreSQL
122147
----------------------------------------------------------------------
123148

124149
2.1) Why can't I move the executable files?
@@ -140,14 +165,14 @@ Section 2: Deinstalling Postgres95
140165

141166

142167
----------------------------------------------------------------------
143-
Section 3: Extending Postgres95
168+
Section 3: Extending PostgreSQL
144169
----------------------------------------------------------------------
145170
3.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

0 commit comments

Comments
 (0)