* [devel] perl-Proc-PID_File
@ 2008-05-02 22:59 Sergey Y. Afonin
2008-05-04 4:59 ` Sergey Y. Afonin
2008-05-04 10:38 ` Alexey Tourbin
0 siblings, 2 replies; 4+ messages in thread
From: Sergey Y. Afonin @ 2008-05-02 22:59 UTC (permalink / raw)
To: ALT Linux Team development discussions
Приветствую.
Потребовался древний http://search.cpan.org/~sharyanto/Proc-PID_File-0.05/
и, что-то, не собирается.
/home/asy/tmp/perl-Proc-PID_File-buildroot/usr/lib/perl5/vendor_perl/Proc/PID_File.pm syntax OK
Cannot find blib even in /home/asy/RPM/BUILD/../../../../..
BEGIN failed--compilation aborted at /home/asy/tmp/perl-Proc-PID_File-buildroot/usr/lib/perl5/vendor_perl/Proc/simple.pl line 1.
# /home/asy/tmp/perl-Proc-PID_File-buildroot/usr/lib/perl5/vendor_perl/Proc/simple.pl: deparse failed, trying to recover with -MProc
Can't locate Proc.pm in @INC
....
Почему blib.pm ищется в "/home/asy/RPM/BUILD/../../../../..", а не в @INC ?
--
С уважением, Сергей Афонин
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] perl-Proc-PID_File
2008-05-02 22:59 [devel] perl-Proc-PID_File Sergey Y. Afonin
@ 2008-05-04 4:59 ` Sergey Y. Afonin
2008-05-04 10:38 ` Alexey Tourbin
1 sibling, 0 replies; 4+ messages in thread
From: Sergey Y. Afonin @ 2008-05-04 4:59 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Saturday 03 May 2008, Sergey Y. Afonin wrote:
> Cannot find blib even in /home/asy/RPM/BUILD/../../../../..
Хм, а это сам blib пишет... Причём, сразу, при обработке "use blib".
--
С уважением, Сергей Афонин
asy@altlinux.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] perl-Proc-PID_File
2008-05-02 22:59 [devel] perl-Proc-PID_File Sergey Y. Afonin
2008-05-04 4:59 ` Sergey Y. Afonin
@ 2008-05-04 10:38 ` Alexey Tourbin
2008-05-04 11:57 ` Sergey Y. Afonin
1 sibling, 1 reply; 4+ messages in thread
From: Alexey Tourbin @ 2008-05-04 10:38 UTC (permalink / raw)
To: ALT Linux Team development discussions
[-- Attachment #1: Type: text/plain, Size: 909 bytes --]
On Sat, May 03, 2008 at 03:59:20AM +0500, Sergey Y. Afonin wrote:
> Потребовался древний http://search.cpan.org/~sharyanto/Proc-PID_File-0.05/
> и, что-то, не собирается.
>
> /home/asy/tmp/perl-Proc-PID_File-buildroot/usr/lib/perl5/vendor_perl/Proc/PID_File.pm syntax OK
> Cannot find blib even in /home/asy/RPM/BUILD/../../../../..
> BEGIN failed--compilation aborted at /home/asy/tmp/perl-Proc-PID_File-buildroot/usr/lib/perl5/vendor_perl/Proc/simple.pl line 1.
> # /home/asy/tmp/perl-Proc-PID_File-buildroot/usr/lib/perl5/vendor_perl/Proc/simple.pl: deparse failed, trying to recover with -MProc
> Can't locate Proc.pm in @INC
> ....
Не пакуйте Proc/simple.pl.
> Почему blib.pm ищется в "/home/asy/RPM/BUILD/../../../../..", а не в @INC ?
Потому что 'use blib;' ищет подкаталог 'blib' в текущем каталоге, далее
в родительском каталоге и т.д. Это имеет смысл только при сборке пакета.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] perl-Proc-PID_File
2008-05-04 10:38 ` Alexey Tourbin
@ 2008-05-04 11:57 ` Sergey Y. Afonin
0 siblings, 0 replies; 4+ messages in thread
From: Sergey Y. Afonin @ 2008-05-04 11:57 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Sunday 04 May 2008, Alexey Tourbin wrote:
> /home/asy/tmp/perl-Proc-PID_File-buildroot/usr/lib/perl5/vendor_perl/Proc/simple.pl:
> deparse failed, trying to recover with -MProc
> > Can't locate Proc.pm in @INC
> > ....
>
> Не пакуйте Proc/simple.pl.
Да, что-то я не сообразил. Пакет, вообще-то, я собрал, хотя и кривовато, и
Proc/*.pl удалил, но но удаление сделал после проверки. :-)
Спасибо, так лучше.
--
С уважением, Сергей Афонин
asy@altlinux.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-05-04 11:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-02 22:59 [devel] perl-Proc-PID_File Sergey Y. Afonin
2008-05-04 4:59 ` Sergey Y. Afonin
2008-05-04 10:38 ` Alexey Tourbin
2008-05-04 11:57 ` Sergey Y. Afonin
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