LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2008, 11:32 AM   #1
cstrieder
Member
 
Registered: Sep 2008
Location: Brazil
Distribution: Slackware
Posts: 58

Rep: Reputation: 15
"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?
 
Old 09-19-2008, 12:16 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,685

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by cstrieder View Post
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.
 
Old 09-19-2008, 12:52 PM   #3
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
libpthread should be part of the standard c library. Do you have libc6-dev installed ?
 
Old 09-19-2008, 02:08 PM   #4
cstrieder
Member
 
Registered: Sep 2008
Location: Brazil
Distribution: Slackware
Posts: 58

Original Poster
Rep: Reputation: 15
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?
 
Old 09-19-2008, 02:12 PM   #5
cstrieder
Member
 
Registered: Sep 2008
Location: Brazil
Distribution: Slackware
Posts: 58

Original Poster
Rep: Reputation: 15
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?
 
Old 09-19-2008, 03:01 PM   #6
zen0n
LQ Newbie
 
Registered: Jul 2004
Location: Winnipeg
Distribution: debian
Posts: 22

Rep: Reputation: 15
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
 
Old 09-19-2008, 03:32 PM   #7
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
Quote:
Originally Posted by zen0n View Post
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 ?
 
Old 09-19-2008, 06:48 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Turn ON "URL rewrite" in Apache2 (debian etch) swmok Linux - Server 2 11-19-2007 04:02 AM
LXer: Installing Debian Etch From A Windows System With "Debian-Installer Loader" LXer Syndicated Linux News 0 09-28-2007 12:41 AM
LXer: DistroWatch Weekly: Overview of Debian and Mandriva, Debian 4.0 "Etch", SimplyMEPIS 6.5 LXer Syndicated Linux News 0 04-09-2007 05:46 AM
LXer: Linux Distribution Debian 4.0 "Etch" suffers delays LXer Syndicated Linux News 0 11-18-2006 02:21 AM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration