Help with Win32 MingW build - Mailing list pgsql-interfaces

From Michael Uman
Subject Help with Win32 MingW build
Date
Msg-id 000001c2d7bf$cf823ea0$3217a440@BUD
Whole thread Raw
List pgsql-interfaces
<div class="Section1"><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">Hello,</span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">I am making progress slowly but surely. I have just completed building library <span
class="SpellE">popt</span>for <span class="SpellE">MingW</span> so I can port my application to windows. This is
workingjust great. Now I need to port <span class="SpellE">libpqxx</span> to Win32. I have <span
class="SpellE">PostgresSQL</span>installed on my Windows machine. It is apparently a <span class="SpellE">Cygwin</span>
buildbecause it includes the CygWin.dll component. I have it installed to C:\Program Files\<span
class="SpellE">PostgreSQL</span>and it works just fine. The problem I have is when I build the darn thing the configure
scriptgets <span class="SpellE">munged</span>. It reports that the <span class="SpellE">libpq-fe.h</span> header file
isnot available. I have ensured that the path to <span class="GramE">the include</span> and <span
class="SpellE">libs</span>are set to /<span class="SpellE">usr/local/lib/pgsql</span> and /<span
class="SpellE">usr/local/include/pgsql</span>but the <span class="SpellE">config.log</span> always reports that the
testfor the header file fails. I have attached the log file to this message<span class="GramE">..</span> It seems to
findthe header file and set the variable properly, but the <span class="SpellE">conftest</span> seems to be failing…
Anyonewith any insight into getting past <span class="GramE">this issue please help</span>!</span></font><p
class="MsoNormal"><fontface="Arial" size="2"><span style="font-size:10.0pt;
 
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">I appreciate any feedback regarding this issue.</span></font><p class="MsoNormal"><font face="Arial"
size="2"><spanstyle="font-size:10.0pt;
 
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">Thank you,</span></font><p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:10.0pt;
font-family:Arial">Michael Uman</span></font><p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:10.0pt;
font-family:Arial">Softwaremagic.net</span></font><p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:10.0pt;
font-family:Arial"> </span></font></div>

pgsql-interfaces by date:

Previous
From: ljb
Date:
Subject: Re: Announce: A pure-Tcl interface ... PgAccess, Protocol Version
Next
From: Gerhard Häring
Date:
Subject: Re: Help with Win32 MingW build