php52-extensions ошибка

Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок

Модераторы: vadim64, terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
weter_1985
рядовой
Сообщения: 24
Зарегистрирован: 2008-06-24 12:20:09

php52-extensions ошибка

Непрочитанное сообщение weter_1985 » 2014-03-18 16:45:18

Проблема при установки с порта php52-extensions

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

 10.0-RELEASE FreeBSD 10.0-RELEASE #0: Tue Mar 18 16:21:53 ALMT 2014     id088.adm:/usr/obj/usr/src/sys/SVA  i386  

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

===>  PHPizing for php52-gd-5.2.17_15
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
===>  Configuring for php52-gd-5.2.17_15
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/ext/gd/build/libtool.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/ext/gd/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/ext/gd/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/ext/gd/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/ext/pdo_sqlite/sqlite/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/ext/pdo_sqlite/sqlite/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/ext/bcmath/libbcmath/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/ext/bcmath/libbcmath/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/ext/xmlrpc/libxmlrpc/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/TSRM/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/Zend/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/build/libtool.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/php52-gd/work/php-5.2.17/acinclude.m4
configure: loading site script /usr/ports/Templates/config.site
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for a sed that does not truncate output... /usr/bin/sed
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... cpp
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... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i386-portbld-freebsd10.0
checking host system type... i386-portbld-freebsd10.0
checking target system type... i386-portbld-freebsd10.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/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... (cached) /usr/bin/awk
checking if /usr/bin/awk is broken... no
checking for GD support... yes, shared
checking for the location of libjpeg... /usr/local
checking for the location of libpng... /usr/local
checking for the location of libz... /usr
checking for the location of libXpm... /usr/local
checking for FreeType 1.x support... no
checking for FreeType 2... /usr/local
checking for T1lib support... /usr/local
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... no
checking for floorf... no
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
checking for XpmFreeXpmImage in -lXpm... yes
configure: error: freetype.h not found.
===>  Script "configure" failed unexpectedly.
Please report the problem to admin@lissyara.su [maintainer] and attach the
"/usr/ports/graphics/php52-gd/work/php-5.2.17/ext/gd/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. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/graphics/php52-gd
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/graphics/php52-gd
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/php52-extensions
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/php52-extensions

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

