Thread: pthread.h

pthread.h

From
Ali Karaki
Date:
Hi,

I downloaded the source code for version 7.4 Beta 3, and tried to compile
with Visual C++ 6.0, using the following command from a DOS window:

nmake /f win32.mak

when the make runs, at some point during the compilation, it stops and
reports the following error:

pthread.h cannot be found.

I looked for that file everywhere on my system, but it couldn't find it.

Is this a standard header file, or it is something that comes with certain
compilers.

Also, do you guys have already compiled 7.4 binaries for windows?

Thanks.

Re: pthread.h

From
Bruce Momjian
Date:
Did you run configure using --enable-thread-safety?  We don't support
threads on MS Win yet.  Not sure how hard it would be to do.  Any ideas?

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

Ali Karaki wrote:
> Hi,
>
> I downloaded the source code for version 7.4 Beta 3, and tried to compile
> with Visual C++ 6.0, using the following command from a DOS window:
>
> nmake /f win32.mak
>
> when the make runs, at some point during the compilation, it stops and
> reports the following error:
>
> pthread.h cannot be found.
>
> I looked for that file everywhere on my system, but it couldn't find it.
>
> Is this a standard header file, or it is something that comes with certain
> compilers.
>
> Also, do you guys have already compiled 7.4 binaries for windows?
>
> Thanks.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>

--
  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