pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Campbell <mark.campbell@ucs-software.co.za>
To: pgsql-ports@postgresql.org
Subject: Compiling on 8.1.3 on Openserver 5.05
Date: Thu, 11 May 2006 16:00:30 +0200
Message-ID: <4463437E.5020108@ucs-software.co.za> (raw)

Hi

I have searched the archives, and a lot of people seem to have hassles 
with this, but I cannot seem to find anything related to my problems.

OS - Sco Openserver 5.05

Software installed from Caldera Skunkware ftp site:
Flex - Fast Lexical Analyzer (ver 2.5.4)
GCC - GNU Compiler Collection (ver 2.95.2pl1)
GNU Parser Generator (ver 1.25)
GNU make (ver 3.78.1)
GZIP GNU Compress (ver 1.2.4)
Readline (ver 2.1)
zlib - unencumbered lossless data-compression library (ver 1.1.4)
SCO OpenServer Linker and Application Development Libraries

The history:
1)Installed postgres version 7.2.1 from skunkware, but I ended up with 
"bus errors"
2) Thought I would be clever and download the latest source 8.1.3 and 
compile it on my system (see above for software installed)
3) First the "configure" command gave me all sorst of hassles.
4) Finally got that to work
5) Now the gmake does not work, and I am at the end of my tether

The end of the "configure" run, it looks ok to me, but maybe the experts 
can see if it created everything it needed to:

configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating src/Makefile.global
config.status: creating src/include/pg_config.h
config.status: src/include/pg_config.h is unchanged
config.status: linking ./src/backend/port/tas/dummy.s to 
src/backend/port/tas.s
config.status: linking ./src/backend/port/dynloader/sco.c to 
src/backend/port/dynloader.c
config.status: linking ./src/backend/port/sysv_sema.c to 
src/backend/port/pg_sema.c
config.status: linking ./src/backend/port/sysv_shmem.c to 
src/backend/port/pg_shmem.c
config.status: linking ./src/backend/port/dynloader/sco.h to 
src/include/dynloader.h
config.status: linking ./src/include/port/sco.h to 
src/include/pg_config_os.h
config.status: linking ./src/makefiles/Makefile.sco to src/Makefile.port

Now the "gmake" command:

gmake -C doc all
gmake[1]: Entering directory `/tmp/mdc_postgres8.1.3/postgresql-8.1.3/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/tmp/mdc_postgres8.1.3/postgresql-8.1.3/doc'
gmake -C src all
gmake[1]: Entering directory `/tmp/mdc_postgres8.1.3/postgresql-8.1.3/src'
gmake -C port all
gmake[2]: Entering directory 
`/tmp/mdc_postgres8.1.3/postgresql-8.1.3/src/port'
gcc -b elf -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline 
-fno-strict-aliasing -g -I../../src/port -DFRONTEND 
-I../../src/include   -c -o getaddrinfo.o getaddrinfo.c
getaddrinfo.c: In function `pg_getaddrinfo':
getaddrinfo.c:189: warning: implicit declaration of function `htonl'
getaddrinfo.c:211: `h_errno' undeclared (first use in this function)
getaddrinfo.c:211: (Each undeclared identifier is reported only once
getaddrinfo.c:211: for each function it appears in.)
getaddrinfo.c:215: warning: unreachable code at beginning of switch 
statement
getaddrinfo.c:238: warning: implicit declaration of function `htons'
getaddrinfo.c: In function `pg_getnameinfo':
getaddrinfo.c:416: warning: implicit declaration of function `ntohs'
gmake[2]: *** [getaddrinfo.o] Error 1
gmake[2]: Leaving directory 
`/tmp/mdc_postgres8.1.3/postgresql-8.1.3/src/port'
gmake[1]: *** [all] Error 2

Any help here would be greatly appreciated

Thx

-- 

Mark Campbell

Confidentiality Notice: http://ucs.co.za/conf.html




view thread (18+ messages)  latest in thread

Message-ID: <4463437E.5020108@ucs-software.co.za>
Permalink:  ../4463437E.5020108@ucs-software.co.za/
Also on:    postgresql.org/message-id/4463437E.5020108@ucs-software.co.za

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: mark.campbell@ucs-software.co.za
  Subject: Re: Compiling on 8.1.3 on Openserver 5.05
  In-Reply-To: <4463437E.5020108@ucs-software.co.za>
  References: <4463437E.5020108@ucs-software.co.za>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox