ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Borovskoy <alb@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] Прикручивание PHP FPM к нашему PHP
Date: Fri, 29 Jan 2010 16:37:31 +1200
Message-ID: <3f60a831001282037r4f7e9ee7x39378855016acede@mail.gmail.com> (raw)

Добрый день.

Пытаюсь прикрутить вот это 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

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


             reply	other threads:[~2010-01-29  4:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29  4:37 Alexey Borovskoy [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3f60a831001282037r4f7e9ee7x39378855016acede@mail.gmail.com \
    --to=alb@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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