Страница 1 из 1

mysql50-client

Добавлено: 2006-08-11 7:51:39
bonh
Помогите не могу поставить из портов mysql50-client ругается следующим образом:

===> Installing for mysql-client-5.0.22
===> Generating temporary packing list
===> Checking if databases/mysql50-client already installed
make install-recursive
Making install in include
make install-am
test -z "/usr/local/include/mysql" || /usr/ports/databases/mysql50-client/work/mysql-5.0.22/install-sh -d "/usr/local/include/mysql"
install -o root -g wheel -m 444 'my_dbug.h' '/usr/local/include/mysql/my_dbug.h'
install -o root -g wheel -m 444 'm_string.h' '/usr/local/include/mysql/m_string.h'
install -o root -g wheel -m 444 'my_sys.h' '/usr/local/include/mysql/my_sys.h'
install -o root -g wheel -m 444 'my_list.h' '/usr/local/include/mysql/my_list.h'
install -o root -g wheel -m 444 'my_xml.h' '/usr/local/include/mysql/my_xml.h'
install -o root -g wheel -m 444 'mysql.h' '/usr/local/include/mysql/mysql.h'
install -o root -g wheel -m 444 'mysql_com.h' '/usr/local/include/mysql/mysql_com.h'
install -o root -g wheel -m 444 'mysql_embed.h' '/usr/local/include/mysql/mysql_embed.h'
install -o root -g wheel -m 444 'my_semaphore.h' '/usr/local/include/mysql/my_semaphore.h'
install -o root -g wheel -m 444 'my_pthread.h' '/usr/local/include/mysql/my_pthread.h'
install -o root -g wheel -m 444 'my_no_pthread.h' '/usr/local/include/mysql/my_no_pthread.h'
install -o root -g wheel -m 444 'raid.h' '/usr/local/include/mysql/raid.h'
install -o root -g wheel -m 444 'errmsg.h' '/usr/local/include/mysql/errmsg.h'
install -o root -g wheel -m 444 'my_global.h' '/usr/local/include/mysql/my_global.h'
install -o root -g wheel -m 444 'my_net.h' '/usr/local/include/mysql/my_net.h'
install -o root -g wheel -m 444 'my_alloc.h' '/usr/local/include/mysql/my_alloc.h'
install -o root -g wheel -m 444 'my_getopt.h' '/usr/local/include/mysql/my_getopt.h'
install -o root -g wheel -m 444 'sslopt-longopts.h' '/usr/local/include/mysql/sslopt-longopts.h'
install -o root -g wheel -m 444 'my_dir.h' '/usr/local/include/mysql/my_dir.h'
install -o root -g wheel -m 444 'typelib.h' '/usr/local/include/mysql/typelib.h'
install -o root -g wheel -m 444 'sslopt-vars.h' '/usr/local/include/mysql/sslopt-vars.h'
install -o root -g wheel -m 444 'sslopt-case.h' '/usr/local/include/mysql/sslopt-case.h'
install -o root -g wheel -m 444 'sql_common.h' '/usr/local/include/mysql/sql_common.h'
install -o root -g wheel -m 444 'keycache.h' '/usr/local/include/mysql/keycache.h'
install -o root -g wheel -m 444 'mysql_time.h' '/usr/local/include/mysql/mysql_time.h'
install -o root -g wheel -m 444 'mysql_version.h' '/usr/local/include/mysql/mysql_version.h'
install -o root -g wheel -m 444 'm_ctype.h' '/usr/local/include/mysql/m_ctype.h'
install -o root -g wheel -m 444 'my_config.h' '/usr/local/include/mysql/my_config.h'
Making install in strings
Making install in mysys
Making install in dbug
Making install in extra
make install-recursive
test -z "/usr/local/include/mysql" || /usr/ports/databases/mysql50-client/work/mysql-5.0.22/install-sh -d "/usr/local/include/mysql"
install -o root -g wheel -m 444 '../include/mysqld_error.h' '/usr/local/include/mysql/mysqld_error.h'
install -o root -g wheel -m 444 '../include/sql_state.h' '/usr/local/include/mysql/sql_state.h'
install -o root -g wheel -m 444 '../include/mysqld_ername.h' '/usr/local/include/mysql/mysqld_ername.h'
Making install in regex
Making install in libmysql_r
test -z "/usr/local/lib/mysql" || /usr/ports/databases/mysql50-client/work/mysql-5.0.22/install-sh -d "/usr/local/lib/mysql"
/usr/local/bin/libtool --preserve-dup-deps --mode=install /usr/bin/install -c -o root -g wheel 'libmysqlclient_r.la' '/usr/local/lib/mysql/libmysqlclient_r.la'
/usr/bin/install -c -o root -g wheel .libs/libmysqlclient_r.so.15 /usr/local/lib/mysql/libmysqlclient_r.so.15
(cd /usr/local/lib/mysql && { ln -s -f libmysqlclient_r.so.15 libmysqlclient_r.so || { rm -f libmysqlclient_r.so && ln -s libmysqlclient_r.so.15 libmysqlclient_r.so; }; })
(cd /usr/local/lib/mysql && { ln -s -f libmysqlclient_r.so.15 libmysqlclient_r.so || { rm -f libmysqlclient_r.so && ln -s libmysqlclient_r.so.15 libmysqlclient_r.so; }; })
/usr/bin/install -c -o root -g wheel .libs/libmysqlclient_r.lai /usr/local/lib/mysql/libmysqlclient_r.la
/usr/bin/install -c -o root -g wheel .libs/libmysqlclient_r.a /usr/local/lib/mysql/libmysqlclient_r.a
chmod 644 /usr/local/lib/mysql/libmysqlclient_r.a
ranlib /usr/local/lib/mysql/libmysqlclient_r.a
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib/mysql

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Making install in libmysql
test -z "/usr/local/lib/mysql" || /usr/ports/databases/mysql50-client/work/mysql-5.0.22/install-sh -d "/usr/local/lib/mysql"
/usr/local/bin/libtool --preserve-dup-deps --mode=install /usr/bin/install -c -o root -g wheel 'libmysqlclient.la' '/usr/local/lib/mysql/libmysqlclient.la'
/usr/bin/install -c -o root -g wheel .libs/libmysqlclient.so.15 /usr/local/lib/mysql/libmysqlclient.so.15
(cd /usr/local/lib/mysql && { ln -s -f libmysqlclient.so.15 libmysqlclient.so || { rm -f libmysqlclient.so && ln -s libmysqlclient.so.15 libmysqlclient.so; }; })
(cd /usr/local/lib/mysql && { ln -s -f libmysqlclient.so.15 libmysqlclient.so || { rm -f libmysqlclient.so && ln -s libmysqlclient.so.15 libmysqlclient.so; }; })
/usr/bin/install -c -o root -g wheel .libs/libmysqlclient.lai /usr/local/lib/mysql/libmysqlclient.la
/usr/bin/install -c -o root -g wheel .libs/libmysqlclient.a /usr/local/lib/mysql/libmysqlclient.a
chmod 644 /usr/local/lib/mysql/libmysqlclient.a
ranlib /usr/local/lib/mysql/libmysqlclient.a
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib/mysql

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Making install in client
test -z "/usr/local/bin" || /usr/ports/databases/mysql50-client/work/mysql-5.0.22/install-sh -d "/usr/local/bin"
/usr/local/bin/libtool --preserve-dup-deps --mode=install install -s -o root -g wheel -m 555 'mysql' '/usr/local/bin/mysql'
install -o root -g wheel -m 555 -s .libs/mysql /usr/local/bin/mysql
/usr/local/bin/libtool --preserve-dup-deps --mode=install install -s -o root -g wheel -m 555 'mysqladmin' '/usr/local/bin/mysqladmin'
install -o root -g wheel -m 555 -s .libs/mysqladmin /usr/local/bin/mysqladmin
/usr/local/bin/libtool --preserve-dup-deps --mode=install install -s -o root -g wheel -m 555 'mysqlcheck' '/usr/local/bin/mysqlcheck'
install -o root -g wheel -m 555 -s .libs/mysqlcheck /usr/local/bin/mysqlcheck
/usr/local/bin/libtool --preserve-dup-deps --mode=install install -s -o root -g wheel -m 555 'mysqlshow' '/usr/local/bin/mysqlshow'
install -o root -g wheel -m 555 -s .libs/mysqlshow /usr/local/bin/mysqlshow
/usr/local/bin/libtool --preserve-dup-deps --mode=install install -s -o root -g wheel -m 555 'mysqldump' '/usr/local/bin/mysqldump'
install -o root -g wheel -m 555 -s .libs/mysqldump /usr/local/bin/mysqldump
/usr/local/bin/libtool --preserve-dup-deps --mode=install install -s -o root -g wheel -m 555 'mysqlimport' '/usr/local/bin/mysqlimport'
install -o root -g wheel -m 555 -s .libs/mysqlimport /usr/local/bin/mysqlimport
/usr/local/bin/libtool --preserve-dup-deps --mode=install install -s -o root -g wheel -m 555 'mysqltest' '/usr/local/bin/mysqltest'
install -o root -g wheel -m 555 -s .libs/mysqltest /usr/local/bin/mysqltest
/usr/local/bin/libtool --preserve-dup-deps --mode=install install -s -o root -g wheel -m 555 'mysqlbinlog' '/usr/local/bin/mysqlbinlog'
install -o root -g wheel -m 555 -s .libs/mysqlbinlog /usr/local/bin/mysqlbinlog
/usr/local/bin/libtool --preserve-dup-deps --mode=install install -s -o root -g wheel -m 555 'mysqltestmanagerc' '/usr/local/bin/mysqltestmanagerc'
install -o root -g wheel -m 555 -s .libs/mysqltestmanagerc /usr/local/bin/mysqltestmanagerc
/usr/local/bin/libtool --preserve-dup-deps --mode=install install -s -o root -g wheel -m 555 'mysqltestmanager-pwgen' '/usr/local/bin/mysqltestmanager-pwgen'
install -o root -g wheel -m 555 -s .libs/mysqltestmanager-pwgen /usr/local/bin/mysqltestmanager-pwgen
Making install in scripts
test -z "/usr/local/bin" || /usr/ports/databases/mysql50-client/work/mysql-5.0.22/install-sh -d "/usr/local/bin"
install -o root -g wheel -m 555 'mysql_config' '/usr/local/bin/mysql_config'
install -o root -g wheel -m 555 'mysql_fix_privilege_tables' '/usr/local/bin/mysql_fix_privilege_tables'
install -o root -g wheel -m 555 'mysqlbug' '/usr/local/bin/mysqlbug'
test -z "/usr/local/share/mysql" || /usr/ports/databases/mysql50-client/work/mysql-5.0.22/install-sh -d "/usr/local/share/mysql"
install -o root -g wheel -m 444 'mysql_fix_privilege_tables.sql' '/usr/local/share/mysql/mysql_fix_privilege_tables.sql'
Making install in man
test -z "/usr/local/man/man1" || /usr/ports/databases/mysql50-client/work/mysql-5.0.22/install-sh -d "/usr/local/man/man1"
install -o root -g wheel -m 444 './mysql_config.1' '/usr/local/man/man1/mysql_config.1'
install -o root -g wheel -m 444 './mysql.1' '/usr/local/man/man1/mysql.1'
install -o root -g wheel -m 444 './mysqladmin.1' '/usr/local/man/man1/mysqladmin.1'
install -o root -g wheel -m 444 './mysqlbinlog.1' '/usr/local/man/man1/mysqlbinlog.1'
install -o root -g wheel -m 444 './mysqlcheck.1' '/usr/local/man/man1/mysqlcheck.1'
install -o root -g wheel -m 444 './mysqldump.1' '/usr/local/man/man1/mysqldump.1'
install -o root -g wheel -m 444 './mysqlimport.1' '/usr/local/man/man1/mysqlimport.1'
install -o root -g wheel -m 444 './mysqlshow.1' '/usr/local/man/man1/mysqlshow.1'
===> Compressing manual pages for mysql-client-5.0.22
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib/mysql
===> Installing ldconfig configuration file
*** Error code 2

