Building libpq on Windows

Поиск
Список
Период
Сортировка
От Helge Elvik
Тема Building libpq on Windows
Дата
Msg-id 013a01c5e5ec$5711e400$0f0aa8c0@gispartner.no
обсуждение исходный текст
Список pgsql-novice

Hi,

 

I’m currently trying to do a custom build of Mapserver to get FastCGI support, and one of our requirements is PostGIS support built into it. I’ve been having problems getting it to compile with MS VS 2003 though. I get the following errors when I type “nmake /f win32.mak”:

 

=================

        cd include

        if not exist pg_config.h copy pg_config.h.win32 pg_config.h

        cd ..

        cd interfaces\libpq

        nmake /f win32.mak

 

Microsoft (R) Program Maintenance Utility Version 7.10.3077

Copyright (C) Microsoft Corporation.  All rights reserved.

 

Building the Win32 static library...

 

        cl.exe @C:\DOCUME~1\helvik\LOCALS~1\Temp\nmE6.tmp

getaddrinfo.c

..\..\port\getaddrinfo.c(244) : error C2065: 'WSA_NOT_ENOUGH_MEMORY' : undeclare

d identifier

..\..\port\getaddrinfo.c(334) : error C2051: case expression not constant

NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'

Stop.

NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\

VC7\BIN\nmake.exe"' : return code '0x2'

Stop.

=================

 

Any help would be appreciated.

 

Thanks,

Helge Elvik

В списке pgsql-novice по дате отправления:

Предыдущее
От:
Дата:
Сообщение: WinXP PGSQL 8.0 and pgAdmin III Upgrade
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Using values in an array in a subquery