From: thecrux@gmail.com To: Dubrovskiy Viacheslav <slava@tangramltd.com> Cc: Devel@lists.altlinux.org Subject: Re: [devel] Помогите собрать mysql-mmm Date: Tue, 2 Aug 2011 23:03:48 +0400 Message-ID: <20110802190348.GA3224@mail.truecrux.org> (raw) In-Reply-To: <4E383645.4020200@tangramltd.com> On Tue, Aug 02, 2011 at 01:39:17PM -0400, Dubrovskiy Viacheslav wrote: > Здравствуйте. > > Очень нужно собрать http://mysql-mmm.org/ > Сделал пакетик как обычно > ssh://git.alt/people/dubrsl/packages/mysql-mmm.git, но оно не собирается: ... > Subroutine main redefined at > /usr/src/tmp/mysql-mmm-buildroot/usr/share/perl5/MMM/Monitor/Commands.pm > line 19. При проверке файла Commands.pm выдаётся warning о том, что процедура main переопределена (т.е. опеределение встречается либо раньше в коде, либо в каких-то других подключаемых модулях). А поскольку используется конструкция use warnings FATAL => 'all'; это расценивается как ошибка. Чтобы обойти проблему можно в файле lib/Monitor/Commands.pm (и также lib/Monitor/Monitor.pm) попробовать заменить эту конструкцию на: use warnings FATAL => 'all', NONFATAL => 'redefine'; Работать будет, но ошибка в архитектуре программы похоже имеется. -- Vladimir Lettiev aka crux ✉ theCrux@gmail.com
next prev parent reply other threads:[~2011-08-02 19:03 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-08-02 17:39 Dubrovskiy Viacheslav 2011-08-02 17:43 ` Paul Wolneykien 2011-08-02 18:13 ` Dubrovskiy Viacheslav 2011-08-02 18:26 ` Paul Wolneykien 2011-08-02 19:03 ` thecrux [this message] 2011-08-02 22:28 ` Dubrovskiy Viacheslav 2011-08-03 6:02 ` thecrux
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=20110802190348.GA3224@mail.truecrux.org \ --to=thecrux@gmail.com \ --cc=Devel@lists.altlinux.org \ --cc=slava@tangramltd.com \ /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