Re: Won't Build

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Thorsten Haude'" <postgresql(at)thorstenhau(dot)de>, "'PostgreSQL JDBC ML'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Won't Build
Date: 2002-03-17 20:18:10
Message-ID: 000a01c1cdf0$dc2c2410$807ba8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hmmm.... This is a little troublesome, there should be a file in your
bin directory called just ant

[root(at)ebox2 jdbc]# ls /usr/local/jakarta/jakarta-ant-1.4.1/bin -l
total 36
drwxrwxr-x 2 root root 4096 Nov 28 18:31 .
drwxrwxr-x 5 root root 4096 Nov 28 18:31 ..
-rwxr-xr-x 1 root root 3280 Oct 11 09:57 ant
-rw-r--r-- 1 root root 3056 Oct 11 09:57 ant.bat
-rwxr-xr-x 1 root root 77 Oct 11 09:57 antRun
-rw-r--r-- 1 root root 301 Oct 11 09:57 antRun.bat
-rw-r--r-- 1 root root 212 Oct 11 09:57 lcp.bat
-rw-r--r-- 1 root root 3736 Oct 11 09:57 runant.pl
-rw-r--r-- 1 root root 2705 Oct 11 09:57 runant.py

[root(at)ebox2 jdbc]# ant -version
Ant version 1.4.1 compiled on October 11 2001
[root(at)ebox2 jdbc]#

I just tried this with the latest version of the code and it worked
fine.

Dave
> -----Original Message-----
> From: pgsql-jdbc-owner(at)postgresql(dot)org
> [mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Thorsten Haude
> Sent: Sunday, March 17, 2002 3:20 PM
> To: PostgreSQL JDBC ML
> Subject: [JDBC] Won't Build
>
>
> Hi,
>
> I'm trying to build PostgreSQL and have problems with JDBC support.
>
> I call configure with the --with-java option (among others)
> but the configure run ends like this:
> - - - Schnipp - - -
> checking whether to build Java/JDBC tools... yes
> checking for jakarta-ant... no
> checking for ant... no
> checking for ant.sh... no
> checking for ant.bat... /opt/java/ant/bin/ant.bat
> checking whether /opt/java/ant/bin/ant.bat works... no
> configure: error: ant does not work
> - - - Schnapp - - -
>
> I was not surprised that batch files don't work on my Linux
> box. However, checking my Ant installation, I couldn't find
> neither 'ant' nor 'ant.sh':
> - - - Schnipp - - -
> yooden(at)eumel> ll $ANT_HOME/bin
> insgesamt 20
> -rw-r--r-- 1 root root 3056 Mär 17 20:17 ant.bat
> -rw-r--r-- 1 root root 301 Mär 17 20:17 antRun.bat
> -rw-r--r-- 1 root root 212 Mär 17 20:17 lcp.bat
> -rw-r--r-- 1 root root 3736 Mär 17 20:17 runant.pl
> -rw-r--r-- 1 root root 2705 Mär 17 20:17 runant.py
> - - - Schnapp - - -
>
> I found a similar question in the archives:
> (http://archives.postgresql.org/pgsql-jdbc/2002-01/msg00223.php)
> There are two answers, one which asked whether Ant was
> properly installed, the other pointed out that batch files
> won't run on Linux.
>
> Now the problem is neither of these but the simple fact that
> Ant 1.4.1 doesn't come with 'ant.sh', neither binary nor
> source distribution.
>
> I guess here are some people who installed PostgreSQL with
> JDBC, so the question is: How is is done?
>
> My software:
> SuSE Linux 7.2 (2.4.4-4GB)
> PostgreSQL 7.2
> Java 1.3.0
> Ant 1.4.1
>
> Thanks in advance!
> Thorsten
> --
> The best leaders are those barely known to their followers;
> after them, those they love; after them, those they fear;
> after them, those they despise.
> - Lao Tzu
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
>

In response to

  • Won't Build at 2002-03-17 20:20:03 from Thorsten Haude

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thorsten Haude 2002-03-17 20:20:03 Won't Build
Previous Message Dave Cramer 2002-03-17 19:51:50 Re: JDBC Logging & log4j