473,387 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

can't build libpq with beta 2

U:\postgresql-8.0.0beta2\src\interfaces\libpq>nmake /f win32.mak

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

Building the Win32 static library...

cl.exe @u:\tmp\nm33D2.tmp
cl : Command line warning D9002 : ignoring unknown option '/YX'
cl : Command line warning D9035 : option 'GX' has been deprecated and
will be removed in a future release
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
getaddrinfo.c
...\..\include\c.h(66) : fatal error C1083: Cannot open include file:
'strings.h': No such file or directory
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
Nov 23 '05 #1
3 1767

Wow, I have no idea why that is failing. I just fixed some VC problems
for someone but they were actual bugs related to path.c. Your failure
looks like a build tools problem.

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

Dann Corbit wrote:
U:\postgresql-8.0.0beta2\src\interfaces\libpq>nmake /f win32.mak

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

Building the Win32 static library...

cl.exe @u:\tmp\nm33D2.tmp
cl : Command line warning D9002 : ignoring unknown option '/YX'
cl : Command line warning D9035 : option 'GX' has been deprecated and
will be removed in a future release
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
getaddrinfo.c
..\..\include\c.h(66) : fatal error C1083: Cannot open include file:
'strings.h': No such file or directory
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.


--
Bruce Momjian | http://candle.pha.pa.us
pg***@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #2
You've probably done this, but I should ask anyway.

Did you run the vcvars.bat to set the environment variables for MS VC?

I know I've run into this is previous versions, but IIRC it was operator error.

-Tony
Nov 23 '05 #3
I think the strings.h problem is because you probably ran the
configure script with mingw prior to your MS Visual Studio build. It
sets up a pg_config.h within $PG/src/include which is defined for
mingw not for MS Visual Studio. If you simply delete that file, then
the win32.mak makefile will correctly overwrite pg_config.h.win32 to
the pg_config.h.

That should get you past the problem.
-Tony
Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dan Thibault | last post by:
looking for help getting php4 to work with postgresql I first tried the following; ../configure --with-pgsql and got a --with-pgsql comand not found error I then tried; ../configure...
2
by: Ed Leafe | last post by:
I've been trying to build psycopg, a python adapter for PostgreSQL. In order to build it, you need to have (among other things) the PostgreSQL source code, headers and libraries. Since my Fedora...
1
by: Phil Campaigne | last post by:
Thanks Tom, when I go down all files linked to libpq.so.3 end with a "statically linked" comment. I assume this is the desired result. However, I did find another libpq.so.3 in a different...
0
by: Saravanan A | last post by:
Hello All, I am having the following problem in PostgreSQL build process. If anyone came across this, pls give me a solution to solve this. I followed the steps below given at the build time....
2
by: Mihai RUSU | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I was working recently on a mid-layer in my current projects for abstraction of SQL backends (curently for mysql and pgsql only) and found...
2
by: Adam Smith | last post by:
Installation of 7.4.2, even with just ./configure : gmake step ==> _________________________________________________ gmake: Leaving directory...
2
by: alltest1 | last post by:
Hi, I am wondering if it is thread-safe to use both JDBC and libpq simultaneously. On a Linux, JDBC is used by Tomcat and libpq is used by a client software written in C language. So JDBC and...
1
by: Otto Blomqvist | last post by:
Hello ! I'm in dire need of a compiled libpq.dll with ssl support for win32. I don't know how do complile it myself. (My guess is it requires at least a couple Magic tricks) Thanks a lot ...
4
by: Wayne Fang | last post by:
Hi, For various reasons (parallel structure with existing code, commonality of concepts, etc), we have C language functions implemented that use libpq to make a new connection to the same Postgres...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.