Re: Thank you!I need your help!
ÕÅÉƽð wrote: I'm sorry that my English is very week!I come from Chinese ! My computer OS is RedHat Linux 7.2 and the machine is intel celeron 300A 64M memory! the bad command message is : snipped NOTE: This is a MySQL binary distribution. It's ready to run, you don't need to configure it! Don't sweat the language issue, but I've removed all non-essential messages and left the one that matters: you're trying to compile something that is ready to run. Try: /etc/init.d/mysql start And, see what happens. If that doesn't work, get the binary server or the full source version. RedHat has the mysql server on the CD as an RPM. Just install that... Van -- = Linux rocks!!! http://www.dedserius.com/ = - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Thank you!I need your help!
Hi, checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing You need to install automake and autoconf before trying to compile MySQL. (texinfo is optional) Regards, Jocelyn Fournier - Original Message - From: ÕÅÉƽð [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 24, 2002 12:24 PM Subject: Thank you!I need your help! please tell what mean the follow: [root@guanqun zsj]# cd /usr/local/src [root@guanqun src]# cd mysql-3.23.44.tar/ [root@guanqun mysql-3.23.44.tar]# ./configure --prefix=/usr/local/mysql bash: ./configure: No such file or directory [root@guanqun mysql-3.23.44.tar]# ls mysql-3.23.44 mysql-3.23.44.tar [root@guanqun mysql-3.23.44.tar]# cd mysql-3.23.44 [root@guanqun mysql-3.23.44]# ./configure --prefix=/usr/local/mysql loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing 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) gawk checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ranlib... (cached) ranlib checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking for bison... no checking for byacc... no checking for pdftex... 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 perl... /usr/bin/perl checking for ps... /bin/ps checking how to check if pid exists... /bin/ps p $$PID | 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... checking whether to use RAID... no checking for getconf... getconf checking for CFLAGS value to request large file support... -D_FILE_OFFSET_BITS=6 4 checking for LDFLAGS value to request large file support... checking for LIBS value to request large file support... checking for _FILE_OFFSET_BITS... 64 checking for _LARGEFILE_SOURCE... no checking for _LARGE_FILES... no checking for ANSI C header files... yes checking for size_t... yes checking for dirent.h that defines DIR... yes checking for opendir in
Re: Thank you!I need your help!
I think the problem is that the mysql package is still tarred. You need to tar -xvf mysqlx.tar This will extract the archive into a new folder, and from within that folder you should run the commands as listed in your original mail (./configure .) So in short, the commands you are trying to use *appears* to be correct, you just need to unpack the files before issuing the commands. Your situation is similar to having a mysql package that is winzipped, you first need to unzip it. Jocelyn Fournier wrote: Hi, checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing You need to install automake and autoconf before trying to compile MySQL. (texinfo is optional) Regards, Jocelyn Fournier - Original Message - From: ÕÅÉƽð [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 24, 2002 12:24 PM Subject: Thank you!I need your help! please tell what mean the follow: [root@guanqun zsj]# cd /usr/local/src [root@guanqun src]# cd mysql-3.23.44.tar/ [root@guanqun mysql-3.23.44.tar]# ./configure --prefix=/usr/local/mysql bash: ./configure: No such file or directory [root@guanqun mysql-3.23.44.tar]# ls mysql-3.23.44 mysql-3.23.44.tar [root@guanqun mysql-3.23.44.tar]# cd mysql-3.23.44 [root@guanqun mysql-3.23.44]# ./configure --prefix=/usr/local/mysql loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing 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) gawk checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ranlib... (cached) ranlib checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking for bison... no checking for byacc... no checking for pdftex... 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 perl... /usr/bin/perl checking for ps... /bin/ps checking how to check if pid exists... /bin/ps p $$PID | 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... checking whether to use RAID... no checking for getconf... getconf checking for
RE: Thank you!I need your help!
You need libtermcap. (libtermcap-2.0.8-28.i386.rpm) You are running a Redhat 7.2 box, use binary distribution instead of source package if you're not familiar with building programs. Regards, Sébastien please tell what mean the follow: [root@guanqun zsj]# cd /usr/local/src [root@guanqun src]# cd mysql-3.23.44.tar/ [root@guanqun mysql-3.23.44.tar]# ./configure --prefix=/usr/local/mysql bash: ./configure: No such file or directory [root@guanqun mysql-3.23.44.tar]# ls mysql-3.23.44 mysql-3.23.44.tar [root@guanqun mysql-3.23.44.tar]# cd mysql-3.23.44 [root@guanqun mysql-3.23.44]# ./configure --prefix=/usr/local/mysql loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing 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) gawk checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ranlib... (cached) ranlib checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking for bison... no checking for byacc... no checking for pdftex... 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 perl... /usr/bin/perl checking for ps... /bin/ps checking how to check if pid exists... /bin/ps p $$PID | 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... checking whether to use RAID... no checking for getconf... getconf checking for CFLAGS value to request large file support... -D_FILE_OFFSET_BITS=6 4 checking for LDFLAGS value to request large file support... checking for LIBS value to request large file support... checking for _FILE_OFFSET_BITS... 64 checking for _LARGEFILE_SOURCE... no checking for _LARGE_FILES... no checking for ANSI C header files... yes checking for size_t... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for float.h... yes checking for floatingpoint.h... no checking for ieeefp.h... no checking for limits.h... yes checking