Re: postgresql client under win 2k - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: postgresql client under win 2k
Date
Msg-id 20010515142821.K321@dothill.com
Whole thread Raw
In response to postgresql client under win 2k  ("Ray Golish" <sgolish@ucla.edu>)
List pgsql-cygwin
Ray,

On Tue, May 15, 2001 at 10:37:21AM -0700, Ray Golish wrote:
> Hey, sorry to bother you but can you help with this post to
> comp.databases.postgresql.ports.cygwin?

Hmm...

> Thanks for your time,
> Ray
>
> ----------------------------------------------
>
> I have postgresql 7.1 under current cygwin on top of win 2k.
>
> I would now like to write clients UNDER WIN 2K for the server which runs
> under cygwin on the same win 2K box.

Just curious, but why don't you use Cygwin's gcc instead?

> When I try to nmake the source under VC++, I get errors which are listed at
> the end.  I have VC++ bins in the path.

I just tried this myself and it worked as expected in my environment.

The output below seems to indicate that your VC++ setup is not correct.
What happens when you type "cl" at the command.com prompt?

> Output:-----------------------------------------
>
> C:\postgresql-7.1\src>nmake /f win32.mak
>
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> [snip]
>
>         if not exist ".\Release/" mkdir ".\Release"
> Microsoft(R) Windows DOS
> (C)Copyright Microsoft Corp 1990-1999.
> Parse Error 9
  ^^^^^^^^^^^^^

The above seems to be suspicious.

>         cl.exe @C:\WINDOWS\TEMP\nma00904.
> Bad command or file name
  ^^^^^^^^^^^^^^^^^^^^^^^^

The above seems to indicate that you cannot find cl.exe in your PATH.

>         cl.exe @C:\WINDOWS\TEMP\nmb00904.
> Bad command or file name
>         link.exe -lib @C:\WINDOWS\TEMP\nmc00904.
> Bad command or file name

Ditto for link.

>         cl.exe @C:\WINDOWS\TEMP\nmd00904.
> Bad command or file name
>         rc.exe /l 0x409 /fo".\Release\libpq.res" libpq.rc

Ditto for rc.

Jason

--
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Cygwin plpython patch
Next
From: Jason Tishler
Date:
Subject: Re: Cygwin plpython patch