List:General Discussion« Previous MessageNext Message »
From:Travis Briggs Date:June 28 2012 1:21am
Subject:Trying to compile mysql 5.5 on Ubuntu 12.04
View as plain text  
Hello,

I've checked out the sources using

$ bzr branch lp:mysql-server/5.5 mysql-5.5

In the mysql directory, I'm trying to execute:

$ BUILD/compile-pentium64-debug --prefix=~/mysql-bin

This seems logical, because my I have 64 bit Ubuntu 12.04 and an Intel CPU

It gets to 100% and then fails:


[100%] Linking CXX executable mysqld
Built target mysqltest
gcc: error: _ALL_STATIC=1: No such file or directory
make[2]: *** [sql/mysqld] Error 1
make[1]: *** [sql/CMakeFiles/mysqld.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Built target symlink_libmysqlclient_r.a
make: *** [all] Error 2


I've seen http://bugs.launchpad.net/codership-mysql/+bug/890982 with the
same error in the trace, with the comment from ayurchen:
>> This leads me to conclude that compile-pentium64 script and its
derivatives is genuinely broken in MySQL and compile-amd64-* should be used
instead.

Is that true? Am I doing something wrong?

Thanks,
-Travis

Thread
Trying to compile mysql 5.5 on Ubuntu 12.04Travis Briggs28 Jun
  • Re: Trying to compile mysql 5.5 on Ubuntu 12.04Mark Haney28 Jun