apache22-2.2.26                Version 2.2.x of Apache web server with prefork MPM.
apr-1.4.8.1.5.3                Apache Portability Library
autoconf-2.69                  Automatically configure source code on many Un*x platforms
autoconf-wrapper-20131203      Wrapper script for GNU autoconf
bigreqsproto-1.1.2             BigReqs extension headers
ca_root_nss-3.15.4             The root certificate bundle from the Mozilla Project
cmake-2.8.12.1_4               Cross-platform Makefile generator
cmake-modules-2.8.12.1_1       Modules and Templates for CMake
curl-7.35.0                    Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
db41-4.1.25_4                  The Berkeley DB package, revision 4.1
db42-4.2.52_5                  The Berkeley DB package, revision 4.2
dialog4ports-0.1.5_2           Console Interface to configure ports
expat-2.1.0                    XML 1.0 parser written in C
freetype2-2.5.3                Free and portable TrueType font rendering engine
gdbm-1.11                      GNU database manager
gettext-0.18.3.1               GNU gettext package
glib-2.36.3_2                  Some useful routines of C programming (current stable version)
gmake-3.82_1                   GNU version of 'make' utility
help2man-1.43.3_1              Automatically generating simple manual pages from program output
inputproto-2.3                 Input extension headers
jpeg-8_4                       IJG's jpeg compression utilities
kbproto-1.0.6                  KB extension headers
libICE-1.0.8,1                 Inter Client Exchange library for X11
libSM-1.2.2,1                  Session Management library for X11
libX11-1.6.2,1                 X11 library
libXau-1.0.8                   Authentication Protocol library for X11
libXaw-1.0.12,2                X Athena Widgets library
libXdmcp-1.1.1                 X Display Manager Control Protocol library
libXext-1.3.2,1                X11 Extension library
libXmu-1.1.2,1                 X Miscellaneous Utilities libraries
libXp-1.0.2,1                  X print library
libXpm-3.5.11                  X Pixmap library
libXt-1.1.4,1                  X Toolkit library
libcheck-0.9.12                Unit test framework for C
libffi-3.0.13_1                Foreign Function Interface
libgcrypt-1.5.3                General purpose crypto library based on code used in GnuPG
libgpg-error-1.12              Common error values for all GnuPG components
libiconv-1.14_2                A character set conversion library
libpthread-stubs-0.3_4         This library provides weak aliases for pthread functions
libslang2-2.2.4_6              Routines for rapid alpha-numeric terminal applications development
libssh2-1.4.3_2,2              Library implementing the SSH2 protocol
libtool-2.4.2_2                Generic shared library support script
libxcb-1.9.3                   The X protocol C-language Binding (XCB) library
libxml2-2.8.0_3                XML parser library for GNOME
libxslt-1.1.28_1               The XSLT C library for GNOME
libyaml-0.1.4_3                A YAML 1.1 parser and emitter written in C
m4-1.4.17_1,1                  GNU m4
mc-4.8.11                      Midnight Commander, a free Norton Commander Clone
mysql51-client-5.1.73_1        Multithreaded SQL database (client)
mysql51-server-5.1.73_1        Multithreaded SQL database (server)
p5-Locale-gettext-1.05_3       Message handling functions
pcre-8.34                      Perl Compatible Regular Expressions library
perl5-5.16.3_8                 Practical Extraction and Report Language
php52-5.2.17_15                PHP Scripting Language
php52-ctype-5.2.17_15          The ctype shared extension for php
php52-curl-5.2.17_15           The curl shared extension for php
php52-dom-5.2.17_15            The dom shared extension for php
php52-filter-5.2.17_15         The filter shared extension for php
php52-gettext-5.2.17_15        The gettext shared extension for php
php52-hash-5.2.17_15           The hash shared extension for php
php52-iconv-5.2.17_15          The iconv shared extension for php
php52-json-5.2.17_15           The json shared extension for php
php52-mysql-5.2.17_15          The mysql shared extension for php
php52-pcre-5.2.17_15           The pcre shared extension for php
php52-simplexml-5.2.17_15      The simplexml shared extension for php
php52-spl-5.2.17_15            The spl shared extension for php
pkg-1.2.7                      Package manager
pkgconf-0.9.5                  Utility to help to configure compiler and linker flags
png-1.5.18                     Library for manipulating PNG images
portupgrade-2.4.12,2           FreeBSD ports/packages administration and management tool suite
printproto-1.0.5               Print extension headers
python27-2.7.6_4               Interpreted object-oriented programming language
ruby-1.9.3.484_1,1             Object-oriented interpreted scripting language
ruby19-bdb-0.6.6_3             Ruby interface to Oracle Berkeley DB revision 2 or later
squid-2.7.9_4                  HTTP Caching Proxy
t1lib-5.1.2_2,1                Type 1 font rasterization library for Unix/X11
xcb-proto-1.9                  The X protocol C-language Binding (XCB) protocol
xcmiscproto-1.2.2              XCMisc extension headers
xextproto-7.2.1                XExt extension headers
xf86bigfontproto-1.2.0         XFree86-Bigfont extension headers
xorg-macros-1.18.0             X.Org development aclocal macros
xproto-7.0.25                  X11 protocol headers
xtrans-1.3.2                   Abstract network code for X
zsh-5.0.5                      The Z shell

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.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/

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35456
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: php52-extensions ошибка

Непрочитанное сообщение Alex Keda » 2014-03-18 21:12:43

его в портах-то уже нету...
Убей их всех! Бог потом рассортирует...

Аватара пользователя
skeletor
майор
Сообщения: 2548
Зарегистрирован: 2007-11-16 18:22:04

Re: php52-extensions ошибка

Непрочитанное сообщение skeletor » 2014-03-19 12:46:58

тут проблема в другом

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

configure: error: freetype.h not found.
поставить пакет freetype2

weter_1985
рядовой
Сообщения: 24
Зарегистрирован: 2008-06-24 12:20:09

Re: php52-extensions ошибка

Непрочитанное сообщение weter_1985 » 2014-03-19 14:23:34

Alex Keda писал(а):его в портах-то уже нету...
так я его буквально две недели назад ставил все нормально было! :unknown:

weter_1985
рядовой
Сообщения: 24
Зарегистрирован: 2008-06-24 12:20:09

Re: php52-extensions ошибка

Непрочитанное сообщение weter_1985 » 2014-03-19 14:24:01

skeletor писал(а):тут проблема в другом

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

configure: error: freetype.h not found.
поставить пакет freetype2
он установлен

