Lists: | pgsql-general |
---|
From: | Antonio Franzoso <antoniofranzoso(at)yahoo(dot)it> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Compiler does not detect support for 64 bit integers |
Date: | 2011-11-23 19:53:41 |
Message-ID: | 4ECD4F45.8010006@yahoo.it |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
I'm trying to compile a parser for full text searching starting from the
code in this example:
http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/HOWTO-parser-tsearch2.html
I'm using Code::block with MinGW on a Windows Seven x64 and I get these
errors:
..\..\..\Program Files\PostgreSQL\9.0\include\server\c.h|284|error:
#error must have a working 64-bit integer datatype|
..\..\..\Program
Files\PostgreSQL\9.0\include\server\postgres.h|550|error: expected ')'
before 'X'|
||=== Build finished: 2 errors, 0 warnings ===|
Compiler detects errors in Postgresql's header files and I do not know
how to solve them. Any suggestion?
Thanks in advance,
Antonio
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Antonio Franzoso <antoniofranzoso(at)yahoo(dot)it> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Compiler does not detect support for 64 bit integers |
Date: | 2011-11-23 21:44:52 |
Message-ID: | 4327.1322084692@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
Antonio Franzoso <antoniofranzoso(at)yahoo(dot)it> writes:
> I'm using Code::block with MinGW on a Windows Seven x64 and I get these
> errors:
> ..\..\..\Program Files\PostgreSQL\9.0\include\server\c.h|284|error:
> #error must have a working 64-bit integer datatype|
Um ... did you run the configure script? In a MinGW environment the
build process is basically like Unix, it's not the MSVC way.
regards, tom lane
From: | Antonio Franzoso <antoniofranzoso(at)yahoo(dot)it> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Compiler does not detect support for 64 bit integers |
Date: | 2011-11-24 11:37:52 |
Message-ID: | 4ECE2C90.9000708@yahoo.it |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
Il 23/11/2011 22:44, Tom Lane ha scritto:
> Antonio Franzoso<antoniofranzoso(at)yahoo(dot)it> writes:
>> I'm using Code::block with MinGW on a Windows Seven x64 and I get these
>> errors:
>> ..\..\..\Program Files\PostgreSQL\9.0\include\server\c.h|284|error:
>> #error must have a working 64-bit integer datatype|
> Um ... did you run the configure script? In a MinGW environment the
> build process is basically like Unix, it's not the MSVC way.
>
> regards, tom lane
>
Thanks for reply. Should I run a configure script even I've specified in
the build option where compiler can find the header files?
Sorry, but I'm a newbie.