Stop in /usr/ports/databases/mysql50-client.

Добавлено: 2006-08-11 8:25:18
Alex Keda
руками эту команду

Код: Выделить всё

/sbin/ldconfig -m /usr/local/lib/mysql 
после чего make install

Добавлено: 2006-08-11 8:40:04
Urgor
mysql-client-5.0.22
Уже mysql-client-5.0.24 в портах...

Добавлено: 2006-08-11 10:32:17
bonh
lissyara писал(а):руками эту команду

Код: Выделить всё

/sbin/ldconfig -m /usr/local/lib/mysql 
после чего make install
:( Делал я так, я твою статью по mysql'ю читал, не помогает.... Возможно клиета и сервера на один ПК ставить незя??

Добавлено: 2006-08-11 10:57:13
Alex Keda
ну да. У всех можно у тя нельзя...

Добавлено: 2006-08-11 10:59:08
bonh
Вот и я дума можно. :cry:

Добавлено: 2007-02-06 11:35:19
braven
Не совсем в тему но спрошу, у меня почему то слетела половина сервисов и помогло только /sbin/ldconfig -m /usr/local/lib/mysql, из-за чего может быть подобное кто нибудь может сказать?
И еще, у меня выделенные сервер, и похоже провайдер что то намудрил, теперь после ребута не поднимаются демоны прописаные в rc.conf, где можно посмотреть почему не стартуют демоны?