Обсуждение: Re: [INTERFACES] Jdbc driver

Поиск
Список
Период
Сортировка

Re: [INTERFACES] Jdbc driver

От
"Wahhabi Abdelkrim"
Дата:
-----Message d'origine-----
De : Zubair Saifullah <zubairsaifullah@hotmail.com>
À : pgsql-interfaces@postgreSQL.org <pgsql-interfaces@postgreSQL.org>
Date : vendredi 10 septembre 1999 01:47
Objet : [INTERFACES] Jdbc driver


>
>Hi,
>While compiling the jdbc driver I had the following error.
>I used jdk1.1.6 and its on Digital (true 64) Unix.
>
>
>>[zubair@prism2 ~/jdbc]$ make
>>make $(java makeVersion)
>>sh: syntax error at line 1: `(' unexpected
>>*** Exit 2
>>Stop.
>>[zubair@prism2 ~/jdbc]$
>>
>>I tried Hacking it but failed. So if you can tell me which version of
>>"make"
>>you are you using, I can get that one and try again. OR if you can just
>>send
>>me a precompiled jdbc driver, I will appreciate it.
>>Actually I will prefer a precompiled one. I read somewhere that I can put
>>that anywhere on any other machine (plateform independant) and get
>>connected
>>to the database. Is that right?
>>I have project due pretty soon so if send the reply real quick, I will be
>>grateful.
>>Zubair.
>
try gmake
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>************
>



Re: [INTERFACES] Jdbc driver

От
Brian P Millett
Дата:
Wahhabi Abdelkrim wrote:

> -----Message d'origine-----
> De : Zubair Saifullah <zubairsaifullah@hotmail.com>
> À : pgsql-interfaces@postgreSQL.org <pgsql-interfaces@postgreSQL.org>
> Date : vendredi 10 septembre 1999 01:47
> Objet : [INTERFACES] Jdbc driver
>
> >
> >Hi,
> >While compiling the jdbc driver I had the following error.
> >I used jdk1.1.6 and its on Digital (true 64) Unix.
> >
> >
> >>[zubair@prism2 ~/jdbc]$ make
> >>make $(java makeVersion)
> >>sh: syntax error at line 1: `(' unexpected
> >>*** Exit 2
> >>Stop.
> >>[zubair@prism2 ~/jdbc]$
> >>
> >>I tried Hacking it but failed. So if you can tell me which version of
> >>"make"
> >>you are you using, I can get that one and try again. OR if you can just
> >>send
> >>me a precompiled jdbc driver, I will appreciate it.
> >>Actually I will prefer a precompiled one. I read somewhere that I can put
> >>that anywhere on any other machine (plateform independant) and get
> >>connected
> >>to the database. Is that right?
> >>I have project due pretty soon so if send the reply real quick, I will be
> >>grateful.
> >>Zubair.
> >
> try gmake

You will see that the SHELL you are using is important.  Peter uses BASH.  I
found that in teh Makefile, I need to add this:

***************
*** 16,22 **** JAVADOC               = javadoc RM            = rm -f TOUCH         = touch
- SHELL         = /bin/bash
 # This defines how to compile a java class .java.class:
--- 16,21 ----
***************

--
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