calendarw calendarw
Wed Apr 26 02:08:18 PDT 2006
Hi~
I have already download pthreads-win32.  I see it just make clean something,
and when I done that, I generate a dll file, how can I solve the problem?

thx


On 4/26/06, Dave Page <dpage at vale-housing.co.uk> wrote:
>
>
>
>  ------------------------------
> *From:* slony1-general-bounces at gborg.postgresql.org [mailto:
> slony1-general-bounces at gborg.postgresql.org] *On Behalf Of *calendarw
> *Sent:* 26 April 2006 09:46
> *To:* slony1-general at gborg.postgresql.org
> *Subject:* [Slony1-general] Make question
>
>  Hi~
>   I checkout the lastest CVS of slony1.  I can configure it successful on
> MinGW but when I make it, it display a problem:
>
> $ make
> make[1]: Entering directory `/c/lun/workspace/slony1-engine/src'
> make[2]: Entering directory `/c/lun/workspace/slony1-engine/src/xxid'
> sed -e 's;FILEDESC;"Slony xxid datatype";' -e 's;VFT_APP;VFT_DLL;' -e
> 's;SLVERSION;SLONY_I_VERSION_STRING_DEC ,'`date '+%y%j' | sed 's/^0*//'`';'
> ../../src/slon/port/win32ver.rc.in > win32ver.rc
> windres -i win32ver.rc -o win32ver.o --include-dir=../..
> rm -f win32ver.rc
> dlltool --export-all --output-def xxid.def xxid.o win32ver.o
> dllwrap -o xxid.dll --def xxid.def xxid.o win32ver.o/usr/local/pgsql/lib/pgxs/src/utils/dllinit.o -L/usr/local/pgsql/lib
> -lpostgres
> rm -f xxid.def
> make[2]: Leaving directory `/c/lun/workspace/slony1-engine/src/xxid'
> make[2]: Entering directory `/c/lun/workspace/slony1-engine/src/slon'
> gcc -g -O2  -I../.. -I../../src/slon -I/usr/local/pgsql/include
> -I/usr/local/pgsql/include/server
> -I/usr/local/pgsql/include/server/port/win32  -c -o slon.o slon.c
> slon.c:14:21: pthread.h: No such file or directory
>
> how to solve it?
>
>
> Install pthreads, as per the docs at
> http://gborg.postgresql.org/cgi-bin/cvsweb.cgi/slony1-engine/doc/adminguide/prerequisites.sgml?rev=1.25;cvsroot=slony1
> :
>
>
> <listitem><para> On &windows; you will also need the same <ulink url=
> "http://www.postgresql.org/docs/faqs.FAQ_MINGW.html">MinGW/Msys
> Toolset</ulink> used to build &postgres; 8.0 and above.  In addition
> you will need to install <ulink url=
> "http://sourceware.org/pthreads-win32/">pthreads-win32
> 2.x</ulink>. </para></listitem>
>
> Regards, Dave.
>
>


--
Jr. P
calendarw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gborg.postgresql.org/pipermail/slony1-general/attachments/20060426/67fa212f/attachment.html



More information about the Slony1-general mailing list