Roger While (simrw@sim-basis.de) reports a bug with a severity of 1
The lower the number the more severe it is.
Short Description
7.1.3 will not compile/install on SCO Open Server 5.0.4/5.0.5
Long Description
Firstly, "make" blows with undefined symbol "NOFILE" in
"src/backend/storage/file/fd.c". I temporarily changed this
to a hard-coded value.
Maybe should insert an #ifndef NOFILE after the normal includes.
After correcting this the Make actually completes; however
without creating any shared libraries, so that the "make install" blows.
What's missing is the following in "src/Makefile.shlib"
ifeq ($(PORTNAME), sco)
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
ifndef cplusplus
ifeq ($(GCC), yes)
LINK.shared = $(CC) -shared
else
LINK.shared = $(CC) -G
endif
else
ifeq ($(GXX), yes)
LINK.shared = $(CXX) -shared
else
LINK.shared = $(CXX) -G
endif
endif
LINK.shared += -Wl,-z,text -Wl,-h,$(soname)
endif
Also to note for SCO is that apart from the obligatory base
patch (RS504C for 5.0.4, RS505A for 5.0.5) the following
patches MUST be applied BEFORE the make ;-)
OSS459B
OSS495C
OSS499A
Other patches MAY be relevant according to your system.
Note that the kernel parameters for semaphores/shared memory must
be upped to enable Postgresql to run.
Regards
Roger While
Sample Code
No file was uploaded with this report