LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-15-2015, 04:53 AM   #1
sgoin
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Rep: Reputation: Disabled
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!!!!!!!!
 
Old 01-15-2015, 05:47 PM   #2
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Looks like the software is so old (2001?) it doesn't recognise 64bit systems. Can you not use a more recent version?
 
Old 01-19-2015, 12:28 AM   #3
sgoin
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
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!
 
Old 01-19-2015, 03:16 AM   #4
sgoin
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
I managed to sort the above issue..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR :MPC make error libgmp.la is not a valid libtool bhupinderjitbawa Linux - Software 4 11-23-2015 04:43 PM
[SOLVED] Good tutorial to configure script and libtool sree_ec Linux - Newbie 5 12-31-2014 02:36 PM
ERROR :MPC make error libgmp.la is not a valid libtool bhupinderjitbawa Linux - General 1 05-26-2011 11:58 AM
error: /bin/sh './configure' failed for authlib , while installing courier IMAP putquery8581 Red Hat 0 09-30-2004 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration