agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] pljava.so wont compile - now it does! :)
Date: Sat, 12 Jan 2013 23:47:38 +0100
Message-ID: <20130112234738.03b606b1@james.intern> (raw)
In-Reply-To: <20130111204013.00e19939@james.intern>
References: <20130111204013.00e19939@james.intern>
Hello
Wow, I finally got it working. Took me only 2h :-)
I got a strange error message with the test suite though. Already tried to
replace the "UTC" with "GMT" but somehow it does not show any effect:
java -cp /usr/share/java/postgresql.jar:target/pljava-jdbc-0.0.1-SNAPSHOT.jar:target/pljava-examples-0.0.1-SNAPSHOT.jar:target/pljava-api-0.0.1-SNAPSHOT.jar:target/org.postgresql.pljava.test.jar org.postgresql.pljava.test.Tester -user postgres -password geheim -database pljava
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
*** testTimestamp()
Timestamp = 2013-01-12 23:44:07.336, Timestamptz = 2013-01-12 23:44:07.338
org.postgresql.util.PSQLException: ERROR: java.lang.SecurityException: read on /usr/share/javazi/UTC
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366)
at org.postgresql.pljava.test.Tester.testTimestamp(Tester.java:527)
at org.postgresql.pljava.test.Tester.testParameters(Tester.java:288)
at org.postgresql.pljava.test.Tester.main(Tester.java:227)
What are your plans on integrating javah and the C sources into maven?
Is it possible to tell maven to first compile the java stuff and then
generate C header files from two sub-projects before finally compiling
the C project?
bye,
-christian-
Am Fri, 11 Jan 2013 20:40:13 +0100
schrieb Christian Hammers <ch at lathspell.de>:
> Hello
>
> With the hellblazer git repository code I finally got four .jar files
> but now I wonder how to compile the shared library from the C sources.
> None of the Makefiles seem to work and the pom.xml contains no
> reference to a C compiler:
>
> -=(~/workspace/pljava/lathspell-master/C)$ make
> make[1]: Entering directory
> `/srv/home/james/workspace/pljava/lathspell-master/C/build/classes/pljava'
> make[1]: /srv/home/james/workspace/pljava/lathspell-master/C/src/java/pljava/Makefile:
> No such file or directory make[1]: *** No rule to make target
> `/srv/home/james/workspace/pljava/lathspell-master/C/src/java/pljava/Makefile'.
> Stop. make[1]: Leaving directory
> `/srv/home/james/workspace/pljava/lathspell-master/C/build/classes/pljava'
> make: *** [pljava_all] Error 2
>
> -=(~/workspace/pljava/lathspell-master/C/pljava)$ make
> find: `/pljava': No such file or directory
> make: Nothing to be done for `checkjavahome'.
>
> (I'm using gcc-4.7 and Oracle/OpenJDK-1.7.
>
> bye,
>
> -christian-
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at pgfoundry.org
> http://lists.pgfoundry.org/mailman/listinfo/pljava-dev
view thread (3+ messages) latest in thread
Message-ID: <20130112234738.03b606b1@james.intern>
Permalink: ../20130112234738.03b606b1@james.intern/
Also on: postgresql.org/message-id/20130112234738.03b606b1@james.intern
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.so wont compile - now it does! :)
In-Reply-To: <20130112234738.03b606b1@james.intern>
* 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