473,800 Members | 2,833 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can't build libpq with beta 2

U:\postgresql-8.0.0beta2\src\ interfaces\libp q>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 1797

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\libp q>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.ph a.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.win 32 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
1799
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 --with-pgsql=/usr/local/pgsql/lib/libpq.so and got --with-pgsql=/usr/local/pgsql/lib/libpq.so: No such file or directory
2
2144
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 install doesn't include these things, I downloaded the source and ran configure and make. At this point everything should be built and ready to install. I don't want to run make install, since I already have a perfectly good PostgreSQL installation...
1
473
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 directory. When I ldd it I get "no such file or directory. Maybe the original installation by rpm put it there first. Could this problem be the result of upgrading a rpm installation with a source upgrade which put it in another directory, thus...
0
2231
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. 1) postgresql-7.3.5 source files are downloaded from postgresql.org
2
2588
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 out that the libpq synonime of mysql_affected_rows is PQcmdTuples. However I really dont see why does it return char * ?? Is there any practical reason for this ?
2
2272
by: Adam Smith | last post by:
Installation of 7.4.2, even with just ./configure : gmake step ==> _________________________________________________ gmake: Leaving directory `/usr/home/smith/Temp_holding/staging-area/postgresql/postgresql-7.4.2/src/backend/parser' gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations pg_dump.o common.o pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o pg_backup_files.o pg_backup_null.o
2
2383
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 libpq are used by two different programs. If the same row in the same table is updated (update SQL command) through libpq and
1
2345
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 /Otto Blomqvist Secom International, Los Angeles CA
4
1607
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 server. Yes, I realize libpq is meant for clients and SPI for backends. The question is, are there any technical problems with this? Will using libpq in the backend do Bad Things in unexpected areas/ways? The environment ranges from: Postgres...
0
9550
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10273
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10250
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2944
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.