Build v8.1.4 with VC++ 2005

Started by Xiaofeng Zhaoover 19 years ago4 messages
#1Xiaofeng Zhao
xf10036@hotmail.com

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!

#2Merlin Moncure
mmoncure@gmail.com
In reply to: Xiaofeng Zhao (#1)
Re: Build v8.1.4 with VC++ 2005

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

#3Magnus Hagander
mha@sollentuna.net
In reply to: Merlin Moncure (#2)
Re: 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.

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

#4X Z
xf10036@hotmail.com
In reply to: Magnus Hagander (#3)
Re: Build v8.1.4 with VC++ 2005

Sweet! I'll try it as soon as it's available.Xiaofeng Zhaohttp://www.xzing.orgerrare humanum est> Subject: Re: [HACKERS] Build v8.1.4 with VC++ 2005> Date: Fri, 15 Sep 2006 10:59:03 +0200> From: mha@sollentuna.net> To: mmoncure@gmail.com; xf10036@hotmail.com> CC: pgsql-hackers@postgresql.org> > >> 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> > ---------------------------(end of broadcast)---------------------------> TIP 6: explain analyze is your friend
_________________________________________________________________
Use Messenger to talk to your IM friends, even those on Yahoo!
http://ideas.live.com/programpage.aspx?versionId=7adb59de-a857-45ba-81cc-685ee3e858fe