Thread: Windows client from 7.4beta5 source

Windows client from 7.4beta5 source

From
"Daniel Vogel"
Date:
Hallo All,

is it possible, that the compilation of the windows client from beta 5
source tree no longer works with MS VC++ 6.0?

According to the documentation, I simply stated 'nmake /f win32.mak'.

The compiler complains about missing header files <pthread.h> and <pwd.h> in
'port/thread.c'. I commented out these two lines and libpq.dll builds
without problems.

When it comes to 'psql.exe' the build process is aborted once again due to
an unresolved external 'simple_prompt'.

Since I only needed 'libpq.dll' this is no problem for me. But, just in case
I did not miss something, it possibly is a bug that should be reported
before 7.4 is released.

Thanks for this great database!

Regards,
  Daniel Vogel


Re: Windows client from 7.4beta5 source

From
Bruce Momjian
Date:
I just applied a fix to this to CVS.

---------------------------------------------------------------------------

Daniel Vogel wrote:
> Hallo All,
>
> is it possible, that the compilation of the windows client from beta 5
> source tree no longer works with MS VC++ 6.0?
>
> According to the documentation, I simply stated 'nmake /f win32.mak'.
>
> The compiler complains about missing header files <pthread.h> and <pwd.h> in
> 'port/thread.c'. I commented out these two lines and libpq.dll builds
> without problems.
>
> When it comes to 'psql.exe' the build process is aborted once again due to
> an unresolved external 'simple_prompt'.
>
> Since I only needed 'libpq.dll' this is no problem for me. But, just in case
> I did not miss something, it possibly is a bug that should be reported
> before 7.4 is released.
>
> Thanks for this great database!
>
> Regards,
>   Daniel Vogel
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073