Обсуждение: Installing PostgreSQL 7.1.2 on SCO Open Server 5.0.5
Hi,
I tried to compile and install PostgreSQL 7.1.2 on SCO Open Server 5.0.5. Though not stated in doc/FAQ_SCO, it wasn't possible until I disabled shared library support (configure --disable-shared) and changed some lines in src/backend/storage/file/fd.c .
Apart from a minor problem with readline (the [1] key on the keyboard didn't work, so I recompiled without readline) PostgreSQL seems to work now. Unfortunately PL/pgSQL can't be used (the shared library 'plpgsql.so' is not built and the static plpgsql.a cannot be used as handler).
Any suggestions how to get PL/pgSQL working?
Thanks
pit
Waldispuehl, Peter writes: > I tried to compile and install PostgreSQL 7.1.2 on SCO Open Server 5.0.5. > Though not stated in doc/FAQ_SCO, it wasn't possible until I disabled shared > library support (configure --disable-shared) and changed some lines in > src/backend/storage/file/fd.c . Clearly, this needs to be fixed, but it's hard to tell how from this description. -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
Funny you should mention it . I just build it last week. The switches
are the same as for unixware. So ...
in Makefile.shlib add
ifeq ($(PORTNAME), sco)
install-shlib-dep := install-shlib
shlib :=
lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(S
O_MINOR_VERSION)
LDFLAGS_SL := -G -z text
CFLAGS += $(CFLAGS_SL)
ifeq ($(CXX), CC)
CXXFLAGS += -Xw
COMPILE.cc = $(CXX) $(CXXFLAGS:ll,alloca=ll) $(CPPFLAGS)
$(TARGET_ARCH) -c
endif
endif
Delete all of the .o and remake. Works fine
Peter Eisentraut wrote:
> Waldispuehl, Peter writes:
>
>
>>I tried to compile and install PostgreSQL 7.1.2 on SCO Open Server 5.0.5.
>>Though not stated in doc/FAQ_SCO, it wasn't possible until I disabled shared
>>library support (configure --disable-shared) and changed some lines in
>>src/backend/storage/file/fd.c .
>>
>
> Clearly, this needs to be fixed, but it's hard to tell how from this
> description.
>
>