Re: compile from git repository

From: 权宗亮 <quanzongliang(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: compile from git repository
Date: 2011-08-31 01:50:31
Message-ID: CAE7Kk4gLiweTpAwsCSBJcu5rxi+STkjw5enQfHBcndUZ_hH5hA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thank you everyone.

Now, there is still one error:

Build started: Project: postgres, Configuration: Release|Win32
Running flex on src\backend\parser\scan.l
VCBUILD : cygwin warning :
MS-DOS style path detected: src\backend\parser\scan.l
Preferred POSIX equivalent is: src/backend/parser/scan.l
CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
flex: fatal internal error, exec failed
Project : error PRJ0002: Error result 3328 returned from
'C:\Windows\system32\cmd.exe'.
postgres - 1 error(s), 0 warning(s)
The command exited with code 1.

2011/8/31 Andrew Dunstan <andrew(at)dunslane(dot)net>

>
>
> On 08/30/2011 10:43 AM, Magnus Hagander wrote:
>
>> On Tue, Aug 30, 2011 at 16:30, Tom Lane<tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>
>>> Andrew Dunstan<andrew(at)dunslane(dot)net> writes:
>>>
>>>> On 08/30/2011 07:11 AM, 权宗亮 wrote:
>>>>
>>>>> 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
>>>>>
>>>> Your version of flex is too old.
>>>>
>>> Hmm ... had the OP been using configure, he'd have been told that by the
>>> build scripts. Should the MSVC build scripts be improved to check the
>>> versions of bison and flex?
>>>
>> We do it for bison already. It probably shouldn't be too hard to do
>> the same for flex.
>>
>>
> Done.
>
> cheers
>
> andrew
>

--
权 宗亮(Quan Zongliang)
quanzongliang(at)gmail(dot)com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2011-08-31 02:07:27 Re: compile from git repository
Previous Message Tom Lane 2011-08-31 00:29:37 Re: spinlocks on HP-UX