ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Радик Юсупов" <radyus@yandex.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Правильная сборка Zarafa
Date: Tue, 26 Apr 2011 22:02:43 +0400
Message-ID: <4DB708C3.1010500@yandex.ru> (raw)
In-Reply-To: <4DAE8A92.3090404@yandex.ru>

20.04.2011 11:26, Радик Юсупов пишет:
> Коллеги, начал разбираться с тем, чтобы _правильно_ упаковать 
> web-конфиги для zarafa.
Вроде разобрался.
Теперь разбираюсь с правильной сборкой модуля для php.

На данный момент если собрать с коммитом 
http://git.altlinux.org/people/radik/packages/?p=zarafa.git;a=commit;h=95af4c9b4c4c17dba8bcdab91c05b3e203346bca, 
то пакеты собираются.
Но apache2 не запускается вот с такой ошибкой:
====
[notice] Apache/2.2.17 (Unix) PHP5/5.3.6 with Suhosin-Patch configured 
-- resuming normal operations
[notice] SIGHUP received.  Attempting to restart
[notice] Apache/2.2.17 (Unix) PHP5/5.3.6 with Suhosin-Patch configured 
-- resuming normal operations
[notice] SIGHUP received.  Attempting to restart
[notice] seg fault or similar nasty error detected in the parent process
====

Если добавить то что есть в коммите 
http://git.altlinux.org/people/radik/packages/?p=zarafa.git;a=commit;h=022909b55bcd21a704490969ac989b77ab4b8efe 
то сборка обламывается вот с такой ошибкой:

====
Making install in php-ext
make[2]: Entering directory `/usr/src/RPM/BUILD/zarafa-7.0.0/php-ext'
make[3]: Entering directory `/usr/src/RPM/BUILD/zarafa-7.0.0/php-ext'
test -z "/usr/src/tmp/zarafa-buildroot/etc" || /bin/mkdir -p 
"/usr/src/tmp/zarafa-buildroot/etc"
  /bin/install -p -m 644 'zarafa.ini' 
'/usr/src/tmp/zarafa-buildroot/etc/zarafa.ini'
test -z "/usr/src/tmp/zarafa-buildroot/usr/lib" || /bin/mkdir -p 
"/usr/src/tmp/zarafa-buildroot/usr/lib"
  /bin/sh ../libtool   --mode=install /bin/install -p  'mapi.la' 
'/usr/src/tmp/zarafa-buildroot/usr/lib/mapi.la'
libtool: install: error: cannot install `mapi.la' to a directory not 
ending in /usr/lib/php/5.3.6/extensions
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/usr/src/RPM/BUILD/zarafa-7.0.0/php-ext'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/usr/src/RPM/BUILD/zarafa-7.0.0/php-ext'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/zarafa-7.0.0'
make: *** [install] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/zarafa-7.0.0'
error: Bad exit status from /usr/src/tmp/rpm-tmp.99387 (%install)
====

Подсматривал как делать тут:
http://git.altlinux.org/gears/p/php5-mysqli.git

Ребята, прошу помочь разобраться с правильной сборкой модуля для php5. К 
сожалению, я не пойму как делать это _правильно_у_нас_, так как в их 
пакете для centos у них совсем по-другому.
Тестирую на server-light.

Спасибо за конструктивные ответы!

P.S. По горячим следам пишу инструкцию по установке и первоначальной 
настройке:
http://www.altlinux.org/Zarafa

P.P.S. Могу собрать тестовый таск для желающих 
установить/поиграться/посмотреть в чем дело.

-- 
ALTLinux Team
E-mail/XMPP:radyus@ya.ru



  reply	other threads:[~2011-04-26 18:02 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-14 18:10 Радик Юсупов
2011-04-14 19:46 ` Lenar Shakirov
2011-04-15 12:34   ` Радик Юсупов
2011-04-15 12:45     ` Andrew Clark
2011-04-15 14:49       ` Радик Юсупов
2011-04-15 15:35         ` Andrew Clark
2011-04-15 15:41           ` Радик Юсупов
2011-04-15 15:44             ` Andrew Clark
2011-04-15 16:06               ` Радик Юсупов
2011-04-15 16:03             ` Andrew Clark
2011-04-15 16:24               ` Радик Юсупов
2011-04-15 17:08                 ` Andrew Clark
2011-04-16  4:52                   ` Радик Юсупов
2011-04-16  4:56                     ` Andrew Clark
2011-04-16  5:05                       ` Радик Юсупов
2011-04-16  5:15                         ` Andrew Clark
2011-04-16  5:19                           ` Радик Юсупов
2011-04-16  6:51                           ` Радик Юсупов
2011-04-16 17:25                             ` Радик Юсупов
2011-04-18 18:12                             ` Andrew Clark
2011-04-19  4:58                               ` Радик Юсупов
2011-04-19  5:18                                 ` Andrew Clark
2011-04-19  5:28                                   ` Радик Юсупов
2011-04-19  5:00                               ` Радик Юсупов
2011-04-19  5:08                                 ` Hihin Ruslan
2011-04-19  5:19                                   ` Радик Юсупов
2011-04-19  5:26                                     ` Andrew Clark
2011-04-19  6:27                                     ` Rinat Bikov
2011-04-19  5:11                                 ` Hihin Ruslan
2011-04-19  5:24                                 ` REAL
2011-04-16  5:03                     ` Andrew Clark
2011-04-20  7:26 ` Радик Юсупов
2011-04-26 18:02   ` Радик Юсупов [this message]
2011-04-26 18:04     ` Andrew Clark
2011-04-26 18:37       ` Радик Юсупов
2011-04-30  4:23     ` Радик Юсупов
2011-05-10 11:49       ` Alexey Shabalin
2011-05-10 13:39         ` Радик Юсупов

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=4DB708C3.1010500@yandex.ru \
    --to=radyus@yandex.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