List:General Discussion« Previous MessageNext Message »
From:<sinisa Date:July 24 1999 1:31pm
Subject:MySQL and Slackware Linux r3.6 (Kernel 2.0.35) (libpthread &
perl confusion)
View as plain text  
Joseph M. Hinkle writes:
 > In case it is of value to anyone:
 > 
 > Going over the output of 'configure' I noticed it reported 'LinuxThreads
 > Not found' which was odd considering it is part of the Slackware
 > installation package.
 > 
 > Come to find out that check looks for the string "Linuxthreads" in
 > /usr/include/pthread.h.  Looking at that include, it lacks the header
 > containing that string (and the GPL notice) and the whole file doesn't seem
 > to amount to much.
 > Looking at the library itself, it is half the size of the one compiled from
 > linuxthreads-0.7.1.tgz, and it is even labelled differently,
 > 'libpthread.0.7.so' instead of 'libpthread.so.0.7'
 > Even though MySQL here (3.22.25) compiled and ran, it could be missing
 > something, so I'd recommend users of this flavor of Linux obtain the source
 > package of linuxthreads-0.7.1.tgz and compile and install it themselves.
 > 
 > 'configure' also reports 'perl5... no' 
 > I can't readily follow how that check is made, but '/usr/lib/perl5' exists,
 > and /usr/bin/perl5.00502 (and the soft link 'perl') from the base
 > installation.  I can't yet tell if the false 'no' report is important.
 > 
 > There were just a few warnings on compilation:
 > libmysql.c: extern declaration of getpwuid doesn't match global one
 > pthread/sleep.h: ANSI C++ forbids implicit conversion from 'void *' in
 > arguments
 >   (This one will stop compilation until you remove '-Werror' from
 > mit-pthreads/GNUMakefile)
 > my_thr_init.c: return makes integer from pointer without a cast
 > And in references to field.h, many complaints:
 > field.h: implicit declaration of function 'int bzero(...)'
 > Also
 > item_strfunc.cc: implicit declaration of function 'int crypt(..)'
 > mysqld.cc: implicit declaration of functions 'int chroot(), gethostname()'
 > sql_base.cc & log.cc: implicit declaration of function 'int bcmp()'
 > 
 > jmh
 > 
 > 
 > 
 > 
 > 
 > 

Hi!

Regarding Linuxthreads they are a part of the standard glibc package.

Your Slackware does not have it, so please, install it !!

Sinisa

+----------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___     ==  mysql@stripped            |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic          |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@stripped|
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus             |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                             |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                            |
|             /*/             \*\                Developers Team       |
+----------------------------------------------------------------------+



Thread
MySQL and Slackware Linux r3.6 (Kernel 2.0.35) (libpthread &perl confusion)Joseph M. Hinkle24 Jul
  • MySQL and Slackware Linux r3.6 (Kernel 2.0.35) (libpthread &perl confusion)sinisa24 Jul
  • Re: MySQL and Slackware Linux r3.6 (Kernel 2.0.35) (libpthread &perl confusion)Van24 Jul
    • Re: MySQL and Slackware Linux r3.6 (Kernel 2.0.35) (libpthread &perl confusion)sinisa25 Jul
Re: MySQL and Slackware Linux r3.6 (Kernel 2.0.35) (libpthread&perl confusion)Joseph M. Hinkle24 Jul