Thread: Make on SCO Open Server

Make on SCO Open Server

From
Roger While
Date:
Hi,
    Re. Making Pgsql on SCO Open Server
    Version 7.1.1

    Firstly, "make" blows with undefined symbol "NOFILE" in
    "src/backend/storage/file/fd.c". I temporarily changed this
    to a hard-coded value.
    After correcting this the Make actually completes; however; without
creating
    any shared libraries, so that the "make install" blows.
    What's missing is the follwing 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



Regards


Roger While