From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | 权宗亮 <quanzongliang(at)gmail(dot)com> |
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 02:07:27 |
Message-ID: | 4E5D975F.7050000@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 08/30/2011 09:50 PM, 权宗亮 wrote:
> 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.
>
>
You are probably not setting the M4 environment variable correctly. The
instructions state:
To run this version of flex, you will need to set the M4 environment variable
to point to your installation of m4. You need one of these in order to run
both bison and flex, and it sometimes comes packaged with bison.
If you are using this in a buildfarm member, you can set that environment
variable in its config file, in the build_env stanza, something like:
M4 => 'c:\path\to\bin\m4.exe',
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Sabino Mullane | 2011-08-31 02:08:14 | Re: Comparing two PostgreSQL databases -- order of pg_dump output |
Previous Message | 权宗亮 | 2011-08-31 01:50:31 | Re: compile from git repository |