I'm trying to compile the src/interfaces/jdbc postgresql.jar file but I
get a syntax error (pg 6.5.2):
/bin/sh: syntax error at line 1: '(' unexpected
make: *** [all] Error 2

Funny thing is that I'm under the C shell.....using gcc, Solaris 7 on a
Sparc.

I tried to replace $( ) with ' ' per the instructions but there is some
syntax that I am not familiar with: $$($(JAVA) makeVersion).  How should
this look after the replacement?

Really appreciate help.  I've developed 3k SLOC under Visual Cafe
(managed to rewrite out all Symantec classes).  It's running fine in the
Visual Cafe environment.  Now I need to field it under the Netscape
Suitespot server.

Thanks

Allan in Belgium



Fri, 07 Jan 2000 17:40:36 +0100
"Allan Huffman" <huffmana@ppc.pims.org>
[HACKERS] make JDBC postgresql.jar error
Allan Huffman wrote:

> I'm trying to compile the src/interfaces/jdbc postgresql.jar file but I
> get a syntax error (pg 6.5.2):
> /bin/sh: syntax error at line 1: '(' unexpected
> make: *** [all] Error 2

This has bitten me also.  I'm using a sparc, solaris 7, bash , gcc version
2.95.2.  This is a KLUDGE, but here is a patch that works for BASH:

vlad: diff -w3c Makefile /opt/java/pgsql/Makefile
*** Makefile    Wed Jun 23 00:56:17 1999
--- /opt/java/pgsql/Makefile    Tue Oct  5 09:20:17 1999
***************
*** 16,21 ****
--- 16,22 ----
  JAVADOC               = javadoc
  RM            = rm -f
  TOUCH         = touch
+ SHELL         = /bin/bash

  # This defines how to compile a java class
  .java.class:


--
Brian Millett
Enterprise Consulting Group     "Heaven can not exist,
(314) 205-9030                     If the family is not eternal"
bpm@ec-group.com                   F. Ballard Washburn




Fri, 07 Jan 2000 11:17:05 -0600
Brian P Millett <bpm@mail.ec-group.com>
Re: [HACKERS] make JDBC postgresql.jar error