[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem building octave
From: |
John W. Eaton |
Subject: |
Re: problem building octave |
Date: |
Wed, 13 May 2009 17:33:25 -0400 |
On 13-May-2009, Matt Funk wrote:
| Mmhh,
|
| i am not sure if this is a problem with octave. I just double checked and i
| actually have pthread.h in usr/lib as well as /usr/lib/libpthread.a.
|
| So why is the linker not finding it?
| The problem is i tried this on 2 different machines (both are Debian testing)
| and both come up with the same error.
|
| Let me try to give configure these extra options (i.e. explicitly give it the
| include and lib directory) and see if that works.
Like I said, the problem is that configure is not even checking for
the pthread library. So just adding -L/usr/lib to LDFLAGS is not
enough. Besides, I'm pretty sure your compiler is looking in /usr/lib
for libraries...
However, you could try LDFLAGS=-lpthread.
But also as I said, it would be nice if someone would contribute a
patch for configure that does the right thing...
jwe