C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 28th, 2003, 09:56 AM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
Visual Studio 6 and the Little Lost STDLIB

I considered putting "Newbie Help!" as the subject... but I resisted... solely because I really do need help on this

I'm vaguely familiar with C, but I'm by no stretch of the imagination a C programmer. I have a Perl module, however, which has C code that needs compiled before it can be installed. Here's the whole story:

I am trying to implement dbExperts PostgreSQL on our Windoze platforms. The pgsql install is clean and solid, but the creation of the perl module is not. There is a readme.win32 file that perports to give step by step instructions for compiling the module on Windows (it's meant for Linux) but we hit a snag....

Visual Studio 6.0 can't seem to find its own standard library files

We (we is me and the nice IT guru who had a C compiler and let me waste an hour of his time messing with it) went through a series of steps whereby we copied all of the std library files it was looking for into the current working directory and changed all of the:
Code:
<include file>

to:
Code:
"include file"

lines in the postgres source code. This worked ok for the pgsql source code files, but then the "include"d files started blowing up when they tried to find their own includes....

I suppose then the question is this. If I run (the actual pathnames are made up... I can't remember what they really were):
Code:
c:\postgresql-7.2.3>c:\vstudio6\bin\nmake /f win32.mak

What on earth can I do about nmake or the VS6 compiler or whatever not finding its own standard library?? Perhaps I need to run nmake from a specific location? This all just seems very odd to me...

In other news, I'm buying my own laptop so I can try this out at home on my own... so once that arrives I'll be able to give actual paths and such. If the information here now is too sparse or too confusing, just slap me around a bit while we wait until I post the details from my own trials

Reply With Quote
  #2  
Old April 28th, 2003, 12:56 PM
3dfxMM 3dfxMM is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 272 3dfxMM User rank is Sergeant (500 - 2000 Reputation Level)3dfxMM User rank is Sergeant (500 - 2000 Reputation Level)3dfxMM User rank is Sergeant (500 - 2000 Reputation Level)3dfxMM User rank is Sergeant (500 - 2000 Reputation Level)3dfxMM User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 6 Days 17 h 57 m 24 sec
Reputation Power: 17
Visual Studio installs a batch file named vcvars32.bat on the system that needs to be run in the same command window session in which you are building. It sets up all of the environment variables that VC++ needs. Mine is in c:\, but I don't remember if it is there by default or if I put it there.

Reply With Quote
  #3  
Old April 29th, 2003, 01:09 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
Heh... that would explain a lot....

Alrighty, thanks for that mate - I'm going to try and give it another go and see if it all works out.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > Visual Studio 6 and the Little Lost STDLIB

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap