agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] pljava install on SunOS fails
Date: Wed, 2 May 2007 10:23:42 -0400
Message-ID: <32763e560705020723n35b85382vae49a64e1bee05bc@mail.gmail.com> (raw)
I downloaded http://pgfoundry.org/frs/download.php/966/pljava
-src-1.3.0.tar.gz unpacked it and issued a make command inside pljava-1.3.0.
My main concern is that make dies when compiling XactListener.c:
/usr/local/pljava-1.3.0/src/C/pljava/XactListener.c:24: error: parse error
before "event"
/usr/local/pljava-1.3.0/src/C/pljava/XactListener.c: In function `xactCB':
/usr/local/pljava-1.3.0/src/C/pljava/XactListener.c:28: error: `arg'
undeclared (first use in this function)
/usr/local/pljava-1.3.0/src/C/pljava/XactListener.c:28: error: (Each
undeclared identifier is reported only once
/usr/local/pljava-1.3.0/src/C/pljava/XactListener.c:28: error: for each
function it appears in.)
/usr/local/pljava-1.3.0/src/C/pljava/XactListener.c:29: error: `event'
undeclared (first use in this function)
/usr/local/pljava-1.3.0/src/C/pljava/XactListener.c:31: error:
`XACT_EVENT_ABORT' undeclared (first use in this function)
/usr/local/pljava-1.3.0/src/C/pljava/XactListener.c:34: error:
`XACT_EVENT_COMMIT' undeclared (first use in this function)
/usr/local/pljava-1.3.0/src/C/pljava/XactListener.c:38: error:
`XACT_EVENT_PREPARE' undeclared (first use in this function)
/usr/local/pljava-1.3.0/src/C/pljava/XactListener.c: In function
`Java_org_postgresql_pljava_internal_XactListener__1register':
/usr/local/pljava-1.3.0/src/C/pljava/XactListener.c:84: warning: implicit
declaration of function `RegisterXactCallback'
/usr/local/pljava-1.3.0/src/C/pljava/XactListener.c: In function
`Java_org_postgresql_pljava_internal_XactListener__1unregister':
/usr/local/pljava-1.3.0/src/C/pljava/XactListener.c:107: warning: implicit
declaration of function `UnregisterXactCallback'
Make did some work before hitting the error and generated various warnings
about redefining the constant _FILE_OFFSET_BITS (see at end of msg). pgsql
is version (PostgreSQL) 8.2.4. Redfining may actually be ok. Does anybody
know for sure ?
In file included from /usr/local/pgsql/include/server/c.h:53,
from /usr/local/pgsql/include/server/postgres.h:48,
from /usr/local/pljava-1.3.0/src/C/include/pljava/pljava
.h:29,
from /usr/local/pljava-1.3.0/src/C/include/pljava
/JNICalls.h:12,
from /usr/local/pljava-1.3.0/src/C/include/pljava
/PgObject.h:12,
from /usr/local/pljava-1.3.0/src/C/include/pljava
/type/Type.h:12,
from /usr/local/pljava-1.3.0/src/C/include/pljava
/Function.h:12,
from /usr/local/pljava-1.3.0/src/C/include/pljava
/Backend.h:12,
from /usr/local/pljava-1.3.0/src/C/pljava/XactListener.c:9:
/usr/local/pgsql/include/server/pg_config.h:656:1: warning:
"_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/stdio_iso.h:35,
from /usr/local/lib/gcc/sparc-sun-solaris2.9
/3.4.2/include/stdio.h:36,
from /usr/jdk/include/jni.h:21,
from /usr/local/pljava-1.3.0/src/C/include/pljava/pljava
.h:12,
from /usr/local/pljava-1.3.0/src/C/include/pljava
/JNICalls.h:12,
from /usr/local/pljava-1.3.0/src/C/include/pljava
/PgObject.h:12,
from /usr/local/pljava-1.3.0/src/C/include/pljava
/type/Type.h:12,
from /usr/local/pljava-1.3.0/src/C/include/pljava
/Function.h:12,
from /usr/local/pljava-1.3.0/src/C/include/pljava
/Backend.h:12,
from /usr/local/pljava-1.3.0/src/C/pljava/XactListener.c:9:
Here is a bit of further info about the system:
uname -s => SunOS
uname -m => sun4u
The c compiler used is gcc version 3.4.2
make is GNU Make 3.80
Does anybody have a tip ?
Monika
--
Monika Mevenkamp
Georgia Institute of Technology
Library and Information Center
Phone: 404.385.0108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20070502/357d8e81/attachment.html;
Message-ID: <32763e560705020723n35b85382vae49a64e1bee05bc@mail.gmail.com>
Permalink: ../32763e560705020723n35b85382vae49a64e1bee05bc@mail.gmail.com/
Also on: postgresql.org/message-id/32763e560705020723n35b85382vae49a64e1bee05bc@mail.gmail.com
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 using the --to and --cc options:
reply via email
To: pljava-dev@postgresql.org
Subject: Re: [Pljava-dev] pljava install on SunOS fails
In-Reply-To: <32763e560705020723n35b85382vae49a64e1bee05bc@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox