pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Need help with nmake /f win32.mak
3+ messages / 3 participants
[nested] [flat]

* Need help with nmake /f win32.mak
@ 2003-12-30 07:48  Phil Rivard <rivardp@shaw.ca>
  0 siblings, 1 reply; 3+ messages in thread

From: Phil Rivard @ 2003-12-30 07:48 UTC (permalink / raw)
  To: pgsql-interfaces

I can't get "nmake /f win32.mak" to execute properly.  I'm running under Windows 2000 Professional with Microsoft Visual Studio.NET (2002).

I am getting the following output when I run the command in the interfaces\libpq directory.

Microsoft (R) Program Maintenance Utility Version 7.00.9466
Copyright (C) Microsoft Corporation.  All rights reserved.

Building the Win32 static library...

        if not exist ".\Release/" mkdir ".\Release"
Parse Error 9

        cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm57.tmp
Bad command or file name
        cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm58.tmp
Bad command or file name
        cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm59.tmp
Bad command or file name
        cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm5A.tmp
Bad command or file name
        cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm5B.tmp
Bad command or file name
        cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm5C.tmp
Bad command or file name
        cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm5D.tmp
Bad command or file name
        cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm5E.tmp
Bad command or file name
        cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm5F.tmp
Bad command or file name
        cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm60.tmp
Bad command or file name
        cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm61.tmp
Bad command or file name
        link.exe -lib @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm62.tmp
Bad command or file name
        cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm63.tmp
Bad command or file name
        rc.exe /l 0x409 /fo".\Release\libpq.res" libpq.rc
Bad command or file name
        link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm64.tmp
Bad command or file name

Any help which can be provided would be appreciated!

Phil

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Need help with nmake /f win32.mak
@ 2003-12-30 09:43  Magnus Hagander <mha@sollentuna.net>
  0 siblings, 0 replies; 3+ messages in thread

From: Magnus Hagander @ 2003-12-30 09:43 UTC (permalink / raw)
  To: Phil Rivard <rivardp@shaw.ca>; pgsql-interfaces

> I can't get "nmake /f win32.mak" to execute properly.  I'm running
under Windows 2000 
> Professional with Microsoft Visual Studio.NET (2002).

> I am getting the following output when I run the command in the
interfaces\libpq directory.

> Microsoft (R) Program Maintenance Utility Version 7.00.9466
> Copyright (C) Microsoft Corporation.  All rights reserved.

...

>         cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm57.tmp
> Bad command or file name

This looks like your PATH may be incorrect. Make sure you are running
the command from a "Visual Studio Command Prompt" (available under
Visual Studio in the start menu), not just a general command prompt.
This will set your PATH and other Visual Studio environment variables
correctly.


//Magnus



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Need help with nmake /f win32.mak
@ 2003-12-30 09:43  Joe Conway <mail@joeconway.com>
  parent: Phil Rivard <rivardp@shaw.ca>
  0 siblings, 0 replies; 3+ messages in thread

From: Joe Conway @ 2003-12-30 09:43 UTC (permalink / raw)
  To: Phil Rivard <rivardp@shaw.ca>; +Cc: pgsql-interfaces

Phil Rivard wrote:
> I can't get "nmake /f win32.mak" to execute properly.  I'm running
> under Windows 2000 Professional with Microsoft Visual Studio.NET
> (2002).
> 
> I am getting the following output when I run the command in the
> interfaces\libpq directory.

The docs say this:
"To build everything that you can on Windows, change into the src 
directory and type the command"

So you need to start in
  \path\to\pgsqlsource\src,
*not*
  \path\to\pgsqlsource\interfaces\libpq

Also, make sure you run
C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat
to set up your environment properly prior to running nmake.

HTH,

Joe





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-12-30 09:43 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-12-30 07:48 Need help with nmake /f win32.mak Phil Rivard <rivardp@shaw.ca>
2003-12-30 09:43 ` Joe Conway <mail@joeconway.com>
2003-12-30 09:43 Re: Need help with nmake /f win32.mak Magnus Hagander <mha@sollentuna.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox