Skip site navigation (1) Skip section navigation (2)

postgresql client under win 2k

From: "Ray Golish" <sgolish(at)ucla(dot)edu>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: postgresql client under win 2k
Date: 2001-05-14 19:38:39
Message-ID: BCEFLFMOJEIPPFCHMNNEMEAECAAA.sgolish@ucla.edu (view raw or flat)
Thread:
Lists: pgsql-cygwin
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.

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.

Note, the windows source tree for postgresql is separate from cygwin source
tree.

I realize this is not strictly a cygwin postgresql issue, since my cygwin
postgresql is up and working.  But the reason I am using cygwin postgresql
is to have win clients on the same box.

Thanks,
Ray

Output:-----------------------------------------

C:\postgresql-7.1\src>nmake /f win32.mak

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cd include
        if not exist config.h copy config.h.win32 config.h
        cd ..
        cd interfaces\libpq
        nmake /f win32.mak

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        if not exist ".\Release/" mkdir ".\Release"
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-1999.
Parse Error 9

        cl.exe @C:\WINDOWS\TEMP\nma00904.
Bad command or file name
        cl.exe @C:\WINDOWS\TEMP\nmb00904.
Bad command or file name
        link.exe -lib @C:\WINDOWS\TEMP\nmc00904.
Bad command or file name
        cl.exe @C:\WINDOWS\TEMP\nmd00904.
Bad command or file name
        rc.exe /l 0x409 /fo".\Release\libpq.res" libpq.rc
Bad command or file name
        link.exe @C:\WINDOWS\TEMP\nme00904.
Bad command or file name
        cd ..\..\bin\psql
        nmake /f win32.mak

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        if not exist ".\Release/" mkdir ".\Release"
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-1999.
Parse Error 9

        cl.exe @C:\WINDOWS\TEMP\nma01036.
Bad command or file name
NMAKE : fatal error U1073: don't know how to make
'"..\..\interfaces\libpq\Relea
se\libpqdll.lib"'
Stop.
        cd ..\..
        echo All Win32 parts have been built!
All Win32 parts have been built!

C:\postgresql-7.1\src>

---------------------------------


pgsql-cygwin by date

Next:From: Hiroshi InoueDate: 2001-05-15 01:30:39
Subject: Re: Re: SIGTERM does not stop backend postgres processes immediately
Previous:From: Jason TishlerDate: 2001-05-14 14:26:39
Subject: Re: PL/Python Postgresql 7.1.1 under Cygwin (with attachment)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group