Re: postgresql client under win 2k

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: ray(at)golish(dot)com
Cc: Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: postgresql client under win 2k
Date: 2001-05-15 18:28:21
Message-ID: 20010515142821.K321@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2001-05-16 01:17:26 Re: Cygwin plpython patch
Previous Message Jason Tishler 2001-05-15 18:02:59 Cygwin plpython patch