Skip site navigation (1) Skip section navigation (2)

Compiling on 8.1.3 on Openserver 5.05

From: Mark Campbell <mark(dot)campbell(at)ucs-software(dot)co(dot)za>
To: pgsql-ports(at)postgresql(dot)org
Subject: Compiling on 8.1.3 on Openserver 5.05
Date: 2006-05-11 14:00:30
Message-ID: 4463437E.5020108@ucs-software.co.za (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackerspgsql-ports
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


Responses

pgsql-ports by date

Next:From: Tom LaneDate: 2006-05-11 15:03:12
Subject: Re: Compiling on 8.1.3 on Openserver 5.05
Previous:From: Tom LaneDate: 2006-05-10 05:03:55
Subject: Re: bug 1627 on current versions of postgres and macos

pgsql-hackers by date

Next:From: Martijn van OosterhoutDate: 2006-05-11 14:03:16
Subject: Re: Bug in signal handler
Previous:From: Bruce MomjianDate: 2006-05-11 13:36:01
Subject: Re: [COMMITTERS] pgsql: Clean up code associated with updating

pgsql-general by date

Next:From: Carlos OlivaDate: 2006-05-11 14:10:50
Subject: Reindexdb
Previous:From: Tom LaneDate: 2006-05-11 14:00:17
Subject: Re: [GENERAL] Debugging SQL queries

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group