Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
253c8fec
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
253c8fec
编写于
3月 13, 2001
作者:
P
Peter Eisentraut
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
a0d82817
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
16 addition
and
64 deletion
+16
-64
doc/FAQ_SCO
doc/FAQ_SCO
+16
-64
未找到文件。
doc/FAQ_SCO
浏览文件 @
253c8fec
=======================================================
Frequently Asked Questions (FAQ) for PostgreSQL V7.
0
SCO UnixWare and OpenServer
S
pecific
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
=======================================================
last updated: $Date: 200
0/10/09 03:49:42
$
=======================================================
=====
Frequently Asked Questions (FAQ) for PostgreSQL V7.
1
SCO UnixWare and OpenServer
s
pecific
to be read in conjunction with the installation instructions
=======================================================
=====
last updated: $Date: 200
1/03/13 20:52:04
$
current maintainer: Billy G. Allie (Bill.Allie@mug.org)
original author: Andrew Merrill (andrew@compclass.com)
PostgreSQL 7.
0
can be built on SCO UnixWare 7 and SCO OpenServer 5.
PostgreSQL 7.
1
can be built on SCO UnixWare 7 and SCO OpenServer 5.
On OpenServer, you can use either the OpenServer Development Kit or
the Universal Development Kit.
...
...
@@ -18,7 +18,6 @@ However, some tweaking may be needed, as described below.
Topics:
*) Skunkware
*) GNU Make
*) C++ and libpq++
*) Readline
*) Using the UDK on OpenServer
*) Compiling PostgreSQL using the UDK
...
...
@@ -44,6 +43,7 @@ Skunkware has different versions for UnixWare and OpenServer. Make sure
you install the correct version for your operating system, except as noted
below.
***************************************************************************
*) GNU Make
...
...
@@ -52,24 +52,6 @@ default, it installs as /usr/local/bin/make. To avoid confusion with the
SCO make program, you may want to rename GNU make to gmake.
***************************************************************************
*) C++ and libpq++
I have not been able to build libpq++, the PostgreSQL C++ interface, with
the UnixWare or OpenServer C++ compilers. By default, building PostgreSQL
also builds the libpq++ interface. When that fails, it causes the entire
build of PostgreSQL to fail.
This is the problem if you see the following error message:
"pgenv.cc", line 47: error: no default constructor exists for class "string"
If you have this problem, you can disable building of libpq++ with the
following configure option:
configure --without-CXX
***************************************************************************
*) Readline
...
...
@@ -89,31 +71,22 @@ configure:
configure --with-libs=/usr/local/lib --with-includes=/usr/local/include
Putting this together with the no-C++ option above yields:
configure --with-libs=/usr/local/lib --with-includes=/usr/local/include --without-CXX
***************************************************************************
*) Using the UDK on OpenServer
If you are using the new Universal Development Kit (UDK) compiler on
OpenServer, you need to use different arguments to the configure program.
First, you need to specify the "unixware" template instead of the default.
Second, you need to specify the locations of the UDK libraries.
OpenServer, you need to specify the locations of the UDK libraries:
Putting these together:
configure --with-libs=/udk/usr/lib --with-includes=/udk/usr/include
configure --with-template=unixware --with-libs=/udk/usr/lib --with-includes=/udk/usr/include
Putting these together with the readline options from above:
Putting these together with the no-C++ and readline options from above:
./configure --with-libs="/udk/usr/lib /usr/local/lib" --with-includes="/udk/usr/include /usr/local/include"
./configure --with-template=unixware --with-libs="/udk/usr/lib /usr/local/lib" --with-includes="/udk/usr/include /usr/local/include" --without-CXX
***************************************************************************
*) Compiling PostgreSQL 7.
0
with the UDK
*) Compiling PostgreSQL 7.
1
with the UDK
The program, backend/utils/adt/int8.c, tickles a compiler bug with in the
following versions (and probably others as well) of the C compiler:
...
...
@@ -146,30 +119,10 @@ the following patch:
PG_RETURN_INT64(result);
------------------------------8< CUT HERE >8------------------------------
Th
e bind function in UnixWare 7.1+ has a problem when used with the AF_UNIX
family. The following patch provides a work-around for the problem (thanks
go to Oliver PRENANT <ohp@pyrenet.fre> for this patch).
Th
is compiler bug seems to be fixed at least in
Optimizing C Compilation System (CCS) 4.0 10/23/00 (UDK FS 7.1.1b)
------------------------------8< CUT HERE >8------------------------------
*** src/backend/libpq/pqcomm.c.orig Sun Oct 8 02:21:25 2000
--- src/backend/libpq/pqcomm.c Sun Oct 8 02:42:57 2000
***************
*** 329,334 ****
--- 329,341 ----
return STATUS_ERROR;
}
+ /* Work around a bug in UnixWare 7.1.x - accept is not returning the
+ * correct family when the family is AF_UNIX.
+ */
+
+ if (port->raddr.sa.sa_family == 0)
+ port->raddr.sa.sa_family = AF_UNIX;
+
/* fill in the server (local) address */
addrlen = sizeof(port->laddr);
if (getsockname(port->sock, (struct sockaddr *) & port->laddr,
------------------------------8< CUT HERE >8------------------------------
***************************************************************************
*) Reading the PostgreSQL man pages on UnixWare
...
...
@@ -221,4 +174,3 @@ generate a PostgreSQL package for UnixWare 7.x, the man pages will be
integrated into the scohelp system.
I have not tried using the PostgreSQL man pages on OpenServer. Volunteers??
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录