Code:
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!
*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
When I run ./setup.sh and choose all default: apache2, php5 cli, when it run to there, it show that mysql doesn't installed, because that php can't be compiled.
After that, I go to custombuild folder and run below command:
- ./build update
- ./build clean
- ./build mysql
It show me some error that I realize that mysql has problem:
Code:
[root@shared001 custombuild]# ./build mysql d
Cannot find /usr/bin/mysqldump
Found /usr/local/directadmin/custombuild/mysql/MySQL-client-5.1.46-1.glibc23.i386.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-devel-5.1.46-1.glibc23.i386.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-server-5.1.46-1.glibc23.i386.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-shared-5.1.46-1.glibc23.i386.rpm
Stopping mysqld ...
mysqld: unrecognized service
Cannot find /usr/bin/mysql, installing MySQL
error: MySQL-shared-5.1.46-1.glibc23.i386.rpm: headerRead failed: hdr blob(23312): BAD, read returned 5196
error: MySQL-shared-5.1.46-1.glibc23.i386.rpm cannot be installed
mysqld: unrecognized service
Giving mysqld a few seconds to start up...
Restarting MySQL.
./build: line 2747: /etc/init.d/mysqld: No such file or directory
It is recommended to do "./build php n" after MySQL update.
Please tell me know how can I fix it? I think file "MySQL-shared-5.1.46-1.glibc23.i386.rpm" has some error here. But I don't know how to repair it.
Last edited: