Re: Compiling the JDBC interface - make fails

Andre Majorel <amajorel@teaser.fr>

From: Andre Majorel <amajorel@teaser.fr>
To: pgsql-novice@postgresql.org
Date: 2000-05-24T23:01:34Z
Lists: pgsql-novice
At 12:22 2000.05.24 -0700, Liz Bartlett wrote:

>dirk# pwd
>/usr/local/postgres/install/src/interfaces/jdbc
>dirk# make
>make $(java makeVersion)
>/bin/sh: syntax error at line 1: `(' unexpected
>make: *** [all] Error 2
>
>Running 6.5.3 on Solaris 2.6, Sun Sparc hardware. I've never touched
>anything java-related before, and I am not an expert on Makefile
>syntax. The line it appears to object to appears in the Makefile as:
>
>        make $$($(JAVA) makeVersion)

The Solaris Bourne shell does not support the $() syntax. Try
changing the line to

	make `$(JAVA) makeVersion`


André Majorel <amajorel@teaser.fr>
http://www.teaser.fr/~amajorel/