Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit253c8fe

Browse files
committed
update
1 parenta0d8281 commit253c8fe

File tree

1 file changed

+16
-64
lines changed

1 file changed

+16
-64
lines changed

‎doc/FAQ_SCO

Lines changed: 16 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
=======================================================
2-
Frequently Asked Questions (FAQ) for PostgreSQL V7.0
3-
SCO UnixWare and OpenServerSpecific
4-
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
5-
=======================================================
6-
last updated: $Date:2000/10/09 03:49:42 $
1+
============================================================
2+
Frequently Asked Questions (FAQ) for PostgreSQL V7.1
3+
SCO UnixWare and OpenServerspecific
4+
to be read in conjunction with the installation instructions
5+
============================================================
6+
last updated: $Date:2001/03/13 20:52:04 $
77

88
current maintainer: Billy G. Allie (Bill.Allie@mug.org)
99
original author: Andrew Merrill (andrew@compclass.com)
1010

1111

12-
PostgreSQL 7.0 can be built on SCO UnixWare 7 and SCO OpenServer 5.
12+
PostgreSQL 7.1 can be built on SCO UnixWare 7 and SCO OpenServer 5.
1313
On OpenServer, you can use either the OpenServer Development Kit or
1414
the Universal Development Kit.
1515

@@ -18,7 +18,6 @@ However, some tweaking may be needed, as described below.
1818
Topics:
1919
*) Skunkware
2020
*) GNU Make
21-
*) C++ and libpq++
2221
*) Readline
2322
*) Using the UDK on OpenServer
2423
*) Compiling PostgreSQL using the UDK
@@ -44,6 +43,7 @@ Skunkware has different versions for UnixWare and OpenServer. Make sure
4443
you install the correct version for your operating system, except as noted
4544
below.
4645

46+
4747
***************************************************************************
4848
*) GNU Make
4949

@@ -52,24 +52,6 @@ default, it installs as /usr/local/bin/make. To avoid confusion with the
5252
SCO make program, you may want to rename GNU make to gmake.
5353

5454

55-
***************************************************************************
56-
*) C++ and libpq++
57-
58-
I have not been able to build libpq++, the PostgreSQL C++ interface, with
59-
the UnixWare or OpenServer C++ compilers. By default, building PostgreSQL
60-
also builds the libpq++ interface. When that fails, it causes the entire
61-
build of PostgreSQL to fail.
62-
63-
This is the problem if you see the following error message:
64-
65-
"pgenv.cc", line 47: error: no default constructor exists for class "string"
66-
67-
If you have this problem, you can disable building of libpq++ with the
68-
following configure option:
69-
70-
configure --without-CXX
71-
72-
7355
***************************************************************************
7456
*) Readline
7557

@@ -89,31 +71,22 @@ configure:
8971

9072
configure --with-libs=/usr/local/lib --with-includes=/usr/local/include
9173

92-
Putting this together with the no-C++ option above yields:
93-
94-
configure --with-libs=/usr/local/lib --with-includes=/usr/local/include --without-CXX
95-
9674

9775
***************************************************************************
9876
*) Using the UDK on OpenServer
9977

10078
If you are using the new Universal Development Kit (UDK) compiler on
101-
OpenServer, you need to use different arguments to the configure program.
102-
103-
First, you need to specify the "unixware" template instead of the default.
104-
105-
Second, you need to specify the locations of the UDK libraries.
79+
OpenServer, you need to specify the locations of the UDK libraries:
10680

107-
Putting these together:
81+
configure --with-libs=/udk/usr/lib --with-includes=/udk/usr/include
10882

109-
configure --with-template=unixware --with-libs=/udk/usr/lib --with-includes=/udk/usr/include
83+
Putting these togetherwith the readline options from above:
11084

111-
Putting these togetherwith the no-C++ and readline options from above:
85+
./configure --with-libs="/udk/usr/lib /usr/local/lib" --with-includes="/udk/usr/include /usr/local/include"
11286

113-
./configure --with-template=unixware --with-libs="/udk/usr/lib /usr/local/lib" --with-includes="/udk/usr/include /usr/local/include" --without-CXX
11487

11588
***************************************************************************
116-
*) Compiling PostgreSQL 7.0 with the UDK
89+
*) Compiling PostgreSQL 7.1 with the UDK
11790

11891
The program, backend/utils/adt/int8.c, tickles a compiler bug with in the
11992
following versions (and probably others as well) of the C compiler:
@@ -146,30 +119,10 @@ the following patch:
146119
PG_RETURN_INT64(result);
147120
------------------------------8< CUT HERE >8------------------------------
148121

149-
The bind function in UnixWare 7.1+ has a problem when used with the AF_UNIX
150-
family. The following patch provides a work-around for the problem (thanks
151-
go to Oliver PRENANT <ohp@pyrenet.fre> for this patch).
122+
This compiler bug seems to be fixed at least in
123+
124+
Optimizing C Compilation System (CCS) 4.0 10/23/00 (UDK FS 7.1.1b)
152125

153-
------------------------------8< CUT HERE >8------------------------------
154-
*** src/backend/libpq/pqcomm.c.origSun Oct 8 02:21:25 2000
155-
--- src/backend/libpq/pqcomm.cSun Oct 8 02:42:57 2000
156-
***************
157-
*** 329,334 ****
158-
--- 329,341 ----
159-
return STATUS_ERROR;
160-
}
161-
162-
+ /* Work around a bug in UnixWare 7.1.x - accept is not returning the
163-
+ * correct family when the family is AF_UNIX.
164-
+ */
165-
+
166-
+ if (port->raddr.sa.sa_family == 0)
167-
+ port->raddr.sa.sa_family = AF_UNIX;
168-
+
169-
/* fill in the server (local) address */
170-
addrlen = sizeof(port->laddr);
171-
if (getsockname(port->sock, (struct sockaddr *) & port->laddr,
172-
------------------------------8< CUT HERE >8------------------------------
173126

174127
***************************************************************************
175128
*) Reading the PostgreSQL man pages on UnixWare
@@ -221,4 +174,3 @@ generate a PostgreSQL package for UnixWare 7.x, the man pages will be
221174
integrated into the scohelp system.
222175

223176
I have not tried using the PostgreSQL man pages on OpenServer. Volunteers??
224-

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp