MySQL Forums
Forum List  »  Source, Builds, Binaries

./configure does not complete for 5.1.45
Posted by: jerry tavares
Date: March 17, 2010 11:08AM

I am trying to build MySQL from source mysql-5.1.45 on a Ubuntu 9.10 Server. This is my first time using MySQl - so I am greatful for any help.

I downloaded the following:-
"Generic Linux (Architecture Independent), Compressed TAR Archive":- msql-5.1.45.tar.gz.

To my /usr/local/src directory

change to directory /usr/local/src

logged in as root: su followed by root password

uncompress the source files: gunzip < msql-5.1.45.tar.gz | tar xvf -

Create a link referring to directory: mysql-5.1.45 in the /usr/local directory: ln -s /usr/local/src/mysql-5.1.45 mysql

add a group: groupadd mysql

add a user : useradd -g mysql mysql

change to the msql directory: cd mysql

ran the following command (note all these are provided via the installation notes)
./configure --prefix=/usr/local/mysql

At this point there was not make file (so I could not run "make" followed by "make install"

I found these errors in the config.log file:-

configure:7059: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:7066: $? = 1

configure:7166: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:7173: $? = 1

configure:18196: gcc -E conftest.c
conftest.c:34:28: error: ac_nonexistent.h: No such file or directory
configure:18203: $? = 1

conftest.c: In function 'main':
conftest.c:77: error: expected expression before ')' token
configure:21054: $? = 1

Note these errors appear a few times throughout the log file.

Not sure what to do next.

Kind Regards,

Jerry Tavares

Options: ReplyQuote


Subject
Views
Written By
Posted
./configure does not complete for 5.1.45
5975
March 17, 2010 11:08AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.