Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: [Mingw-users] Re: How to build thread-safe postgresql 8.x



At 3/6/2006 05:11 PM, Matt England wrote:
At 3/6/2006 04:29 PM, Earnie Boyd wrote:
Quoting Matt England <mengland(at)mengland(dot)net>:
$ make
[...]
dlltool --export-all --output-def ecpg.def execute.o typename.o descriptor.o data.o error.o prepare.o memory.o connect.o misc.o path.o exec.o snprintf.o dllwrap -o libecpg.dll --dllname libecpg.dll --def ecpg.def execute.o typename.o descriptor.o data.o error.o prepare.o memory.o connect.o misc.o path.o exec.o snprintf.o -L../pgtypeslib -L../../../../src/interfaces/libpq -L../../../../src/port -lpgtypes -lpq -lm -lshfolder

Where is -lpthreads?

I don't know. I'm cross-posting to the pgsql-ports(at)postgresql(dot)org list with these messages, but I haven't seen a message from them yet.

I'm not sure how I get they to insert a -lpthreads besides manually changing their Makefile(s). Anybody know of a way to do this from postgres' configure line?

It helps if one names the library created by <http://sources.redhat.com/pthreads-win32/> as /mingw/lib/libpthreads.a ...instead of using the native file name created in the pthreads-win32 build (and for the record, copy the 3 Pre-built/include header files from pthreads-win32 into /mingw/include).

So I did that, and the make process now tells me:

"All of PostgreSQL successfully made. Ready to install."

*whew*

-Matt



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group