Обсуждение: problems installing 7.3.4 with java
Greetings,
I am having a little difficulty installing PostgreSQL7.3.4 with java.
The box is is running SuSE9.2 linux.
I have environmental variables set in bash-profile as:
JAVA_HOME=wherever
export JAVACMD=other_place
export ANT_HOME=someplace_else
export PATH=$PATH}:${ANT_HOME}/bin
I decempressed the postgresql-7.3.4 tarball and execute the script:
./configure --with-java
but I het the error ..."ant does not work"
I am using the laest version of ant from jakarta.apache.org.
Suggestions are welcomed
CT.
What is the detailed error message from the configure log file?
thanks,
--Barry
b-vol wrote:
> Greetings,
>
> I am having a little difficulty installing PostgreSQL7.3.4 with java.
>
> The box is is running SuSE9.2 linux.
> I have environmental variables set in bash-profile as:
> JAVA_HOME=wherever
> export JAVACMD=other_place
> export ANT_HOME=someplace_else
> export PATH=$PATH}:${ANT_HOME}/bin
>
> I decempressed the postgresql-7.3.4 tarball and execute the script:
> ./configure --with-java
>
> but I het the error ..."ant does not work"
>
> I am using the laest version of ant from jakarta.apache.org.
>
> Suggestions are welcomed
>
> CT.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
Helllo Holger,
Thanks for your help. I have the problem sorted (I think). I added
JAVACMD=${JAVA_HOME}/bin in /etc/profile. However ant would not run as su.
I decided to run as root to do the installation.
It did run as su with the JAVACMD line hashed out. But I was unsure why a
reference to the java compiler was not needed and I deleted the installation
and restarted.
I last used ant(version1.4) with building the jdbc drivers for 7.2.1 . I do
not know if JAVACMD is still needed to be set (for the 7.3/7.4 versions of
postgresql). Pleasse advise.
regards
CT
On Saturday 27 September 2003 09:08, you wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi b-vol,
>
> If configure states that ant is not working, that might be exactly the
> point. Just run "ant -version", does that work? Does "java -version" work?
> Perhaps you have to add ${JAVA_HOME}/bin to your path.
>
> > you wrote:
> > > * You might have a broken ".antrc"
> >
> > Could you let me know how to check this?
>
> Well do you have an ".antrc" file in your users home?
>
> Mit freundlichem Gruß / With kind regards
> Holger Klawitter
> PS: not providing a real name is against the netiquette.
> - --
> lists <at> klawitter <dot> de
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
>
> iD8DBQE/dUV/1Xdt0HKSwgYRAhhVAKCFEK8UQMs0+eenZsojacVngfEs+ACdFQ/d
> TFCFpr92Nxqs4X73P2NrRZ0=
> =R9+j
> -----END PGP SIGNATURE-----