Make on SCO Open Server - Mailing list pgsql-bugs

From Roger While
Subject Make on SCO Open Server
Date
Msg-id 4.3.2.7.2.20010523114018.00d0fa20@192.168.6.1
Whole thread Raw
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Peter Kelly
Date:
Subject: RE: DATE_PART() BUG? We have an SQL statement that is giving wro ng output.
Next
From: Tomasz Wegrzanowski
Date:
Subject: config.h name clash