|
MySql -kompilacja
Elber - 08-07-2007 12:50
Witam, mam problem z kompilacją mysql 5.0.41, rozpakowałem, wchodze do folderu i daje: ./configure --prefix=/usr/local/mysql --with-charset=latin2
I wywala mi: Debian-40-etch-32-minimal:~/mysql-5.0.41# ./configure --prefix=/usr/local/mysql --with-charset=latin2 checking build system type... i686-pc-linux-gnulibc1 checking host system type... i686-pc-linux-gnulibc1 checking target system type... i686-pc-linux-gnulibc1 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)... no checking "character sets"... default: latin2, collation: latin2_general_ci; compiled in: latin2 latin1 utf8 checking whether to compile national Unicode collations... yes checking whether build environment is sane... yes checking whether make sets $(MAKE)... (cached) no checking for gawk... (cached) mawk checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. Debian-40-etch-32-minimal:~/mysql-5.0.41#
Zainstalowałem GCC ale to nie pomogło :(
miszmaniac - 08-07-2007 12:55
Spróbuj zainstalować tą paczkę: build-essential
Nie tylko same gcc.
Rad - 08-07-2007 12:56
aptitude install libc6-dev spróbuj.
Elber - 08-07-2007 13:02
Dzięki, zainstalowałem oby dwie rzecz i ruszyło dalej, lecz teraz mam: 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 sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking linux/config.h usability... yes checking linux/config.h presence... yes checking for linux/config.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.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 library containing crypt... -lcrypt checking for library containing inet_aton... none required checking for sched_yield... yes checking for zlib compression library... system-wide zlib not found, using one bundled with MySQL checking whether SHM_HUGETLB is declared... yes checking for atomic operations... no checking if we should use pstack... no checking for int8... no checking "Linux threads"... "starting" checking "getconf GNU_LIBPTHREAD_VERSION"... "NPTL" "no need to check headers" checking "for pthread_create in -lpthread"... "yes" checking "named thread libs:"... "-lpthread" checking for strtok_r in -lpthread... yes checking for strtok_r... yes checking for dlopen in -ldl... yes checking for dlopen... yes checking for dlerror... yes checking for unistd.h... (cached) yes checking for restartable system calls... yes checking "need of special linking flags"... "-rdynamic" checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking needs mysys_new helpers... no checking for char... yes checking size of char... 1 checking for char*... yes checking size of char*... 4 checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for long long... yes checking size of long long... 8 checking size of off_t... 8 checking if time_t is unsigned... no checking the need for #pragma interface/implementation... no checking whether byte ordering is bigendian... no checking base type of last arg to accept... socklen_t checking struct type to use with setrlimit... struct rlimit checking stack direction for C alloca... -1 checking for working alloca.h... (cached) yes checking for alloca... yes checking if struct timespec has a ts_sec member... no checking if we have tzname variable... yes checking for type ulong... yes checking for type uchar... no checking for type uint... yes checking for type fp_except... no checking for type in_addr_t... yes checking if g++ supports bool types... yes checking if conversion of longlong to float works... yes checking for sigset_t... yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking for u_int32_t... yes checking if pthread_yield takes zero arguments... yes checking if pthread_yield takes 1 argument... no checking for malloc.h... (cached) yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking for working alloca.h... yes checking for alloca... (cached) yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for re_comp... yes checking for regcomp... yes checking for strdup... yes checking vis.h usability... no checking vis.h presence... no checking for vis.h... no checking for strlcat... no checking for strlcpy... no checking for issetugid... no checking for fgetln... no checking for getline... yes checking for flockfile... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking ndir.h usability... no checking ndir.h presence... no checking for ndir.h... no checking sys/dir.h usability... yes checking sys/dir.h presence... yes checking for sys/dir.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ndir.h usability... no checking sys/ndir.h presence... no checking for sys/ndir.h... no checking sys/ptem.h usability... no checking sys/ptem.h presence... no checking for sys/ptem.h... no checking sys/pte.h usability... no checking sys/pte.h presence... no checking for sys/pte.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking for sys/mman.h... (cached) yes checking curses.h usability... no checking curses.h presence... no checking for curses.h... no checking termcap.h usability... no checking termcap.h presence... no checking for termcap.h... no checking for termio.h... (cached) yes checking termbits.h usability... no checking termbits.h presence... no checking for termbits.h... no checking asm/termbits.h usability... yes checking asm/termbits.h presence... yes checking for asm/termbits.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking for lstat... yes checking for putenv... yes checking for select... yes checking for setenv... yes checking for setlocale... yes checking for strcoll... yes checking for tcgetattr... yes checking whether stat file-mode macros are broken... no checking for type of signal functions... posix checking whether programs are able to redeclare getpw functions... yes checking for TIOCGWINSZ in sys/ioctl.h... yes checking for FIONREAD in sys/ioctl.h... yes checking for TIOCSTAT in sys/ioctl.h... no checking if struct dirent has a d_ino member... yes checking if struct dirent has a d_namlen member... no checking whether signal handlers are of type void... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for mbsrtowcs... yes checking for mbrtowc... yes checking for mbrlen... yes checking for wctomb... yes checking for wcwidth... yes checking for wcsdup... yes checking for mbstate_t... yes checking for nl_langinfo and CODESET... yes checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for termcap functions library... configure: error: No curses/termcap library found Debian-40-etch-32-minimal:~/mysql-5.0.41#
Rad - 08-07-2007 13:07
apt-get install libncurses5-dev
Było w pierwszym linku na google.
Elber - 08-07-2007 13:08
No wiem już znalazłem, dzięki panowie za pomoc. Pozdr0
zanotowane.pldoc.pisz.plpdf.pisz.plminister.pev.pl
|