MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: Help on Debian Source building mysql 5.5.10 w/ CMake
Posted by: Noel Cruz
Date: April 04, 2011 02:09PM

what happens if i try ./configure --prefix=/usr/local/mysql as opposed to cmake?
still appreciate any help. tried the official release configure option:

shell> cmake -DBUILD_CONFIG=mysql_release -DIGNORE_AIO_CHECK=1 ..

it compiled 100% after make and make install. but i guess it wasn't properly built. unable to run mysqld daemon to start the mysql server using both libexec/mysqld

okkaba@okako:/usr/local/mysql/bin$ ls -al ../libexec/
total 8744
drwxr-sr-x 2 mysql mysql 4096 2010-10-22 11:52 .
drwxr-sr-x 16 mysql mysql 4096 2011-04-02 19:42 ..
-rwxr-xr-x 1 mysql mysql 7791653 2010-10-22 11:52 mysqld
-rwxr-xr-x 1 mysql mysql 1134365 2010-10-22 11:52 mysqlmanager

and bin/mysqld

-rwxr-xr-x 1 root mysql 38599234 2011-04-04 12:21 mysqld
-rwxr-xr-x 1 root mysql 23366 2011-04-03 08:50 mysqld_multi
-rwxr-xr-x 1 root mysql 22139 2011-04-03 08:50 mysqld_safe

so mysql client programs won't run either. no mysql daemon on ps -ax and running post-install script and trying:

okako:/usr/local/mysql# /usr/local/mysql/bin/mysqld_safe --user=mysql &
[1] 16494
okako:/usr/local/mysql# 110404 12:36:05 mysqld_safe Logging to '/var/lib/mysql/okako.err'.
110404 12:36:05 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110404 12:36:07 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

[1]+ Done /usr/local/mysql/bin/mysqld_safe --user=mysql
okako:/usr/local/mysql# /usr/local/mysql/bin/mysqld_safe --user=mysql &
[1] 16848
okako:/usr/local/mysql# 110404 12:36:35 mysqld_safe Logging to '/var/lib/mysql/okako.err'.
110404 12:36:35 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110404 12:36:37 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

mysql pid ended???

inspecting /var/lib/mysql log files:
okako:/usr/local/mysql# ls -al /var/lib/mysql/
total 28744
drwx------ 4 mysql root 4096 2011-04-04 12:37 .
drwxr-xr-x 40 root root 4096 2011-04-03 09:08 ..
-rw-rw---- 1 mysql mysql 18874368 2011-04-04 12:37 ibdata1
-rw-rw---- 1 mysql mysql 5242880 2011-04-04 12:37 ib_logfile0
-rw-rw---- 1 mysql mysql 5242880 2011-04-04 11:47 ib_logfile1
drwx------ 2 mysql root 4096 2011-04-03 09:08 mysql
-rw-rw---- 1 mysql root 6748 2011-04-04 12:37 okako.err
drwx------ 2 mysql root 4096 2011-04-03 09:08 test
okako:/usr/local/mysql# ls -al /var/lib/mysql/okako.err
-rw-rw---- 1 mysql root 6748 2011-04-04 12:37 /var/lib/mysql/okako.err
okako:/usr/local/mysql# cat /var/lib/mysql/okako.err
110404 11:47:21 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110404 11:47:22 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'
110404 11:47:22 InnoDB: The InnoDB memory heap is disabled
110404 11:47:22 InnoDB: Mutexes and rw_locks use GCC atomic builtins
110404 11:47:22 InnoDB: Compressed tables use zlib 1.2.5
110404 11:47:22 InnoDB: Using Linux native AIO
110404 11:47:22 InnoDB: Initializing buffer pool, size = 128.0M
110404 11:47:22 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
110404 11:47:22 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
110404 11:47:22 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
110404 11:47:22 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
110404 11:47:22 InnoDB: 1.1.5 started; log sequence number 0
110404 11:47:22 [ERROR] /usr/local/mysql/bin/mysqld: unknown option '--skip-bdb'
110404 11:47:22 [ERROR] Aborting

110404 11:47:22 InnoDB: Starting shutdown...
110404 11:47:24 InnoDB: Shutdown completed; log sequence number 1595675
110404 11:47:24 [Note]
110404 11:47:24 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
110404 11:56:52 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110404 11:56:52 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'
/usr/local/mysql/bin/mysqld: Unknown error 1146
110404 11:56:52 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
110404 11:56:52 InnoDB: The InnoDB memory heap is disabled
110404 11:56:52 InnoDB: Mutexes and rw_locks use GCC atomic builtins
110404 11:56:52 InnoDB: Compressed tables use zlib 1.2.5
110404 11:56:52 InnoDB: Using Linux native AIO
110404 11:56:52 InnoDB: Initializing buffer pool, size = 128.0M
110404 11:56:52 InnoDB: Completed initialization of buffer pool
110404 11:56:52 InnoDB: highest supported file format is Barracuda.
110404 11:56:52 InnoDB: 1.1.5 started; log sequence number 1595675
110404 11:56:52 [ERROR] /usr/local/mysql/bin/mysqld: unknown option '--skip-bdb'
110404 11:56:52 [ERROR] Aborting

