Monday, November 16, 2009, 2:09:42 PM, ODionysus wrote:
> Устанавливаю как написано здесь
> http://ru.gentoo-wiki.com/wiki/Высокопроизводительный_PHP_сервер_на_основе_nginx#.D0.93.D0.B2.D0.BE.D0.B7.D0.B4.D1.8C_.D0.BF.D1.80.D0.BE.D0.B3.D1.80.D0..B0.D0.BC.D0.BC.D1.8B_.E2.80.94_.D0.BF.D0.B0.D1.82.D1.87_php-fpm
> и вот что получаеться:
> share1 php # ebuild php-5.2.10-r1.ebuild digest
>>>> Creating Manifest for /usr/local/portage/dev-lang/php
> share1 php # ebuild php-5.2.10-r1.ebuild merge
> Disabling noauto in features... merge disables it. (qmerge doesn't)
> * php-5.2.10.tar.bz2 RMD160 SHA1 SHA256
> size ;-) ...
> [ ok ]
> * php-patchset-5.2.10-r1.tar.bz2 RMD160 SHA1 SHA256
> size ;-) ... [ ok ]
> * php-5.2.10-fpm-0.5.13.diff.gz RMD160 SHA1 SHA256
> size ;-) ... [ ok ]
> * checking ebuild
> checksums ;-) ...
> [ ok ]
> * checking auxfile
> checksums ;-) ...
> [ ok ]
> * checking miscfile
> checksums ;-) ...
> [ ok ]
> * checking
> php-5.2.10.tar.bz2 ;-) ...
> [ ok ]
> * checking php-patchset-5.2.10-
> r1.tar.bz2 ;-) ...
> [ ok ]
> * checking php-5.2.10-
> fpm-0.5.13.diff.gz ;-) ...
> [ ok ]
> * Determining SAPI(s) to build
> * Enabled SAPI: cli
> * Enabled SAPI: cgi
> * Enabled SAPI: apache2
>>>> Checking php-5.2.10.tar.bz2's mtime...
>>>> Checking php-patchset-5.2.10-r1.tar.bz2's mtime...
>>>> Checking php-5.2.10-fpm-0.5.13.diff.gz's mtime...
>>>> Not marked as unpacked; recreating WORKDIR...
>>>> Unpacking source...
>>>> Unpacking php-5.2.10.tar.bz2 to /var/tmp/portage/dev-lang/php-5.2.10-r1/work
>>>> Unpacking php-patchset-5.2.10-r1.tar.bz2 to /var/tmp/portage/dev-lang/php-5.2.10-r1/work
>>>> Unpacking php-5.2.10-fpm-0.5.13.diff.gz to /var/tmp/portage/dev-lang/php-5.2.10-r1/work
> * Applying php-5.2.10-
> fpm-0.5.13.diff ...
> [ ok ]
> * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
> *
> * /usr/local/portage/dev-lang/php/files/php-5.2.10-fpm-0.5.13.diff-
> ext.patch
> * ( php-5.2.10-fpm-0.5.13.diff-ext.patch )
> * ERROR: dev-lang/php-5.2.10-r1 failed:
> * Cannot find $EPATCH_SOURCE!
> *
> * Call stack:
> * ebuild.sh, line 55: Called src_unpack
> * environment, line 5009: Called epatch '/usr/local/portage/dev-
> lang/php/files/php-5.2.10-fpm-0.5.13.diff-ext.patch'
> * environment, line 2143: Called die
> * The specific snippet of code:
> sed: невозможно прочитать
> /var/tmp/portage/dev-lang/php-5.2.10-r1/temp/
> environment: Нет такого файла или каталога
> *
> * If you need support, post the output of 'emerge --info =dev-lang/
> php-5.2.10-r1',
> * the complete build log and the output of 'emerge -pqv =dev-lang/
> php-5.2.10-r1'.
> * This ebuild is from an overlay: '/usr/local/portage/'
> * The complete build log is located at '/var/tmp/portage/dev-lang/
> php-5.2.10-r1/temp/build.log'.
> * The ebuild environment file is located at '/var/tmp/portage/dev-
> lang/php-5.2.10-r1/temp/die.env'.
> * S: '/var/tmp/portage/dev-lang/php-5.2.10-r1/work/php-5.2.10'
> share1 php # emerge --info =dev-lang/php-5.2.10-r1
> Portage 2.1.7.5 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11-r0,
> 2.6.30-gentoo-r6 i686)
> =================================================================
> System Settings
> =================================================================
> System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Pentium-R-
> _4_CPU_2.80GHz-with-gentoo-2.0.1
> Timestamp of tree: Mon, 16 Nov 2009 07:30:01 +0000
> app-shells/bash: 4.0_p35
> dev-lang/python: 2.6.4, 3.1.1-r1
> sys-apps/baselayout: 2.0.1
> sys-apps/openrc: 0.5.2-r2
> sys-apps/sandbox: 2.2
> sys-devel/autoconf: 2.63-r1
> sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2, 1.11
> sys-devel/binutils: 2.20
> sys-devel/gcc-config: 1.4.1
> sys-devel/libtool: 2.2.6a
> virtual/os-headers: 2.6.30-r1
> ACCEPT_KEYWORDS="x86 ~x86"
> ACCEPT_LICENSE="* -@EULA"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
> CHOST="i686-pc-linux-gnu"
> CONFIG_PROTECT="/etc"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/
> fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-
> active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /
> etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
> CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="assume-digests distlocks fixpackages news parallel-fetch
> protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans
> userfetch"
> GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles"
> LANG="ru_RU.UTF-8"
> LC_ALL=""
> LDFLAGS="-Wl,-O1"
> LINGUAS="ru en"
> MAKEOPTS="-j2"
> PKGDIR="/usr/portage/packages"
> PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --
> compress --force --whole-file --delete --stats --timeout=180 --
> exclude=/distfiles --exclude=/local --exclude=/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/portage"
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="acl acpi apache2 bash-completion berkdb bzip2 calendar cli
> cracklib crypt cups curl cxx dri exif fastcgi fontconfig fortran ftp
> gd gdbm geoip gif gzip hddtemp iconv imagemagick imap innodb
> javascript jpeg lm_sensors logrotate mailwrapper mhash mime mmx
> modules mudflap mysql mysqli ncurses nls nptl nptlonly openmp pam
> pcntl pcre pdf perl php png posix pppd python readline reflection rss
> session sharedmem simplexml soap sockets spl sse sse2 ssl subversion
> symlink sysfs syslog tcl tcpd threads tidy tokenizer truetype unicode
> x86 xml xmlrpc xsl zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp
> atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371
> es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-
> audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym
> copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
> lfloat linear meter mmap_emul mulaw multi null plug rate route share
> shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias
> authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
> authz_groupfile authz_host authz_owner authz_user autoindex cache dav
> dav_fs dav_lock deflate dir disk_cache env expires ext_filter
> file_cache filter headers include info log_config logio mem_cache mime
> mime_magic negotiation rewrite setenvif speling status unique_id
> userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard
> mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk
> hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en"
> USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv
> r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
> Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> share1 php # emerge -pqv =dev-lang/php-5.2.10-r1
> [ebuild U ] dev-lang/php-5.2.10-r1 [5.2.9-r2] USE="apache2 bzip2
> calendar cgi cli crypt ctype curl curlwrappers exif force-cgi-redirect
> fpm%* ftp gd iconv imap json mhash mysql mysqli nls pcntl pcre pdo
> posix session simplexml soap sockets ssl threads tidy tokenizer
> truetype unicode xml xmlreader xmlrpc xmlwriter xsl zip zlib -adabas -
> bcmath -berkdb -birdstep -cdb -cjk -concurrentmodphp -db2 -dbase -
> dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -
> fastbuild -fdftk -filter -firebird -flatfile -frontbase -gd-external -
> gdbm -gmp -hash -inifile -interbase -iodbc -ipv6 (-java-external) -
> kerberos -kolab -ldap -ldap-sasl -libedit -mcve -msql -mssql -ncurses -
> oci8 -oci8-instant-client -odbc -pic -postgres -qdbm -readline -recode
> -reflection -sapdb -sharedext -sharedmem -snmp -solid -spell -spl -
> sqlite -suhosin -sybase -sybase-ct -sysvipc -wddx -xpm -yaz"
> share1 php #
> On 16 ноя, 12:27, Sergey Kobzar <sergey.kob...@mail.ru> wrote:
>> Monday, November 16, 2009, 11:46:11 AM, ODionysus wrote:
>>
>> > Добрый день. Уже неделю никак не могу установить php-fpm в gentoo.
>> > Толи нет ebuild то ли он для версии php 5.3 а в portage пока только
>> > версия php-5.2.11-r1. Уже близок к тому что б собрать из исходников
>> > ( но не хотелось бы )
>> > Подскажите, пожалуйста, что делать ?
>> > Заранее спасибо.
>>
>> http://bugs.gentoo.org/show_bug.cgi?id=208155
>>
>> Поставил патч для php-5.2.10. Полет нормальный. Для 5.2.11 ebuild не
>> нашел, самому писать лень, да и не вижу пока смысла - 5.3 уже на
>> дворе.
cat /etc/make.conf | grep PORTDIR_OVERLAY
?
--
Sergey