From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of calendarw
Sent: 26 April 2006 09:46
To: [email protected]
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=
"">MinGW/Msys
Toolset</ulink> used to build &postgres; 8.0 and above.  In addition
you will need to install <ulink url=
"">pthreads-win32
2.x</ulink>. </para></listitem>
Regards, Dave.
_______________________________________________
Slony1-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/slony1-general

Reply via email to