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

Re: Thread code not vpath-safe

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Thread code not vpath-safe
Date: 2004-04-26 17:15:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Alvaro Herrera wrote:
> The thread testing program is not nice to a vpath build.  I see this
> error:
> checking for gmake... gmake
> checking thread safety of required library functions... Makefile:13: ../../../src/ No such file or directory
> gmake: *** No rule to make target `../../../src/'.  Stop.
> configure: error: Can not clean thread test directory.
> (Basically what I'm doing is create an empty directory, cd to it and
> then call ../sourcedir/configure --enable-thread-safety)

I tried and couldn't get it to fail.  Do you have this line at the
bottom of

	if ! $srcdir/src/tools/thread/thread_test >&5

  Bruce Momjian                        |
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to


pgsql-hackers by date

Next:From: Josh BerkusDate: 2004-04-26 17:16:07
Subject: Re: Do we prefer software that works or software that looks good?
Previous:From: Bruce MomjianDate: 2004-04-26 17:08:55
Subject: Re: PITR Phase 1 - Test results

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group