LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Introducing LinuxThreads to Fedora 4 (https://www.linuxquestions.org/questions/linux-newbie-8/introducing-linuxthreads-to-fedora-4-a-387875/)

Readie 11-30-2005 07:39 AM

Introducing LinuxThreads to Fedora 4
 
Hi All,

Merrily upgraded to Fedora Core 4, and now I find that a program I now need to install requires LinuxThreads. I understand now that it no longer features, but unfortuneatly a role back isn't convienient.

I've be hunting for info and believe I need to install glibc modules, but I'm not really sure and I haven't worked out the correct procedure with an install, -ivh, or upgrade, -Uvh.

If anybody can point me in the right direction to getting LinuxThreads up and running on Fedora Core 4 it would be greatly appreciated. Still new to all this, so take it slow.

pixellany 11-30-2005 06:34 PM

Have you been here?:

http://pauillac.inria.fr/~xleroy/linuxthreads/

Found with a Google search........

(I know nothing)

foo_bar_foo 11-30-2005 11:32 PM

from FC4 release notes
Quote:

In Fedora Core 4 it is still possible to create code using the LinuxThreads definitions. For this the linuxthreads-devel package must be installed and

-I/usr/include/linuxthreads -L/usr/lib{,64}/linuxthreads

must be passed to the compiler.

Previously, you could select the version of glibc and the libpgthread DSH using run time environment variables. You now need to also specify this variable in the environment:

LD_LIBRARY_PATH=/lib{,64}/obsolete/linuxthreads

This additional variables is required because the run/time libraries have been moved out of the way. There might programs that will not work if the program uses an unfortunate DT_RPATH (which overwrites the LD_LIBRARY_PATH setting).

All this makes it more cumbersome to run programs which depend on LinuxThreads. But this is intentional.
must be fc5 is going to be the one without linuxthreads altogether

Readie 12-01-2005 01:15 AM

Yeah, I spotted that in the release notes, but it doesn't mean to much to me, at the moment! I'll see if can find the development package and go from there.

Thanks all for the replies.

Readie 12-06-2005 02:20 AM

I've located the linux-threads development package and installed...

[root@dragon Dragon 6.3.3]# rpm -ivh linuxthreads-devel-2.3.5-10.i386.rpm
warning: linuxthreads-devel-2.3.5-10.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing... ########################################### [100%]
package linuxthreads-devel-2.3.5-10 is already installed
[root@dragon Dragon 6.3.3]#

Still when I try and install the package I want, I get the same response...

[root@dragon mysql-3.23.47]# ./configure --prefix=/usr/local/mysql
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
*****((some lines omitted))*****
checking for int8... no
checking LinuxThreads... Not found
configure: error: This is a linux system and Linuxthreads was not
found. On linux Linuxthreads should be used. So install Linuxthreads
(or a new glibc) and try again. See the Installation chapter in the
Reference Manual.
[root@dragon mysql-3.23.47]#

I've read the release notes, but they don't mean a lot to me at the moment, (You now need to also specify this variable in the environment:, etc). Be greatly appreciated if somebody could help me step through the process


All times are GMT -5. The time now is 07:21 PM.