Hi all,

I'm trying to install PostgreSQL 6.4.2., and all went well -including 
initdb- until I typed createdb. This resulted in a known error concerning 
ipc/semctl. Although this problem has been posted earlier to the lists, I 
haven't seen an answer yet.

Maybe someone has found a solution?

Thanks,

Jelle.


MY SYSTEM
---------
SGI-IRIX 6.2 IP22
R4600
Indy 8-bit

MY SOFTWARE
-----------
gcc 2.8.1      -        installable from freeware.sgi.com
gmake 3.76.1   -        idem
PostgreSQL 6.4.2.


INSTALL ACTIONS
---------------
.0. changed makefiles:
- added in src/Makefile.shlib (as read in a mailinglist/newsgroup)

ifeq ($(PORTNAME), irix5)
  install-shlib-dep     := install-shlib
  shlib                         := 
lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
  LDFLAGS_SL            := -shared
  CFLAGS                        += $(CFLAGS_SL)
endif

- commented out in src/interfaces/Makefile:
ecpg and odbc, cause it didn't work earlier and I don't need it

.1.     cofigured:
- configure \
        --with-prefix=/disk3/usr/local/pgsql \
        --with-CC=gcc \
        --with-CXX=g++ \
        --with-pgport=5432

.2.     made:
-       make-options in Makefile.custom:
        CFLAGS=-g -O2
        COPT=-mabi=n32 �mips3
        LD=ld �n32
        MK_NO_LORDER=1

.3. installed

.4. initdb

.5. started postmaster
-       after starting up postmaster: postmaster -i &
        ps -ef | grep 'pgs*'
 ..
        pgsql  5338  5069  0 11:38:11 pts/0   0:00 
/disk3/usr/local/pgsql/bin/postmaster -i

.6. createdb
-       after starting createdb:
        error:  IpcSemaphoreCreate: semctl failed (Bad address) id=1

        ps -ef | grep 'pgs*'
        pgsql  5345  5343  0 11:39:45 pts/0   0:00 psql -tq -c create database 
pgsql   template1 
        pgsql  5346  5338  0 11:39:45 pts/0   0:00 
/disk3/usr/local/pgsql/bin/postmaster -i    
        pgsql  5350  3812 12 11:40:19 pts/2   0:00 ps -ef 
        pgsql  3812  3811  0 08:15:57 pts/2   0:02 -tcsh 
        pgsql  5069  5068  0 10:42:01 pts/0   0:02 -tcsh 
        pgsql  5338  5069  0 11:38:11 pts/0   0:00 
/disk3/usr/local/pgsql/bin/postmaster -i    
        pgsql  5343  5069  0 11:39:45 pts/0   0:00 /bin/sh 
/disk3/usr/local/pgsql/bin/createdb 

--------------------------------------------------------------
                   NEROC Publishing Solutions

                      Jelle Ruttenberg

De Run 1131, 5503 LB Veldhoven    Phone  : +31-(0)40-2586641
P.O.Box 133, 5500 AC Veldhoven    Fax    : +31-(0)40-2541893
The Netherlands                   E-mail : [EMAIL PROTECTED]
--------------------------------------------------------------

Reply via email to