pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedError while compiling PostgreSQL with Java
13+ messages / 6 participants
[nested] [flat]
* Error while compiling PostgreSQL with Java
@ 2007-11-25 16:32 Никоноров Григорий <smex@mail.ru>
2007-11-25 20:45 ` Re: Error while compiling PostgreSQL with Java Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 13+ messages in thread
From: Никоноров Григорий @ 2007-11-25 16:32 UTC (permalink / raw)
To: pgsql-admin
Hello!
I have a problem. I try to install PostgreSQL from source with java. I
Installed JDK, ANT properly but when i try to configure i have an error -
Warning.Ignored options - --with-java. Please help me !
[root@lab01 /]# export|grep java
declare -x JAVA_HOME="/usr/java/jdk1.6.0_03"
declare -x OLDPWD="/usr/java/jdk1.6.0_03/bin"
declare -x
PATH="/usr/java/jdk1.6.0_03/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/java/jdk1.6.0_03/bin:"
[root@lab01 rep]# java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode)
[root@lab01 /]# ant -version
Apache Ant version 1.6.5 compiled on August 30 2006
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: creating src/interfaces/ecpg/include/ecpg_config.h
config.status: src/interfaces/ecpg/include/ecpg_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/linux.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/linux.h to
src/include/dynloader.h
config.status: linking ./src/include/port/linux.h to
src/include/pg_config_os.h
config.status: linking ./src/makefiles/Makefile.linux to src/Makefile.port
configure: WARNING: option ignored: --with-java
Thanks in advance!
^ permalink raw reply [nested|flat] 13+ messages in thread
* Re: Error while compiling PostgreSQL with Java
2007-11-25 16:32 Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
@ 2007-11-25 20:45 ` Peter Eisentraut <peter_e@gmx.net>
2007-11-25 21:36 ` Re: Error while compiling PostgreSQL with Java Lew <lew@lwsc.ehost-services.com>
0 siblings, 1 reply; 13+ messages in thread
From: Peter Eisentraut @ 2007-11-25 20:45 UTC (permalink / raw)
To: pgsql-admin; +Cc: Никоноров Григорий <smex@mail.ru>
Никоноров Григорий wrote:
> I have a problem. I try to install PostgreSQL from source with java. I
> Installed JDK, ANT properly but when i try to configure i have an error -
> Warning.Ignored options - --with-java. Please help me !
PostgreSQL has no such option. You may be looking for the JDBC driver. If
so, see http://jdbc.postgresql.org/.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
^ permalink raw reply [nested|flat] 13+ messages in thread
* Re: Error while compiling PostgreSQL with Java
2007-11-25 16:32 Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
2007-11-25 20:45 ` Re: Error while compiling PostgreSQL with Java Peter Eisentraut <peter_e@gmx.net>
@ 2007-11-25 21:36 ` Lew <lew@lwsc.ehost-services.com>
2007-11-27 18:01 ` Re: [GENERAL] Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
0 siblings, 1 reply; 13+ messages in thread
From: Lew @ 2007-11-25 21:36 UTC (permalink / raw)
To: pgsql-admin@postgresql.org.pgsql-general
Peter Eisentraut wrote:
> Никоноров Григорий wrote:
>> I have a problem. I try to install PostgreSQL from source with java. I
>> Installed JDK, ANT properly but when i try to configure i have an error -
>> Warning.Ignored options - --with-java. Please help me !
>
> PostgreSQL has no such option. You may be looking for the JDBC driver. If
> so, see http://jdbc.postgresql.org/.
Yes, this answer has been provided to the OP already.
--
Lew
^ permalink raw reply [nested|flat] 13+ messages in thread
* Re: [GENERAL] Error while compiling PostgreSQL with Java
2007-11-25 16:32 Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
2007-11-25 20:45 ` Re: Error while compiling PostgreSQL with Java Peter Eisentraut <peter_e@gmx.net>
2007-11-25 21:36 ` Re: Error while compiling PostgreSQL with Java Lew <lew@lwsc.ehost-services.com>
@ 2007-11-27 18:01 ` Никоноров Григорий <smex@mail.ru>
0 siblings, 0 replies; 13+ messages in thread
From: Никоноров Григорий @ 2007-11-27 18:01 UTC (permalink / raw)
To: pgsql-admin; pgsql-general@postgresql.org
Thanks al for the answers !!! I solve my problem uninstalling source
PostgreSQL and installed from binarys. I use JDBC driver from
http://jdbc.postgresql.org/. Now all work fine. :)
p.s. Unfortunately i dont solve problem how to compile postgreSQL with
java but found very easy method to install PostgreSQL with full java
support from binarys.
Grigory.
On Mon, 26 Nov 2007 00:36:01 +0300, Lew <lew@lwsc.ehost-services.com>
wrote:
> Peter Eisentraut wrote:
>> Никоноров Григорий wrote:
>>> I have a problem. I try to install PostgreSQL from source with java. I
>>> Installed JDK, ANT properly but when i try to configure i have an
>>> error -
>>> Warning.Ignored options - --with-java. Please help me !
>> PostgreSQL has no such option. You may be looking for the JDBC
>> driver. If so, see http://jdbc.postgresql.org/.
>
> Yes, this answer has been provided to the OP already.
>
--
Отправлено M2, революционной почтовой программой Opera:
http://www.opera.com/mail/
^ permalink raw reply [nested|flat] 13+ messages in thread
* Error while compiling PostgreSQL with Java
@ 2007-11-25 16:37 Никоноров Григорий <smex@mail.ru>
0 siblings, 0 replies; 13+ messages in thread
From: Никоноров Григорий @ 2007-11-25 16:37 UTC (permalink / raw)
To: pgsql-admin
Hello!
I have a problem. I try to install PostgreSQL from source with java. I
Installed JDK, ANT properly but when i try to configure i have an error -
Warning.Ignored options - --with-java. Please help me !
[root@lab01 /]# export|grep java
declare -x JAVA_HOME="/usr/java/jdk1.6.0_03"
declare -x OLDPWD="/usr/java/jdk1.6.0_03/bin"
declare -x
PATH="/usr/java/jdk1.6.0_03/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/java/jdk1.6.0_03/bin:"
[root@lab01 rep]# java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode)
[root@lab01 /]# ant -version
Apache Ant version 1.6.5 compiled on August 30 2006
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: creating src/interfaces/ecpg/include/ecpg_config.h
config.status: src/interfaces/ecpg/include/ecpg_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/linux.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/linux.h to
src/include/dynloader.h
config.status: linking ./src/include/port/linux.h to
src/include/pg_config_os.h
config.status: linking ./src/makefiles/Makefile.linux to src/Makefile.port
configure: WARNING: option ignored: --with-java
Thanks in advance!
^ permalink raw reply [nested|flat] 13+ messages in thread
* Error while compiling PostgreSQL with Java
@ 2007-11-25 16:39 Никоноров Григорий <smex@mail.ru>
2007-11-25 17:18 ` Re: Error while compiling PostgreSQL with Java Kris Jurka <books@ejurka.com>
0 siblings, 1 reply; 13+ messages in thread
From: Никоноров Григорий @ 2007-11-25 16:39 UTC (permalink / raw)
To: pgsql-general@postgresql.org
Hello!
I have a problem. I try to install PostgreSQL from source with java. I
Installed JDK, ANT properly but when i try to configure i have an error -
Warning.Ignored options - --with-java. Please help me !
[root@lab01 /]# export|grep java
declare -x JAVA_HOME="/usr/java/jdk1.6.0_03"
declare -x OLDPWD="/usr/java/jdk1.6.0_03/bin"
declare -x
PATH="/usr/java/jdk1.6.0_03/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/java/jdk1.6.0_03/bin:"
[root@lab01 rep]# java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode)
[root@lab01 /]# ant -version
Apache Ant version 1.6.5 compiled on August 30 2006
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: creating src/interfaces/ecpg/include/ecpg_config.h
config.status: src/interfaces/ecpg/include/ecpg_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/linux.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/linux.h to
src/include/dynloader.h
config.status: linking ./src/include/port/linux.h to
src/include/pg_config_os.h
config.status: linking ./src/makefiles/Makefile.linux to src/Makefile.port
configure: WARNING: option ignored: --with-java
Thanks in advance!
^ permalink raw reply [nested|flat] 13+ messages in thread
* Re: Error while compiling PostgreSQL with Java
2007-11-25 16:39 Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
@ 2007-11-25 17:18 ` Kris Jurka <books@ejurka.com>
2007-11-25 17:24 ` Re: Error while compiling PostgreSQL with Java Lew <lew@lwsc.ehost-services.com>
2007-11-25 17:39 ` Re: Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
2007-11-25 22:29 ` Re: Error while compiling PostgreSQL with Java Martin Gainty <mgainty@hotmail.com>
0 siblings, 3 replies; 13+ messages in thread
From: Kris Jurka @ 2007-11-25 17:18 UTC (permalink / raw)
To: Никоноров Григорий <smex@mail.ru>; +Cc: pgsql-general@postgresql.org
On Sun, 25 Nov 2007, Никоноров Григорий wrote:
> I have a problem. I try to install PostgreSQL from source with java. I
> Installed JDK, ANT properly but when i try to configure i have an error -
> Warning.Ignored options - --with-java. Please help me !
>
Starting with the 8.0 release the JDBC driver was made an external project
instead of bundled with the server source code. The JDBC driver is
available from http://jdbc.postgresql.org/download.html
Kris Jurka
^ permalink raw reply [nested|flat] 13+ messages in thread
* Re: Error while compiling PostgreSQL with Java
2007-11-25 16:39 Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
2007-11-25 17:18 ` Re: Error while compiling PostgreSQL with Java Kris Jurka <books@ejurka.com>
@ 2007-11-25 17:24 ` Lew <lew@lwsc.ehost-services.com>
2 siblings, 0 replies; 13+ messages in thread
From: Lew @ 2007-11-25 17:24 UTC (permalink / raw)
To: pgsql-admin@postgresql.org.pgsql-general
Никоноров Григорий wrote:
>> I have a problem. I try to install PostgreSQL from source with java. I
>> Installed JDK, ANT properly but when i try to configure i have an error -
>> Warning.Ignored options - --with-java. Please help me !
Kris Jurka wrote:
> Starting with the 8.0 release the JDBC driver was made an external
> project instead of bundled with the server source code. The JDBC driver
> is available from http://jdbc.postgresql.org/download.html
Cross-posted to correct the OP's multi-post, so that pgsql.admin will also
contain the response(s).
--
Lew
^ permalink raw reply [nested|flat] 13+ messages in thread
* Re: Error while compiling PostgreSQL with Java
2007-11-25 16:39 Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
2007-11-25 17:18 ` Re: Error while compiling PostgreSQL with Java Kris Jurka <books@ejurka.com>
@ 2007-11-25 17:39 ` Никоноров Григорий <smex@mail.ru>
2007-11-25 18:08 ` Re: Error while compiling PostgreSQL with Java Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
2007-11-25 18:16 ` Re: Error while compiling PostgreSQL with Java Lew <lew@lwsc.ehost-services.com>
2 siblings, 2 replies; 13+ messages in thread
From: Никоноров Григорий @ 2007-11-25 17:39 UTC (permalink / raw)
To: Kris Jurka <books@ejurka.com>; +Cc: pgsql-general@postgresql.org
Hi Kris
Thanks for your answer.When i download this "JDBC4 Postgresql Driver,
Version 8.2-506" driver what should i do next to configure PostgreSQL with
it ?
Thanks
On Sun, 25 Nov 2007 20:18:44 +0300, Kris Jurka <books@ejurka.com> wrote:
>
>
> On Sun, 25 Nov 2007, Никоноров Григорий wrote:
>
>> I have a problem. I try to install PostgreSQL from source with java. I
>> Installed JDK, ANT properly but when i try to configure i have an error
>> -
>> Warning.Ignored options - --with-java. Please help me !
>>
>
> Starting with the 8.0 release the JDBC driver was made an external
> project instead of bundled with the server source code. The JDBC driver
> is available from http://jdbc.postgresql.org/download.html
>
> Kris Jurka
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org/
>
>
> __________ NOD32 2684 (20071125) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
--
Отправлено M2, революционной почтовой программой Opera:
http://www.opera.com/mail/
^ permalink raw reply [nested|flat] 13+ messages in thread
* Re: Error while compiling PostgreSQL with Java
2007-11-25 16:39 Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
2007-11-25 17:18 ` Re: Error while compiling PostgreSQL with Java Kris Jurka <books@ejurka.com>
2007-11-25 17:39 ` Re: Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
@ 2007-11-25 18:08 ` Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
2007-11-25 18:18 ` Re: Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
1 sibling, 1 reply; 13+ messages in thread
From: Stefan Kaltenbrunner @ 2007-11-25 18:08 UTC (permalink / raw)
To: Никоноров Григорий <smex@mail.ru>; +Cc: Kris Jurka <books@ejurka.com>; pgsql-general@postgresql.org
Никоноров Григорий wrote:
> Hi Kris
>
> Thanks for your answer.When i download this "JDBC4 Postgresql Driver,
> Version 8.2-506" driver what should i do next to configure PostgreSQL
> with it ?
there is nothing you need on the backend side (except for maybe setting
up authentication as with every other client).
Stefan
^ permalink raw reply [nested|flat] 13+ messages in thread
* Re: Error while compiling PostgreSQL with Java
2007-11-25 16:39 Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
2007-11-25 17:18 ` Re: Error while compiling PostgreSQL with Java Kris Jurka <books@ejurka.com>
2007-11-25 17:39 ` Re: Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
2007-11-25 18:08 ` Re: Error while compiling PostgreSQL with Java Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
@ 2007-11-25 18:18 ` Никоноров Григорий <smex@mail.ru>
0 siblings, 0 replies; 13+ messages in thread
From: Никоноров Григорий @ 2007-11-25 18:18 UTC (permalink / raw)
To: Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>; +Cc: Kris Jurka <books@ejurka.com>; pgsql-general@postgresql.org
I try to describe my problem. I need to switch JIRA to PostgreSQL DB. I
try to do how explain in
http://www.atlassian.com/software/jira/docs/latest/databases/postgres.html
and confronted with some difficulties.
Now i want understand how it works and should i configure postgreSQL with
java or not.
On Sun, 25 Nov 2007 21:08:44 +0300, Stefan Kaltenbrunner
<stefan@kaltenbrunner.cc> wrote:
> Никоноров Григорий wrote:
>> Hi Kris
>>
>> Thanks for your answer.When i download this "JDBC4 Postgresql Driver,
>> Version 8.2-506" driver what should i do next to configure PostgreSQL
>> with it ?
>
> there is nothing you need on the backend side (except for maybe setting
> up authentication as with every other client).
>
>
> Stefan
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
>
> __________ NOD32 2684 (20071125) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
--
Отправлено M2, революционной почтовой программой Opera:
http://www.opera.com/mail/
^ permalink raw reply [nested|flat] 13+ messages in thread
* Re: Error while compiling PostgreSQL with Java
2007-11-25 16:39 Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
2007-11-25 17:18 ` Re: Error while compiling PostgreSQL with Java Kris Jurka <books@ejurka.com>
2007-11-25 17:39 ` Re: Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
@ 2007-11-25 18:16 ` Lew <lew@lwsc.ehost-services.com>
1 sibling, 0 replies; 13+ messages in thread
From: Lew @ 2007-11-25 18:16 UTC (permalink / raw)
To: pgsql-admin@postgresql.org.pgsql-general
Никоноров Григорий wrote:
> Thanks for your answer.When i [sic] download this "JDBC4 Postgresql Driver,
> Version 8.2-506" driver what should i do next to configure PostgreSQL
> with it ?
Place the JAR containing the driver in the classpath for your Java
application. In the Java program be sure to load the org.postgresql.Driver
class and establish the connection to the database via a URL such as
jdbc:postgresql://yourhost:5432/yourdb. (JNDI is another approach which does
these steps via a declarative approach.)
If you had read any of the PG JDBC documentation
<http://jdbc.postgresql.org/documentation/82/index.html;
you might have found instructions there. Chapters 2 and 3 of the referenced
link (from the very same site from which you got the driver) go into some detail.
<http://java.sun.com/; has some excellent information about JDBC in general.
<http://java.sun.com/docs/books/tutorial/jdbc/index.html;
SunIYF, PGIYF (in this case, jdbc.postgresql.org IYF) and GIYF.
--
Lew
^ permalink raw reply [nested|flat] 13+ messages in thread
* Re: Error while compiling PostgreSQL with Java
2007-11-25 16:39 Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
2007-11-25 17:18 ` Re: Error while compiling PostgreSQL with Java Kris Jurka <books@ejurka.com>
@ 2007-11-25 22:29 ` Martin Gainty <mgainty@hotmail.com>
2 siblings, 0 replies; 13+ messages in thread
From: Martin Gainty @ 2007-11-25 22:29 UTC (permalink / raw)
To: Kris Jurka <books@ejurka.com>; +Cc: pgsql-general@postgresql.org
Please post errors and your full environment configurationJDK versionJRE version (if different)
This would be a good time to look into loggers specifically either commons-logging or log4j Martin______________________________________________Disclaimer and confidentiality noteEverything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.> Date: Sun, 25 Nov 2007 12:18:44 -0500> From: books@ejurka.com> To: smex@mail.ru> CC: pgsql-general@postgresql.org> Subject: Re: [GENERAL] Error while compiling PostgreSQL with Java> > > > On Sun, 25 Nov 2007, Никоноров Григорий wrote:> > > I have a problem. I try to install PostgreSQL from source with java. I> > Installed JDK, ANT properly but when i try to configure i have an error -> > Warning.Ignored options - --with-java. Please help me !> >> > Starting with the 8.0 release the JDBC driver was made an external project > instead of bundled with the server source code. The JDBC driver is > available from http://jdbc.postgresql.org/download.html; > Kris Jurka> ---------------------------(end of broadcast)---------------------------> TIP 4: Have you searched our list archives?> > http://archives.postgresql.org/
_________________________________________________________________
Your smile counts. The more smiles you share, the more we donate. Join in.
www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline=
^ permalink raw reply [nested|flat] 13+ messages in thread
end of thread, other threads:[~2007-11-27 18:01 UTC | newest]
Thread overview: 13+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-11-25 16:32 Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
2007-11-25 20:45 ` Peter Eisentraut <peter_e@gmx.net>
2007-11-25 21:36 ` Lew <lew@lwsc.ehost-services.com>
2007-11-27 18:01 ` Никоноров Григорий <smex@mail.ru>
2007-11-25 16:37 Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
2007-11-25 16:39 Error while compiling PostgreSQL with Java Никоноров Григорий <smex@mail.ru>
2007-11-25 17:18 ` Kris Jurka <books@ejurka.com>
2007-11-25 17:24 ` Lew <lew@lwsc.ehost-services.com>
2007-11-25 17:39 ` Никоноров Григорий <smex@mail.ru>
2007-11-25 18:08 ` Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
2007-11-25 18:18 ` Никоноров Григорий <smex@mail.ru>
2007-11-25 18:16 ` Lew <lew@lwsc.ehost-services.com>
2007-11-25 22:29 ` Martin Gainty <mgainty@hotmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox