Hi,
I am attempting to install PostgreSQL on SCO OpenServer 5.05. I have managed to run configure OK and detects the "sco" template. Compilation works until it tries to make the "postgres" file. The command which fails is:
gcc -o postgres access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o parser/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o ../utils/version.o -lPW -lgen -lcrypt -lld -lnsl -lsocket -ldl -lm -ltermcap -lcurses -W l,-Bexport
The error message is:
gcc: l,-Bexport: No such file or directory
make[1]: *** [postgres] Error 1
make[1]: Leaving directory `/usr/src/pgsql/postgresql-6.5.3/src/backend'
make: *** [all] Error 2
If I remove the "LDFLAGS += -W l,-Bexport" line from Makefile.port then the program compiles OK, but when I try to run postmaster, I get the following:
IpcMemoryCreate: shmget failed (Invalid argument) key=5432001, size=1063936, permission=600
FATAL 1: ShmemCreate: cannot create region
Is there a problem with PostgreSQL on SCO OpenServer, or am I doing something wrong?
Thanks,
Mark.