Аватара пользователя
skeletor
майор
Сообщения: 2548
Зарегистрирован: 2007-11-16 18:22:04

Re: php52-extensions ошибка

Непрочитанное сообщение skeletor » 2014-03-19 15:19:21

Date: 2014-03-01
Reason: PHP 5.2 is end-of-life

weter_1985
рядовой
Сообщения: 24
Зарегистрирован: 2008-06-24 12:20:09

Re: php52-extensions ошибка

Непрочитанное сообщение weter_1985 » 2014-03-19 15:40:07

skeletor писал(а):Date: 2014-03-01
Reason: PHP 5.2 is end-of-life
а на php53 sams будет работать!??

Аватара пользователя
skeletor
майор
Сообщения: 2548
Зарегистрирован: 2007-11-16 18:22:04

Re: php52-extensions ошибка

Непрочитанное сообщение skeletor » 2014-03-19 15:53:52

Будет, можно даже на 5.4 или 5.5 пробовать.

weter_1985
рядовой
Сообщения: 24
Зарегистрирован: 2008-06-24 12:20:09

Re: php52-extensions ошибка

Непрочитанное сообщение weter_1985 » 2014-03-19 16:01:03

skeletor писал(а):Будет, можно даже на 5.4 или 5.5 пробовать.
на 55 safe_mode нет

weter_1985
рядовой
Сообщения: 24
Зарегистрирован: 2008-06-24 12:20:09

Re: php52-extensions ошибка

Непрочитанное сообщение weter_1985 » 2014-03-20 7:19:50

Вообще, собрал все на php53, установка прошла без каких либо ошибок, sams установил все работает только пришлось подправить в /usr/local/share/sams/srs
1. configtray.php
2. webconfigtray.php
GetHostName на GetHostName_

Аватара пользователя
ommm
рядовой
Сообщения: 45
Зарегистрирован: 2011-01-28 15:18:48

Re: php52-extensions ошибка

Непрочитанное сообщение ommm » 2014-03-30 21:46:54

Ребят подскажите где php52 и php52-extensions исходники для фрюхи взять ? а то без него никак :(

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35456
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: php52-extensions ошибка

Непрочитанное сообщение Alex Keda » 2014-03-31 8:22:08

http://dns0.host-food.ru/freebsd:9:x86: ... .2/latest/
поставьте из пакетов
Убей их всех! Бог потом рассортирует...

Аватара пользователя
ommm
рядовой
Сообщения: 45
Зарегистрирован: 2011-01-28 15:18:48

Re: php52-extensions ошибка

Непрочитанное сообщение ommm » 2014-04-01 22:02:51

Alex Keda писал(а):http://dns0.host-food.ru/freebsd:9:x86: ... .2/latest/
поставьте из пакетов
К сожалению неполучилось :(

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

...
Installing php52-5.2.17_15...pkg: wrong architecture: freebsd:9:x86:64 instead of freebsd:9:x86:32

Failed to install the following 1 package(s): php52-5.2.17_15.txz
Installing php52-ctype-5.2.17_15...pkg: wrong architecture: freebsd:9:x86:64 instead of freebsd:9:x86:32

Failed to install the following 1 package(s): php52-ctype-5.2.17_15.txz
Installing php52-dom-5.2.17_15...pkg: wrong architecture: freebsd:9:x86:64 instead of freebsd:9:x86:32

Failed to install the following 1 package(s): php52-dom-5.2.17_15.txz
Installing php52-extensions-1.3_1...pkg: wrong architecture: freebsd:9:x86:64 instead of freebsd:9:x86:32
...

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35456
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: php52-extensions ошибка

Непрочитанное сообщение Alex Keda » 2014-04-05 10:49:48

это где ж вы тазик 32 битный в наше время нарыли? =)
Убей их всех! Бог потом рассортирует...

Аватара пользователя
ommm
рядовой
Сообщения: 45
Зарегистрирован: 2011-01-28 15:18:48

Re: php52-extensions ошибка

Непрочитанное сообщение ommm » 2014-04-05 18:40:27

Alex Keda писал(а):это где ж вы тазик 32 битный в наше время нарыли? =)
да это виртуальная машинка на хостинге ISPsystem :)

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35456
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: php52-extensions ошибка

Непрочитанное сообщение Alex Keda » 2014-04-06 0:31:04

там выбор обычно есть.
32 или 64 бита.
--
впрочем, боржоми пить уже поздно =)
Убей их всех! Бог потом рассортирует...