compile from git repository

From: 权宗亮 <quanzongliang(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: compile from git repository
Date: 2011-08-30 11:11:45
Message-ID: CAE7Kk4hToVAUbJNQz7GDC7MLd6esL6StVk7XKV0ibpvHu1i-Jg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, hackers

I try to compile from git repository and get some errors.

Windows 7 x86
VC Express 2008
perl v5.8.9
flex 2.5.4a-1
bison 2.4.1

git clone git://git.postgresql.org/git/postgresql.git
git checkout REL9_0_4

cd ...\src\tools\msvc
build.bat

Build started: Project: postgres, Configuration: Release|Win32
Running flex on src\backend\parser\scan.l
"src\backend\parser\scan.l", line 112: unrecognized %option: reentrant
"src\backend\parser\scan.l", line 113: unrecognized %option: bison-bridge
"src\backend\parser\scan.l", line 114: unrecognized %option:
bison-locations
"src\backend\parser\scan.l", line 121: unrecognized %option: yyalloc
"src\backend\parser\scan.l", line 122: unrecognized %option: yyrealloc
"src\backend\parser\scan.l", line 123: unrecognized %option: yyfree
Project : error PRJ0002: Error result 1 returned from
'C:\Windows\system32\cmd.exe'.
postgres - 1 error(s), 0 warning(s)
The command exited with code 1.

Help me, please.

--
Quan Zongliang
quanzongliang(at)gmail(dot)com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shigeru Hanada 2011-08-30 11:45:48 Re: Join push-down for foreign tables
Previous Message Heikki Linnakangas 2011-08-30 10:43:23 Re: WIP: Fast GiST index build