X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 139109FA176 for ; Thu, 11 May 2006 11:10:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 18023-06 for ; Thu, 11 May 2006 11:10:22 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 396839F9430 for ; Thu, 11 May 2006 11:10:21 -0300 (ADT) Received: from ucsns.ucs.co.za (ucsns.ucs.co.za [196.23.43.2]) by svr4.postgresql.org (Postfix) with ESMTP id 6EAD65B0454 for ; Thu, 11 May 2006 14:04:59 +0000 (GMT) Received: from ucspost.ucs.co.za (ucspost.ucs.co.za [196.23.43.3]) by ucsns.ucs.co.za (Postfix) with ESMTP id 480032BD47 for ; Thu, 11 May 2006 16:04:55 +0200 (SAST) Received: from jhb.ucs.co.za (jhb.ucs.co.za [172.31.1.3]) by ucspost.ucs.co.za (Postfix) with ESMTP id 5CD4DD9DF8 for ; Thu, 11 May 2006 16:04:55 +0200 (SAST) Received: from [172.31.1.156] (mdc.ucs.co.za [172.31.1.156]) by jhb.ucs.co.za (Postfix) with ESMTP id 3461797DBD for ; Thu, 11 May 2006 16:04:55 +0200 (SAST) Message-ID: <4463437E.5020108@ucs-software.co.za> Date: Thu, 11 May 2006 16:00:30 +0200 From: Mark Campbell User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: pgsql-ports@postgresql.org Subject: Compiling on 8.1.3 on Openserver 5.05 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/6 X-Sequence-Number: 2387 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