ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Прикручивание PHP FPM к нашему PHP
@ 2010-01-29  4:37 Alexey Borovskoy
  2010-01-29  4:40 ` Slava Semushin
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Alexey Borovskoy @ 2010-01-29  4:37 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Добрый день.

Пытаюсь прикрутить вот это http://php-fpm.org к нашему пыхпыху.

Накладыывается и собирается без проблем. Но не проходит секцию install.
Кусок Makefile

install: install-fpm

install-fpm: all
        @echo "Installing PHP FPM binary:
$(INSTALL_ROOT)$(php_fpm_bin_path)"
        @$(mkinstalldirs) $(INSTALL_ROOT)$(php_fpm_bin_dir)
        @$(mkinstalldirs) $(INSTALL_ROOT)$(php_fpm_pid_dir)
        @$(mkinstalldirs) $(INSTALL_ROOT)$(php_fpm_log_dir)
        @$(INSTALL) -m 0755 $(SAPI_FPM_PATH)
$(INSTALL_ROOT)$(php_fpm_bin_path)$(program_suffix)$(EXEEXT)

        @test "$(php_fpm_conf)" && \
        echo "Installing PHP FPM config:
$(INSTALL_ROOT)$(php_fpm_conf_path)" && \
        $(mkinstalldirs) $(INSTALL_ROOT)$(php_fpm_conf_dir) || :

На выходе получается вот так:
Installing PHP FPM binary:        /usr/bin/php-fpm
/bin/install: cannot create regular file `/usr/bin/php-fpm': Permission denied
make: *** [install-fpm] Error 1
make: Leaving directory `/usr/src/RPM/BUILD/php5-source'
error: Bad exit status from /usr/src/tmp/rpm-tmp.92194 (%install)

В rpm-build-php5

%php5_make_install() \
BUILD_ENV_VARS="EXTENSION_DIR=%buildroot/%php5_extdir \
                PEAR_INSTALLDIR=%buildroot/%php5_peardir" \
%makeinstall $BUILD_ENV_VARS %* \
%nil

Кто виноват и что делать?


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-01-29 14:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-29  4:37 [devel] Прикручивание PHP FPM к нашему PHP Alexey Borovskoy
2010-01-29  4:40 ` Slava Semushin
2010-01-29  5:51   ` Andrey Rahmatullin
2010-01-29  5:56     ` Slava Semushin
2010-01-29  6:18       ` Alexey Borovskoy
2010-01-29  6:25         ` Andrey Rahmatullin
2010-01-29  9:05           ` Alexey Borovskoy
2010-01-29  6:41 ` Konstantin Pavlov
2010-01-29 13:55 ` Alexey Morsov
2010-01-29 14:09   ` Alexey Morsov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git