|
|
|
|
LinuxThreads
tosiek - 15-07-2007 21:52
mam taki problem. przy instalacji mysql. po podaniu komendy localhost:/home/daniel/mysql-4.0.27# ./configure --prefix=/usr/local/mysql --with-charset=latin2
wywala mi takie cos: localhost:/home/daniel/mysql-4.0.27# ./configure --prefix=/usr/local/mysql --with-charset=latin2 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether build environment is sane... yes checking whether make sets $(MAKE)... (cached) yes checking for gawk... (cached) mawk checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -E checking "C Compiler version"... "gcc gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)" checking "C++ compiler version"... "g++ g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)" checking for ranlib... ranlib checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... (cached) ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for a BSD-compatible install... /usr/bin/install -c checking for bison... no checking for byacc... no checking for pdftex... no checking for tex... no checking "return type of sprintf"... "int" checking for uname... /bin/uname checking operating system... Linux checking "if we should use 'skip-locking' as default for linux-gnu"... "yes" checking for ln... /bin/ln checking for ln... /bin/ln checking for mv... /bin/mv checking for rm... /bin/rm checking for cp... /bin/cp checking for sed... /bin/sed checking for cmp... /usr/bin/cmp checking for chmod... /bin/chmod checking for hostname... /bin/hostname checking for gnutar... no checking for gtar... no checking for tar... tar checking for perl... /usr/bin/perl checking for ps... /bin/ps checking "how to check if pid exists"... "/bin/ps p $$PID | grep -v grep | grep mysqld > /dev/null" checking for kill... /bin/kill checking "for kill switches"... "/bin/kill -0 $$PID > /dev/null 2> /dev/null" checking for gcc option to accept ANSI C... nm: old_atexit.o: no symbols nm: strtoll.o: no symbols nm: strtoull.o: no symbols nm: strtoll_l.o: no symbols nm: strtoull_l.o: no symbols nm: udiv_qrnnd.o: no symbols nm: wcstoll.o: no symbols nm: wcstoull.o: no symbols nm: wcstoll_l.o: no symbols nm: wcstoull_l.o: no symbols nm: getdents64.o: no symbols nm: readdir64.o: no symbols nm: readdir64_r.o: no symbols nm: glob64.o: no symbols nm: getopt_init.o: no symbols nm: pread64.o: no symbols nm: pwrite64.o: no symbols nm: init-posix.o: no symbols nm: xstat64.o: no symbols nm: fxstat64.o: no symbols nm: lxstat64.o: no symbols nm: statfs64.o: no symbols nm: fstatfs64.o: no symbols nm: statvfs64.o: no symbols nm: fstatvfs64.o: no symbols nm: lseek.o: no symbols nm: lseek64.o: no symbols nm: posix_fadvise64.o: no symbols nm: sendfile64.o: no symbols nm: xstatconv.o: no symbols nm: internal_statvfs64.o: no symbols nm: getrlimit64.o: no symbols nm: setrlimit64.o: no symbols nm: truncate64.o: no symbols nm: ftruncate64.o: no symbols nm: mmap64.o: no symbols nm: lseek.o: no symbols nm: getutmpx.o: no symbols checking if we should use assembler functions... no checking if we should use RAID... no checking If we should should enable LOAD DATA LOCAL by default... no checking for getconf... getconf checking for CFLAGS value to request large file support... checking for LDFLAGS value to request large file support... checking for LIBS value to request large file support... checking for _FILE_OFFSET_BITS... no checking for _LARGEFILE_SOURCE... no checking for _LARGE_FILES... no checking for size_t... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking floatingpoint.h usability... no checking floatingpoint.h presence... no checking for floatingpoint.h... no checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for memory.h... (cached) yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking select.h usability... no checking select.h presence... no checking for select.h... no checking for stdlib.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking synch.h usability... no checking synch.h presence... no checking for synch.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/vadvise.h usability... no checking sys/vadvise.h presence... no checking for sys/vadvise.h... no checking for sys/wait.h... (cached) yes checking term.h usability... no checking term.h presence... no checking for term.h... no checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/malloc.h usability... no checking sys/malloc.h presence... no checking for sys/malloc.h... no checking linux/config.h usability... yes checking linux/config.h presence... yes checking for linux/config.h... yes checking for floor in -lm... yes checking for gethostbyname_r in -lnsl_r... no checking for gethostbyname_r in -lnsl... yes checking for gethostbyname_r... yes checking for setsockopt... yes checking for yp_get_default_domain... yes checking for p2open... no checking for p2open in -lgen... no checking for bind... yes checking for crypt in -lcrypt... yes checking for crypt... yes checking for sem_init... no checking for sem_init in -lposix4... no checking if libz with compress... yes checking for atomic operations... atomic_add atomic_sub checking if we should use pstack... no 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. Please install Linuxthreads (or a new glibc) and try again. See the Installation chapter in the Reference Manual for more information. localhost:/home/daniel/mysql-4.0.27#
co można z tym zrobić i jak ? jestem zielony w takich sprawach i wogóle w linuxie. (mam go od 2-óch tygodni)
matiit - 15-07-2007 23:48
nie znam sie na tym bardzo ale nie ma czasem tego w repo?
- 15-07-2007 23:52
apt-get install libc6-dev Pozdrawiam
tosiek - 16-07-2007 05:00
daniel@localhost:~$ su Password: localhost:/home/daniel# apt-get install libc6-dev Czytanie list pakietów... Gotowe Budowanie drzewa zależności... Gotowe libc6-dev jest już w najnowszej wersji. 0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. localhost:/home/daniel#
niestety dalej nic z tego ;/
jang - 16-07-2007 09:32
Koniecznie musisz mieć wersję mysql < 4.1 ? Jeśli nie zależy Ci na tej wersji to
apt-get install apache2 libapache2-mod-php5 mysql-server php5-mysql
albo 4.0.24 -> http://packages.debian.org/oldstable/misc/mysql-server
checking "LinuxThreads"... "Not found" configure: error: This is a linux system and Linuxthreads was not found. On linux Linuxthreads should be used. Please install Linuxthreads (or a new glibc) and try again.
Może wersja libc6-dev w Etch jest za stara aby to skompliować ?
Pozdrawiam
tosiek - 16-07-2007 10:38
stary mi normalnie w trakcie instalacji nie chce wystartować mysql i nie wiem co jest twój sposób tez nie przeszedł bo mysql nie wystartował a właśnie zainstalowałem na świeżo system normalnie padaka z tym mysql juz nie mam sił na to ale potrzebuje bazy do verlihuba a be z niej to nie przejdzie ;/
[ Dodano: 2007-07-16, 10:41 ] w opisach jak zainstalować mysql wydaje sie byc to proste i zajmujace ok 5min a jednak nie ja mam Etch amd64 wiec nie wiem czy to moze od tego ale stawiałem w chroot sid-i386 i też to samo
[ Dodano: 2007-07-16, 10:44 ] tu opisałem błąd jaki jeszcze mi się pokazuje z instalacji za pomocą apt-get install... http://debian.linux.pl/viewtopic.php?t=31
jang - 16-07-2007 13:34
Z tego ostatniego wpisu wynika jednoznacznie że nie jest zainstalowany mysql. ÂŚćiągnij go z repo i rozpakuj - http://ftp.pl.debian.org/debian/pool...tch1_amd64.deb dpkg -i mysql-server-5.0_5.0.32-7etch1_amd64.deb
Może w ten sposób załapie ?
To wszystko co jest z czerwoną kropką z przodu również musisz mieć zainstalowane - http://packages.debian.org/stable/misc/mysql-server-5.0
tosiek - 16-07-2007 16:10
eh znowu to samo a wszystko mam zainstalowane to co tam jest z czerwoną kropką localhost:~# dpkg -i mysql-server-5.0_5.0.32-7etch1_amd64.deb Zaznaczenie poprzednio niezaznaczonego pakietu mysql-server-5.0. (Odczytywanie bazy danych ... 83237 plików i katalogów obecnie zainstalowanych.)Rozpakowanie mysql-server-5.0 (z mysql-server-5.0_5.0.32-7etch1_amd64.deb) ... Konfigurowanie mysql-server-5.0 (5.0.32-7etch1) ... Stopping MySQL database server: mysqld. Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, action "start" failed. dpkg: błąd przetwarzania mysql-server-5.0 (--install): podproces post-installation script zwrócił kod błędu 1 Wystąpiły błędy podczas przetwarzania: mysql-server-5.0 localhost:~#
jang - 16-07-2007 16:56
Spróbuj jeszcze tak
apt-get --purge remove mysql-client-5.0 mysql-server-5.0 libmysqlclient15-dev
a później :
apt-get install apache2 libapache2-mod-php5 mysql-server php5-mysql
nie mysql-server-5.0 tylko tak jak ja podałem. mysql-server to jest inny pakiecik a on sobie dociągnie mysql-server-5.0 ale sam się wcześniej zainstaluje.
tosiek - 17-07-2007 03:54
niestety dalej ten sam błąd. :-x
zanotowane.pldoc.pisz.plpdf.pisz.plminister.pev.pl
|
|
|
|