LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   "checking for the pthreads library -lpthreads... no" in Debian Etch (https://www.linuxquestions.org/questions/linux-software-2/checking-for-the-pthreads-library-lpthreads-no-in-debian-etch-671087/)

cstrieder 09-19-2008 11:32 AM

"checking for the pthreads library -lpthreads... no" in Debian Etch
 
Hi,

I am using Debian Etch. I am trying to install a software with ./configure, make and make install.

After ./configure I am getting:

checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking if more special flags are required for pthreads... no

I have did:

apt-get install libopenthreads-dev

But nothing have changed, some one know wtaht package do I need to install?

TB0ne 09-19-2008 12:16 PM

Quote:

Originally Posted by cstrieder (Post 3285772)
Hi,

I am using Debian Etch. I am trying to install a software with ./configure, make and make install.

After ./configure I am getting:

checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking if more special flags are required for pthreads... no

I have did:

apt-get install libopenthreads-dev

But nothing have changed, some one know wtaht package do I need to install?

How about telling us what software you're trying to install? And you can look for the libpthread, package too.

almatic 09-19-2008 12:52 PM

libpthread should be part of the standard c library. Do you have libc6-dev installed ?

cstrieder 09-19-2008 02:08 PM

Hi TB0ne,

I am trying to install:

- rcssbase-12.1.1.tar.gz

from: http://sourceforge.net/project/showf...group_id=24184

And libpthread package not exist, not with this name, in Debian Etch. According to this:

http://packages.debian.org/search?la...rds=libpthread

I am using Debian with kde, I haven't installed gnome.

...And now, some idea of what I can do?

cstrieder 09-19-2008 02:12 PM

Hi almatic,

it seems that I have libc6-dev installed, apt-get is saying that I have:

root@debian-strieder:~# apt-get install libc6-dev
Reading package lists... Done
Building dependency tree... Done
libc6-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
root@debian-strieder:~#

Some idea?

zen0n 09-19-2008 03:01 PM

A sort of roundabout way of fixing this could be to install apt-file. Then just look in the configure script for how it checks for pthreads. It'll probably be some kind of file check to see if it exists, find the name of that file then do a apt-file search for the file name.

Then just apt-get install that package.

zen0n

almatic 09-19-2008 03:32 PM

Quote:

Originally Posted by zen0n (Post 3285948)
A sort of roundabout way of fixing this could be to install apt-file. Then just look in the configure script for how it checks for pthreads. It'll probably be some kind of file check to see if it exists,

for me it looks as if configure tests, how to include libpthreads. The right option is -pthread imho (not -lpthread or -kthread and so on ...).
Cstrieder, can you confirm that /usr/include/pthread.h is there ? If yes then either the configure script is wrong or you maybe need a newer libc6 ?

Can you post the full configure output including the error message, if there is any ?

knudfl 09-19-2008 06:48 PM

Debian Etch .. rcssbase-12.1.1
Quote:

checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
The 'no' in the first line doesn't matter, rcssbase compiles
with no errors. ( I had to use boost_1_36, the Debian boost
files didn't work, libboost-dev etc. version 1.32 )

Regards


All times are GMT -5. The time now is 12:38 PM.