Welcome! Log In Create A New Profile

Advanced

установка в Gentoo

Posted by odionysus 
установка в Gentoo
November 16, 2009 04:56AM
Добрый день. Уже неделю никак не могу установить php-fpm в gentoo.
Толи нет ebuild то ли он для версии php 5.3 а в portage пока только
версия php-5.2.11-r1. Уже близок к тому что б собрать из исходников
( но не хотелось бы )
Подскажите, пожалуйста, что делать ?
Заранее спасибо.
Sergey Kobzar
Re: установка в Gentoo
November 16, 2009 05:34AM
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 уже на
дворе.

--
Sergey
Re: установка в Gentoo
November 16, 2009 07:44AM
Устанавливаю как написано здесь
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 уже на
> дворе.
>
> --
> Sergey
Sergey Kobzar
Re[2]: установка в Gentoo
November 16, 2009 08:06AM
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
Re: установка в Gentoo
November 16, 2009 08:16AM
On 16 ноя, 14:50, Sergey Kobzar <sergey.kob...@mail.ru> wrote:
> Monday, November 16, 2009, 2:09:42 PM, ODionysus wrote:
>
> cat /etc/make.conf | grep PORTDIR_OVERLAY
> ?
>
> --
> Sergey

share1 php # cat /etc/make.conf | grep PORTDIR_OVERLAY
PORTDIR_OVERLAY="/usr/local/portage"
Sergey Kobzar
Re[2]: установка в Gentoo
November 16, 2009 08:52AM
Monday, November 16, 2009, 3:11:08 PM, ODionysus wrote:


> On 16 ноя, 14:50, Sergey Kobzar <sergey.kob...@mail.ru> wrote:
>> Monday, November 16, 2009, 2:09:42 PM, ODionysus wrote:
>>
>> cat /etc/make.conf | grep PORTDIR_OVERLAY
>> ?
>>
>> --
>> Sergey

> share1 php # cat /etc/make.conf | grep PORTDIR_OVERLAY
> PORTDIR_OVERLAY="/usr/local/portage"

ls /usr/local/portage/dev-lang/php/files/ | grep 'php-5.2.10-fpm-0.5.13.diff-ext.patch'
?

--
Sergey
Re: установка в Gentoo
November 16, 2009 09:14AM
>
> >> cat /etc/make.conf | grep PORTDIR_OVERLAY
> >> ?
>
> >> --
> >> Sergey
> > share1 php # cat /etc/make.conf | grep PORTDIR_OVERLAY
> > PORTDIR_OVERLAY="/usr/local/portage"
>
> ls /usr/local/portage/dev-lang/php/files/ | grep 'php-5.2.10-fpm-0.5.13.diff-ext.patch'
> ?
>
> --
> Sergey


share1 php # ls /usr/local/portage/dev-lang/php/files/ | grep
'php-5.2.10-fpm-0.5.13.diff-ext.patch'
share1 php #

Это мои кривые руки или проблема с ebuild ?
Sergey Kobzar
Re[2]: установка в Gentoo
November 16, 2009 09:26AM
Monday, November 16, 2009, 4:05:23 PM, ODionysus wrote:

>> >> cat /etc/make.conf | grep PORTDIR_OVERLAY
>> >> ?
>>
>> >> --
>> >> Sergey
>> > share1 php # cat /etc/make.conf | grep PORTDIR_OVERLAY
>> > PORTDIR_OVERLAY="/usr/local/portage"
>>
>> ls /usr/local/portage/dev-lang/php/files/ | grep 'php-5.2.10-fpm-0.5.13.diff-ext.patch'
>> ?
>>
>> --
>> Sergey


> share1 php # ls /usr/local/portage/dev-lang/php/files/ | grep
> 'php-5.2.10-fpm-0.5.13.diff-ext.patch'
> share1 php #

> Это мои кривые руки или проблема с ebuild ?

http://bugs.gentoo.org/show_bug.cgi?id=208155

В самом верху есть список файлов, которые надо выложить в
/usr/local/portage/dev-lang/php и
/usr/local/portage/dev-lang/php/files/ чтобы собрать пакет.


--
Sergey
Re: установка в Gentoo
November 16, 2009 10:28AM
On 16 ноя, 16:17, Sergey Kobzar <sergey.kob...@mail.ru> wrote:
> Monday, November 16, 2009, 4:05:23 PM, ODionysus wrote:
>
>
>
>
>
> >> >> cat /etc/make.conf | grep PORTDIR_OVERLAY
> >> >> ?
>
> >> >> --
> >> >> Sergey
> >> > share1 php # cat /etc/make.conf | grep PORTDIR_OVERLAY
> >> > PORTDIR_OVERLAY="/usr/local/portage"
>
> >> ls /usr/local/portage/dev-lang/php/files/ | grep 'php-5.2.10-fpm-0.5.13.diff-ext.patch'
> >> ?
>
> >> --
> >> Sergey
> > share1 php # ls /usr/local/portage/dev-lang/php/files/ | grep
> > 'php-5.2.10-fpm-0.5.13.diff-ext.patch'
> > share1 php #
> > Это мои кривые руки или проблема с ebuild ?
>
> http://bugs.gentoo.org/show_bug.cgi?id=208155
>
> В самом верху есть список файлов, которые надо выложить в
> /usr/local/portage/dev-lang/php и
> /usr/local/portage/dev-lang/php/files/ чтобы собрать пакет.
>
> --
> Sergey

