pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matt England <mengland@mengland.net>
To: mingw-users@lists.sourceforge.net
Cc: mingw-users@lists.sourceforge.net
Cc: pgsql-ports@postgresql.org <pgsql-ports@postgresql.org>
Cc: mengland@mengland.net
Subject: Re: [Mingw-users] Re: How to build thread-safe postgresql 8.x
Date: Mon, 06 Mar 2006 19:48:22 -0600
Message-ID: <6.1.2.0.2.20060306194603.06570ec0@127.0.0.1> (raw)
In-Reply-To: <6.1.2.0.2.20060306170907.069052b8@127.0.0.1>
References: <6.1.2.0.2.20060306100540.04612f08@127.0.0.1>
	<20060306145320.3qzptouxf58gwogo@mail.progw.org>
	<6.1.2.0.2.20060306160413.064beea0@127.0.0.1>
	<6.1.2.0.2.20060306161055.065c4ec0@127.0.0.1>
	<20060306172935.h4qe98kyj3oc8owc@mail.progw.org>
	<6.1.2.0.2.20060306170907.069052b8@127.0.0.1>

At 3/6/2006 05:11 PM, Matt England wrote:
>At 3/6/2006 04:29 PM, Earnie Boyd wrote:
>>Quoting Matt England <mengland@mengland.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@postgresql.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 




view thread (2+ messages)

Message-ID: <6.1.2.0.2.20060306194603.06570ec0@127.0.0.1>
Permalink:  ../6.1.2.0.2.20060306194603.06570ec0@127.0.0.1/
Also on:    postgresql.org/message-id/6.1.2.0.2.20060306194603.06570ec0@127.0.0.1

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: mengland@mengland.net, mingw-users@lists.sourceforge.net
  Subject: Re: [Mingw-users] Re: How to build thread-safe postgresql 8.x
  In-Reply-To: <6.1.2.0.2.20060306194603.06570ec0@127.0.0.1>
  References: <6.1.2.0.2.20060306100540.04612f08@127.0.0.1> <20060306145320.3qzptouxf58gwogo@mail.progw.org> <6.1.2.0.2.20060306160413.064beea0@127.0.0.1> <6.1.2.0.2.20060306161055.065c4ec0@127.0.0.1> <20060306172935.h4qe98kyj3oc8owc@mail.progw.org> <6.1.2.0.2.20060306170907.069052b8@127.0.0.1> <6.1.2.0.2.20060306194603.06570ec0@127.0.0.1>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox