|
From: Earnie B. <ea...@us...> - 2006-03-06 19:53:24
|
Quoting Matt England <men...@me...>: > (I'm cross-posting this to pgsql-ports and mingw-users; I hope that's ok.) > > Summary: > > I'm trying to get posgresql-base-8.1.3 to build on my mingw/msys > (1.0.11 system; uname -a below) using "thread safety." > > Am I going to need something like > <http://sources.redhat.com/pthreads-win32/> to accomplish this task? > Is this *only* alternative; are there any options? > > (I don't yet know about how I'm going to distribute this software, > ie, how the library relationships will work b/w pthreads-win32 and > postgresql, but I'll figure it out or report back here if I can't. > Any tips/pointers are welcome. I plan to follow LGPL to the letter if > I do this.) > > > Details: > > $ ./configure --enable-thread-safety --prefix=/cgrid/local/postgresql > --without-zlib > > [...] > checking for the pthreads library -lpthreads... no > checking whether pthreads work without any flags... no My guess on this is that you've not installed pthreads library in the /mingw path. MinGW's GCC doesn't know how to find include files and libraries except in the include and lib directores relative to the bin directory where gcc.exe exists. You'll need to modify the Makefile.in so that it adds -I and -L paths for your specified prefix if that is where you installed the pthread library. Or you need to install the pthread library in the /mingw path. Earnie Boyd http://shop.siebunlimited.com |