Огромное, человеческое, Вам спасибо) Заработало)

Появилась новая проблема:

share1 php # /etc/init.d/php-fpm restart
* Caching service dependencies...
/etc/init.d/../conf.d/php-fpm: line 1: syntax error near unexpected
token `newline'
/etc/init.d/../conf.d/php-fpm: line 1: `<?xml version="1.0"?>'
Service `dmcrypt' needs non existant service `device-
mapper' [ ok ]
/etc/init.d/../conf.d/php-fpm: line 1: syntax error near unexpected
token `newline'
/etc/init.d/../conf.d/php-fpm: line 1: `<?xml version="1.0"?>'
* Stopping PHP FastCGI
server...
[ ok ]
/etc/init.d/../conf.d/php-fpm: line 1: syntax error near unexpected
token `newline'
/etc/init.d/../conf.d/php-fpm: line 1: `<?xml version="1.0"?>'
* Starting PHP FastCGI server...

Вот конфиг:

share1 php # cat /etc/conf.d/php-fpm
<?xml version="1.0"?>

<configuration>
<section name="global_options">
<process_control_timeout>2s</process_control_timeout>
</section>
<workers>
<section name="pool">
<listen_address>127.0.0.1:9000</listen_address>
<pm>
<showlog>true</showlog>
</pm>
</section>
</workers>
Andrey N. Oktyabrski
Re: установка в Gentoo
November 16, 2009 01:44PM
ODionysus wrote:
> share1 php # /etc/init.d/php-fpm restart
> * Caching service dependencies...
> /etc/init.d/../conf.d/php-fpm: line 1: syntax error near unexpected
> token `newline'
А не спасёт ли нечто типа этого?
cat /etc/conf.d/php-fpm | tr -d '\r' > /tmp/php-fpm \
&& mv /tmp/php-fpm /etc/conf.d/php-fpm
Sergey Kobzar
Re[2]: установка в Gentoo
November 16, 2009 02:38PM
Да вообще непонятно откуда это файло в /etc/conf.d/ взялось:

# ls -alh /etc/conf.d/ | grep php
#

Оно должно быть тут:
# ls -alh /etc/php/cgi-php5/ | grep php
-rw-r--r-- 1 root root 2.3K Nov 12 14:25 php-fpm.conf
-rw-r--r-- 1 root root 45K Nov 3 07:55 php.ini

Шо ж это так ebuild покорежило?! ;)


Monday, November 16, 2009, 8:42:48 PM, Andrey wrote:


> ODionysus wrote:
>> share1 php # /etc/init.d/php-fpm restart
>> * Caching service dependencies...
>> /etc/init.d/../conf.d/php-fpm: line 1: syntax error near unexpected
>> token `newline'
> А не спасёт ли нечто типа этого?
> cat /etc/conf.d/php-fpm | tr -d '\r' > /tmp/php-fpm \
> && mv /tmp/php-fpm /etc/conf.d/php-fpm


--
Sergey
Re: установка в Gentoo
November 16, 2009 03:10PM
On 16 ноя, 20:42, "Andrey N. Oktyabrski" <a.n.oktyabr...@gmail.com>
wrote:
> ODionysus wrote:
> > share1 php # /etc/init.d/php-fpm restart
> > * Caching service dependencies...
> > /etc/init.d/../conf.d/php-fpm: line 1: syntax error near unexpected
> > token `newline'
>
> А не спасёт ли нечто типа этого?
> cat /etc/conf.d/php-fpm | tr -d '\r' > /tmp/php-fpm \
>    && mv /tmp/php-fpm /etc/conf.d/php-fpm

Не помогло (
Re: установка в Gentoo
November 16, 2009 03:10PM
On 16 ноя, 21:35, Sergey Kobzar <sergey.kob...@mail.ru> wrote:
> Да вообще непонятно откуда это файло в /etc/conf.d/ взялось:
>
> # ls -alh /etc/conf.d/ | grep php
> #
>
> Оно должно быть тут:
> # ls -alh /etc/php/cgi-php5/ | grep php
> -rw-r--r-- 1 root root 2.3K Nov 12 14:25 php-fpm.conf
> -rw-r--r-- 1 root root  45K Nov  3 07:55 php.ini
>
> Шо ж это так ebuild покорежило?! ;)
>
> Monday, November 16, 2009, 8:42:48 PM, Andrey wrote:
>
> > ODionysus wrote:
> >> share1 php # /etc/init.d/php-fpm restart
> >> * Caching service dependencies...
> >> /etc/init.d/../conf.d/php-fpm: line 1: syntax error near unexpected
> >> token `newline'
> > А не спасёт ли нечто типа этого?
> > cat /etc/conf.d/php-fpm | tr -d '\r' > /tmp/php-fpm \
> >    && mv /tmp/php-fpm /etc/conf.d/php-fpm
>
> --
> Sergey

Так этот файл /etc/conf.d/php-fpm я сам создал ...
Сейчас его кильнул и переписал /etc/php/cgi-php5/php-fpm.conf из /etc/
php/cgi-php5/php-fpm.conf.dist
Добавил свои настройки. И ... всё заработало без ошибок )
Спасибо всем кто помогал.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready