Проблемы с установкой, настройкой и работой системных и сетевых программ.
Модераторы: GRooVE, alexco
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
-
100matolog
- ст. сержант
- Сообщения: 309
- Зарегистрирован: 2008-05-30 12:11:16
- Откуда: kiev
-
Контактная информация:
Непрочитанное сообщение
100matolog » 2009-10-14 11:15:01
Пытаюсь поставить из портов Cacti
Код: Выделить всё
[root@tester /usr/ports/net-mgmt/cacti]# cat distinfo
MD5 (cacti-0.8.7e.tar.gz) = 7563a58a57d2c6cc0da28cc341a30969
SHA256 (cacti-0.8.7e.tar.gz) = 1983f16cd5cf5e30b33b43b167e324713f0711167f5dcde57f3cbfbeddbaa7ff
SIZE (cacti-0.8.7e.tar.gz) = 2232297
система
Код: Выделить всё
FreeBSD 7.0-RELEASE #0 :/usr/obj/usr/src/sys/TESTER i386
в процессе установки ругается на следующее
Код: Выделить всё
==> Configuring for php5-mysql-5.2.11
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... yes
checking build system type... i386-portbld-freebsd7.0
checking host system type... i386-portbld-freebsd7.0
checking target system type... i386-portbld-freebsd7.0
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-zts-20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for MySQL support... yes, shared
checking for specified location of the MySQL UNIX socket... no
checking for the location of libz... /usr
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
===> Script "configure" failed unexpectedly.
Please report the problem to ale@FreeBSD.org [maintainer] and attach the
"/usr/ports/databases/php5-mysql/work/php-5.2.11/ext/mysql/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1
в логе вот такое
Код: Выделить всё
[root@tester /usr/ports/databases/php5-mysql/work/php-5.2.11/ext/mysql]# tail -30 config.log
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/local/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i386-portbld-freebsd7.0'
target_alias=''
target_cpu='i386'
target_os='freebsd7.0'
target_vendor='portbld'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define HAVE_MYSQL 1
configure: exit 1
есть соображения что ему не нравится?
100matolog
-
Хостинг HostFood.ru
-
Хостинг HostFood.ru
Тарифы на хостинг в России, от 12 рублей:
https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.:
https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах:
https://www.host-food.ru/domains/
-
Raven2000
- -=_UNIX_=-
- Сообщения: 4427
- Зарегистрирован: 2006-10-29 17:59:13
- Откуда: Там, где нас нет.
-
Контактная информация:
Непрочитанное сообщение
Raven2000 » 2009-10-15 7:54:07
Mysql и php5 стоит?
попробуй вручную поставить php5-mysql
cd /usr/ports/lang/php5-extensions/ ([X] MYSQL MySQL database support )
Raven2000
-
100matolog
- ст. сержант
- Сообщения: 309
- Зарегистрирован: 2008-05-30 12:11:16
- Откуда: kiev
-
Контактная информация:
Непрочитанное сообщение
100matolog » 2009-10-15 8:26:28
Raven2000 писал(а):Mysql и php5 стоит?
попробуй вручную поставить php5-mysql
cd /usr/ports/lang/php5-extensions/ ([X] MYSQL MySQL database support )
мускуль и пхп стоит..
100matolog
-
Raven2000
- -=_UNIX_=-
- Сообщения: 4427
- Зарегистрирован: 2006-10-29 17:59:13
- Откуда: Там, где нас нет.
-
Контактная информация:
Непрочитанное сообщение
Raven2000 » 2009-10-15 8:37:51
pkg_info |grep php5-mysql
?
Raven2000
-
100matolog
- ст. сержант
- Сообщения: 309
- Зарегистрирован: 2008-05-30 12:11:16
- Откуда: kiev
-
Контактная информация:
Непрочитанное сообщение
100matolog » 2009-10-15 11:02:31
Raven2000 писал(а):pkg_info |grep php5-mysql
?
на это ничего нет
а попытка отдельно поставить екстеншены завершилось вот этим
Код: Выделить всё
===> Configuring for php5-mysql-5.2.11
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... yes
checking build system type... i386-portbld-freebsd7.0
checking host system type... i386-portbld-freebsd7.0
checking target system type... i386-portbld-freebsd7.0
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-zts-20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for MySQL support... yes, shared
checking for specified location of the MySQL UNIX socket... no
checking for the location of libz... /usr
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
===> Script "configure" failed unexpectedly.
Please report the problem to ale@FreeBSD.org [maintainer] and attach the
"/usr/ports/databases/php5-mysql/work/php-5.2.11/ext/mysql/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1
Stop in /usr/ports/databases/php5-mysql.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
100matolog