# apt-get install php5-pinba
# php -m | grep pinba
pinba
# apt-get install pinba-engine-mysql-5.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
pinba-engine-mysql-5.5 : Depends: mysql-server-core-5.5 (< 5.5.41) but 5.5.41-0+wheezy1 is to be installed
E: Unable to correct problems, you have held broken packages.
# apt-get install mysql-server-core-5.5
mysql-server-core-5.5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
# apt-get remove libmysqlclient18 mysql-client-5.5 mysql-server-core-5.5
# apt-get install mysql-server-core-5.5
# apt-get install pinba-engine-mysql-5.5
The following packages have unmet dependencies:
pinba-engine-mysql-5.5 : Depends: mysql-server-core-5.5 (< 5.5.41) but 5.5.41-0+wheezy1 is to be installed
Recommends: mysql-client-5.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
# apt-get install mysql-client-5.5
The following packages have unmet dependencies:
pinba-engine-mysql-5.5 : Depends: mysql-server-core-5.5 (< 5.5.41) but 5.5.41-0+wheezy1 is to be installed
E: Unable to correct problems, you have held broken packages.
Ок, ставлю recommended, но возвращаюсь к самой первой ошибке:
# apt-get install mysql-client-5.5
The following packages have unmet dependencies:
pinba-engine-mysql-5.5 : Depends: mysql-server-core-5.5 (< 5.5.41) but 5.5.41-0+wheezy1 is to be installed
E: Unable to correct problems, you have held broken packages.
Что я делаю неправильно в данном случае? И как поставить пинбу?
-- Wbr, Antony Dovgal --- http://pinba.org - realtime profiling for PHP
# apt-get purge mysql\* -y
# apt-get purge -y# apt-get autoremove -y
# apt-get autoclean -y
# apt-get clean -y
# apt-get update -y
# updatedb
# mkdir -p /usr/local/src/mysql
# cd /usr/local/src/mysql
# apt-get source mysql-5.6
# apt-get install build-essential devscripts fakeroot -y
# cd /usr/local/src/mysql/mysql-5.6-5.6.21/
# debuild -uc -us
# cd /usr/local/src/mysql
# dpkg -i mysql-*.deb
# mysql --version
# cd /tmp
# git clone https://github.com/tony2001/pinba_engine.git
# cd /tmp/pinba_engine
# ./buildconf.sh
# ./configure \
--with-mysql=/usr/local/src/mysql/mysql-5.6-5.6.21 \
--with-judy=/judy/prefix \
--with-event=/event/prefix \
--libdir=/usr/lib/mysql/plugin
checking for MySQL source code... configure: error: Failed to find required header file include/my_dir.h in /usr/local/src/mysql, check the path and make sure you've run './configure ..<options>.. && cd include && make' in MySQL sources dir
# locate my_dir.h
/usr/local/src/mysql/mysql-5.6-5.6.21/debian/libmysqlclient-dev/usr/include/mysql/my_dir.h
/usr/local/src/mysql/mysql-5.6-5.6.21/debian/tmp/usr/include/mysql/my_dir.h
/usr/local/src/mysql/mysql-5.6-5.6.21/include/my_dir.h
# ./usr/local/src/mysql/mysql-5.6-5.6.21/configure
-bash: ./usr/local/src/mysql/mysql-5.6-5.6.21/configure: No such file or directory
# cd /usr/local/src/mysql
# find . -type f -name "*configure*"
./mysql-5.6-5.6.21/configure-pic-stamp
./mysql-5.6-5.6.21/debian/tmp/usr/share/mysql/binary-configure
./mysql-5.6-5.6.21/builddir/support-files/binary-configure
./mysql-5.6-5.6.21/cmake/configure.pl
./mysql-5.6-5.6.21/builddir-pic/support-files/binary-configure
./mysql-5.6-5.6.21/libevent/configure.in
./mysql-5.6-5.6.21/configure.cmake
./mysql-5.6-5.6.21/configure-stamp
./mysql-5.6-5.6.21/BUILD/cmake_configure.sh
./mysql-5.6-5.6.21/storage/ndb/ndb_configure.cmake
./mysql-5.6-5.6.21/support-files/binary-configure.sh