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

Postgresql server src files for 8.1.4 on FreeBSD

From: bob(dot)middaugh(at)comcast(dot)net (Bob Middaugh)
To: pgsql-ports(at)postgresql(dot)org
Subject: Postgresql server src files for 8.1.4 on FreeBSD
Date: 2007-08-16 14:46:13
Message-ID: 081620071446.5999.46C46335000A7F890000176F221352857308099A0E0B0B0703D20D010D@comcast.net (view raw or flat)
Thread:
Lists: pgsql-ports
Hi all,

I'm just a FreeBSD Admin, not a DB admin and this is the first time I've installed Postgresql as I'm trying to build OpenNMS.  I have a clean install of 6.2-RELEASE.

I installed the FreeBSD port of the 8.1.4 server.  That went fine, no problems there.  I'm trying to compile the build for OpenNMS now and it wants some postgreql src files.  I untarred the FreeBSD port and I was able to find postgresql.h under /src/include, but now it wants pg_config.h and pg_config_os.h.  

I find pg_config.c under /src/bin/pg_config, but not pg_config.h or pg_config_os.h.  

I find pg_config.h.in, pg_config.h.win32 and pg_config_manual.h.  Still no pg_config.h or pg_config_os.h

I figured I'd download the 8.1.4 src from the postgresql site, but there isn't any.  Is it on an FTP server somewhere?  Or, is 8.1.4 unique to the FreeBSD ports system?

Does anyone know what I can do at this point?  

Is this more of a FreeBSD ports question?

This is the compilation that fails:

postgresql.compile:
       [cc] 1 total files to be compiled.
       [cc] In file included from /usr/ports/distfiles/postgresql-src/src/include/postgres.h:48,
       [cc]                  from /usr/local/opennms/source/work/postgresql/iplike.c:42:
       [cc] /usr/ports/distfiles/postgresql-src/src/include/c.h:53:23: pg_config.h: No such file or directory
       [cc] /usr/ports/distfiles/postgresql-src/src/include/c.h:56:72: pg_config_os.h: No such file or directory
       [cc] In file included from /usr/ports/distfiles/postgresql-src/src/include/c.h:822,
       [cc]                  from /usr/ports/distfiles/postgresql-src/src/include/postgres.h:48,
       [cc]                  from /usr/local/opennms/source/work/postgresql/iplike.c:42:
       [cc] /usr/ports/distfiles/postgresql-src/src/include/port.h:327: error: conflicting types for 'srandom'
       [cc] /usr/include/stdlib.h:210: error: previous declaration of 'srandom' was here
       [cc] /usr/ports/distfiles/postgresql-src/src/include/port.h:327: error: conflicting types for 'srandom'
       [cc] /usr/include/stdlib.h:210: error: previous declaration of 'srandom' was here
       [cc] In file included from /usr/include/setjmp.h:48,
       [cc]                  from /usr/ports/distfiles/postgresql-src/src/include/utils/elog.h:17,
       [cc]                  from /usr/ports/distfiles/postgresql-src/src/include/postgres.h:49,
       [cc]                  from /usr/local/opennms/source/work/postgresql/iplike.c:42:
       [cc] /usr/include/machine/setjmp.h:51: error: conflicting types for 'jmp_buf'
       [cc] /usr/include/machine/setjmp.h:48: error: previous declaration of 'jmp_buf' was here


Thanks,
Bob

Responses

pgsql-ports by date

Next:From: Peter EisentrautDate: 2007-08-16 14:55:29
Subject: Re: Postgresql server src files for 8.1.4 on FreeBSD
Previous:From: Tom LaneDate: 2007-08-08 14:47:05
Subject: Re: 64-Bit PostgreSQL on RHEL4 on IBM pSeries (Power5)

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