Обсуждение: Build v8.1.4 with VC++ 2005
I tried to build postgresql from src using vc++ 2005 but was not able to go far before hitting errors related to inline function in the "wchar.c" file.
The source file I downloaded is "postgresql-8.1.4.tar.gz". I tried to build it by runing "nmake -f win32.mak" in the "src" directory.
Can v8.1.4 be build using VC++ 2005? If so, what is the build procedure and if any patches is required.
Thanks!
On 9/8/06, Xiaofeng Zhao <xf10036@hotmail.com> wrote: > > > I tried to build postgresql from src using vc++ 2005 but was not able to go > far before hitting errors related to inline function in the "wchar.c" file. > > The source file I downloaded is "postgresql-8.1.4.tar.gz". I tried to build > it by runing "nmake -f win32.mak" in the "src" directory. > > Can v8.1.4 be build using VC++ 2005? If so, what is the build procedure and > if any patches is required. there is a patch in the queue which has a decent chance of making it into 8.2. from the stock 8.1 sources it is impossible. merlin
>> I tried to build postgresql from src using vc++ 2005 but was >not able to go >> far before hitting errors related to inline function in the >"wchar.c" file. >> >> The source file I downloaded is "postgresql-8.1.4.tar.gz". >I tried to build >> it by runing "nmake -f win32.mak" in the "src" directory. >> >> Can v8.1.4 be build using VC++ 2005? If so, what is the >build procedure and >> if any patches is required. > >there is a patch in the queue which has a decent chance of making it >into 8.2. from the stock 8.1 sources it is impossible. It's been applied, so it'll be in 8.2. Currently it's broken though, because of some changes during commit. I'll post a patch to fix this soon. //Magnus
Sweet! I'll try it as soon as it's available.<br /><br /><br />Xiaofeng Zhao<br />http://www.xzing.org<br />errare humanum est<br/><br /><hr id="stopSpelling" />> Subject: Re: [HACKERS] Build v8.1.4 with VC++ 2005<br />>Date: Fri, 15 Sep 2006 10:59:03 +0200<br />> From: mha@sollentuna.net<br />> To: mmoncure@gmail.com; xf10036@hotmail.com<br/>> CC: pgsql-hackers@postgresql.org<br />> <br />> >> I tried to build postgresql from src using vc++ 2005 but was <br/>> >not able to go<br />> >> far before hitting errors related to inline function in the <br/>> >"wchar.c" file.<br />> >><br/>> >> The source file I downloaded is "postgresql-8.1.4.tar.gz". <br />> >I tried to build<br/>> >> it by runing "nmake -f win32.mak" in the "src" directory.<br />> >><br />>>> Can v8.1.4 be build using VC++ 2005? If so, what is the <br />> >build procedure and<br />> >> if any patches is required.<br/>> ><br />> >there is a patch in the queue which has a decent chance of making it<br/>> >into 8.2. from the stock 8.1 sources it is impossible.<br/>> <br />> It's been applied, so it'll be in 8.2.<br/>> <br />> Currently it's broken though, because of some changes during commit.<br/>> I'll post a patch to fix this soon.<br />><br />> //Magnus<br />> <br />> ---------------------------(end of broadcast)---------------------------<br/>> TIP 6: explain analyze is your friend<br/><br /><hr />Use Messenger to talk to your IM friends, even those on Yahoo! <a href="http://ideas.live.com/programpage.aspx?versionId=7adb59de-a857-45ba-81cc-685ee3e858fe"target="_new">Talk now!</a>