LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error: libtool configure failed (https://www.linuxquestions.org/questions/linux-newbie-8/error-libtool-configure-failed-4175531090/)

sgoin 01-15-2015 04:53 AM

error: libtool configure failed
 
Hi,
After extracting mysql-3.23.40.tar.gz
cd mysql-3.23.40/

Then
mysql-3.23.40]# ./configure --prefix=~/MySQL --with-mysqld-user=generic_user
loading cache ./config.cache
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking target system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

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... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
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
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed

Help!!!!!!!!

Daws 01-15-2015 05:47 PM

Looks like the software is so old (2001?) it doesn't recognise 64bit systems. Can you not use a more recent version?

sgoin 01-19-2015 12:28 AM

Thanks Daws... Looks like i ran into troble again. i have cheched permissions and i cant figure out whats the issue..


mysql-5.1.72-linux-x86_64-glibc23]# ./scripts/mysql_install_db --user=mysql --basedir=/root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql --datadir=/root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/data
Installing MySQL system tables...
150119 1:20:38 [ERROR] /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/bin/mysqld: Can't find file: './mysql/db.frm' (errno: 13)
ERROR: 1017 Can't find file: './mysql/db.frm' (errno: 13)
150119 1:20:38 [ERROR] Aborting

150119 1:20:38 [Note] /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/bin/mysqld: Shutdown complete


Installation of system tables failed! Examine the logs in
/root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/data for more information.

You can try to start the mysqld daemon with:

shell> /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/bin/mysqld --skip-grant &

and use the command line tool /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/bin/mysql
to connect to the mysql database and look at the grant tables:

shell> /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/data that may be helpful.

Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS. Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before mailing us! And remember, if
you do mail us, you MUST use the /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/scripts/mysqlbug script!

sgoin 01-19-2015 03:16 AM

I managed to sort the above issue..


All times are GMT -5. The time now is 06:34 PM.