From: Aleksey Avdeev <solo@solin.spb.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] проблема со сборкой пакета для mod_perl2, требующего Apache2::Request Date: Thu, 18 Mar 2010 23:37:17 +0300 Message-ID: <4BA28EFD.4000808@solin.spb.ru> (raw) In-Reply-To: <20100318201939.GD25623@altlinux.org> [-- Attachment #1: Type: text/plain, Size: 3263 bytes --] 18.03.2010 23:19, Alexey Tourbin пишет: > On Thu, Mar 18, 2010 at 11:05:41PM +0300, Aleksey Avdeev wrote: >> 18.03.2010 21:31, Alexey Tourbin пишет: >>> On Thu, Mar 18, 2010 at 08:11:44PM +0500, Andrey Rahmatullin wrote: >>>> On Thu, Mar 18, 2010 at 07:09:31PM +0400, Sergey Y. Afonin wrote: >>>>>> У меня модуль, вообще, noarch... >>>>> Пакет, то есть. >>>> /usr/lib/perl5/vendor_perl/i386-linux/auto/APR/Request/Request.so >>>> долинковать, а не модуль. >>> >>> +1 >>> >>> [at@people perl-qa-rpmelfsym]$ ./perl rpmelfsym.pl /ALT/Sisyphus/files/x86_64/RPMS/ |LC_ALL=C grep apreq_hook_disable_uploads >> apache2-mod_apreq-2.12-alt1.x86_64.rpm /usr/lib64/libapreq2.so.3.7.1 T apreq_hook_disable_uploads >>> perl-libapreq2-2.12-alt1.x86_64.rpm /usr/lib/perl5/vendor_perl/x86_64-linux/auto/APR/Request/Hook/Hook.so U apreq_hook_disable_uploads >>> perl-libapreq2-2.12-alt1.x86_64.rpm /usr/lib/perl5/vendor_perl/x86_64-linux/auto/APR/Request/Request.so U apreq_hook_disable_uploads >>> [at@people perl-qa-rpmelfsym]$ >> >> Правильно понимаю, что в данном случаи модули perl требуют символ >> (grep apreq_hook_disable_uploads) который светит на публику только >> apache`вский модуль? Если да -- думаю это не правельно... > > Перловый модуль требует символ, который предоставляется библиотекой > libapreq2.so.3. По-видимому модуль (и другие подобные модули) надо > линковать с -lapreq2. +1 > Правда, это может не очень выгодно изменить > зависимости между пакетами. > >> Может ли быть подобная ситуация, если apache`вский модуль таскает с >> собой библиотеку (libapreq2), которую стоит сделать системной? (Если >> судить по >> <http://git.altlinux.org/people/naf/packages/?p=apache2-mod_apreq.git;a=tree;f=libapreq2;h=60b81f3006e640aeccc090bdb3e01fe7ad78285e;hb=c784b8210897ead7383e154ff99b82ecf063ef7d> >> -- оно весьма похоже.) > > Может быть, стоит отпилить libapreq2 как отдельный пакет. Но тогда ещё > будет libapreq2-devel? Надо разбираться, как там устроено, и насколько > библиотеку libapreq2 можно считать самостоятельной/независимой. Судя по её README -- она вполне себе независимая и вполне может использоваться без идущих вместе с ней модулей. И есть предложение о написании обвязок для других языков. Цитирую (<http://git.altlinux.org/people/naf/packages/?p=apache2-mod_apreq.git;a=blob_plain;f=libapreq2/README;hb=c784b8210897ead7383e154ff99b82ecf063ef7d>): What is it? ----------- httpd-apreq is subproject of the Apache HTTP Server Project whose committers develop and maintain the libapreq C library and its language bindings for Perl (contributions for additional language bindings are most welcome). ... Version 2 of libapreq is an improved codebase designed around APR and Apache-2's input filter API. The C codebase is separated into two independent components: 1) libapreq2, a shared library which is based on libapr and libaprutil. 2) A collection of modules: - mod_apreq2, a filter module for the Apache 2.X webserver, - a CGI module included in libapreq2 itself, - a custom module for general applications. -- С уважением. Алексей. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 554 bytes --]
next prev parent reply other threads:[~2010-03-18 20:37 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-03-18 14:59 Sergey Y. Afonin 2010-03-18 15:02 ` Andrey Rahmatullin 2010-03-18 15:07 ` Sergey Y. Afonin 2010-03-18 15:09 ` Sergey Y. Afonin 2010-03-18 15:11 ` Andrey Rahmatullin 2010-03-18 15:16 ` Sergey Y. Afonin 2010-03-18 15:30 ` Andrey Rahmatullin 2010-03-18 18:31 ` Alexey Tourbin 2010-03-18 20:05 ` Aleksey Avdeev 2010-03-18 20:19 ` Alexey Tourbin 2010-03-18 20:37 ` Aleksey Avdeev [this message] 2010-03-18 20:58 ` Alexey Tourbin 2010-03-18 15:25 ` Aleksey Avdeev 2010-03-18 15:42 ` Sergey Y. Afonin 2010-03-18 16:40 ` Aleksey Avdeev 2010-03-18 16:45 ` Sergey Y. Afonin 2010-03-18 16:47 ` Andrey Rahmatullin 2010-03-18 17:08 ` Sergey Y. Afonin 2010-03-18 19:46 ` Aleksey Avdeev 2010-03-18 20:06 ` Alexey Tourbin 2010-03-18 20:16 ` Aleksey Avdeev 2010-03-18 21:55 ` Sergey Y. Afonin 2010-03-18 21:59 ` Aleksey Avdeev
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=4BA28EFD.4000808@solin.spb.ru \ --to=solo@solin.spb.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