George Oakman wrote:
>  Thanks Craig,
>  
> I'm trying to compile a very simple test with Visual Studio (2008), but
> I get the following errors:

The PostgreSQL backend and header files are not compatible with Visual
Studio 2008. At least they're not tested wit hit. You need to try Visual
Studio 2005.


> c:\program files\postgresql\8.3\include\server\pg_config_os.h(188) :
> error C2011: 'timezone' : 'struct' type redefinition
> c:\program files\postgresql\8.3\include\server\pg_config_os.h(188) : see
> declaration of 'timezone'
> c:\program files\postgresql\8.3\include\server\pg_config_os.h(197) :
> error C2011: 'itimerval' : 'struct' type redefinition
> c:\program files\postgresql\8.3\include\server\pg_config_os.h(197) : see
> declaration of 'itimerval'
> c:\program files\postgresql\8.3\include\server\c.h(97) : fatal error
> C1083: Cannot open include file: 'libintl.h': No such file or directory
> 
> I must be doing something wrong - I don't even have a libintl.h on my
> drive...

libintlh. is part of gettext, which is a dependency from the binary
version of pg. You can either get the whole sourcetree and reconfigure
it without gettext, or install gettext.


//Magnus


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to