110404 11:56:52 InnoDB: Starting shutdown...
110404 11:56:54 InnoDB: Shutdown completed; log sequence number 1595675
110404 11:56:54 [Note]
110404 11:56:54 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
110404 12:36:05 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110404 12:36:05 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'
110404 12:36:05 [Note] Plugin 'FEDERATED' is disabled.
/usr/local/mysql/bin/mysqld: Unknown error 1146
110404 12:36:05 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
110404 12:36:05 InnoDB: The InnoDB memory heap is disabled
110404 12:36:05 InnoDB: Mutexes and rw_locks use GCC atomic builtins
110404 12:36:05 InnoDB: Compressed tables use zlib 1.2.3
110404 12:36:05 InnoDB: Using Linux native AIO
110404 12:36:05 InnoDB: Initializing buffer pool, size = 128.0M
110404 12:36:05 InnoDB: Completed initialization of buffer pool
110404 12:36:05 InnoDB: highest supported file format is Barracuda.
110404 12:36:05 InnoDB: Waiting for the background threads to start
110404 12:36:06 InnoDB: 1.1.5 started; log sequence number 1595675
110404 12:36:06 [ERROR] /usr/local/mysql/bin/mysqld: unknown option '--skip-bdb'
110404 12:36:06 [ERROR] Aborting

110404 12:36:06 InnoDB: Starting shutdown...
110404 12:36:07 InnoDB: Shutdown completed; log sequence number 1595675
110404 12:36:07 [Note]
110404 12:36:07 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
110404 12:36:35 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110404 12:36:35 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'
110404 12:36:35 [Note] Plugin 'FEDERATED' is disabled.
/usr/local/mysql/bin/mysqld: Unknown error 1146
110404 12:36:35 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
110404 12:36:35 InnoDB: The InnoDB memory heap is disabled
110404 12:36:35 InnoDB: Mutexes and rw_locks use GCC atomic builtins
110404 12:36:35 InnoDB: Compressed tables use zlib 1.2.3
110404 12:36:35 InnoDB: Using Linux native AIO
110404 12:36:35 InnoDB: Initializing buffer pool, size = 128.0M
110404 12:36:35 InnoDB: Completed initialization of buffer pool
110404 12:36:35 InnoDB: highest supported file format is Barracuda.
110404 12:36:35 InnoDB: Waiting for the background threads to start
110404 12:36:36 InnoDB: 1.1.5 started; log sequence number 1595675
110404 12:36:36 [ERROR] /usr/local/mysql/bin/mysqld: unknown option '--skip-bdb'
110404 12:36:36 [ERROR] Aborting

110404 12:36:36 InnoDB: Starting shutdown...
110404 12:36:37 InnoDB: Shutdown completed; log sequence number 1595675
110404 12:36:37 [Note]
110404 12:36:37 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
110404 12:37:01 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110404 12:37:01 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'
110404 12:37:01 [Note] Plugin 'FEDERATED' is disabled.
/usr/local/mysql/bin/mysqld: Unknown error 1146
110404 12:37:01 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
110404 12:37:01 InnoDB: The InnoDB memory heap is disabled
110404 12:37:01 InnoDB: Mutexes and rw_locks use GCC atomic builtins
110404 12:37:01 InnoDB: Compressed tables use zlib 1.2.3
110404 12:37:01 InnoDB: Using Linux native AIO
110404 12:37:01 InnoDB: Initializing buffer pool, size = 128.0M
110404 12:37:01 InnoDB: Completed initialization of buffer pool
110404 12:37:01 InnoDB: highest supported file format is Barracuda.
110404 12:37:01 InnoDB: Waiting for the background threads to start
110404 12:37:02 InnoDB: 1.1.5 started; log sequence number 1595675
110404 12:37:02 [ERROR] /usr/local/mysql/bin/mysqld: unknown option '--skip-bdb'
110404 12:37:02 [ERROR] Aborting

110404 12:37:02 InnoDB: Starting shutdown...
110404 12:37:03 InnoDB: Shutdown completed; log sequence number 1595675
110404 12:37:03 [Note]
110404 12:37:03 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
okako:/usr/local/mysql# exit
exit
okkaba@okako:~/mysql/mysql-5.5.10/bld$ cmake -DBUILD_CONFIG=mysql_release -DIGNORE_AIO_CHECK=1 ..

once again, thanks for any help. noel

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Help on Debian Source building mysql 5.5.10 w/ CMake
2500
April 04, 2011 02:09PM


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.