From: Viacheslav Dubrovskyi <dubrsl@gmail.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] что сломалось в SNMP?
Date: Wed, 20 Feb 2013 11:37:38 +0200
Message-ID: <51249962.2070408@gmail.com> (raw)
In-Reply-To: <51249315.6040409@gmail.com>
20.02.2013 11:10, Viacheslav Dubrovskyi пишет:
> 20.02.2013 11:01, Viacheslav Dubrovskyi пишет:
>> 20.02.2013 10:44, REAL пишет:
>>> 20.02.2013 13:37, Viacheslav Dubrovskyi пишет:
>>>>> Что изменилось?
>>>> Ну новая версия была. Можно пример ошибки?
>>>
>>> Лично у меня вот такое приехало:
>>>
>>> checking whether to try to build SNMP support... yes
>>> checking for net-snmp-config... net-snmp-config
>>> checking net-snmp/net-snmp-config.h usability... yes
>>> checking net-snmp/net-snmp-config.h presence... yes
>>> checking for net-snmp/net-snmp-config.h... yes
>>> checking for register_mib... no
>>> checking for SNMP support... no (see config.log for errors)
>>> configure: error: SNMP support was requested, but unavailable
>>> error: Bad exit status from /usr/src/tmp/rpm-tmp.96239 (%build)
>>>
>>>
>>> Это lustre, он у меня в гите, попробуйте. Ну или из
>>> /gears/l/lustre.git возьмите.
>>>
>> configure:18570: checking for register_mib
>> configure:18627: x86_64-alt-linux-gcc -o conftest -pipe -Wall -g -O2
>> -I/usr/src/RPM/BUILD/lustre-1.8.4/lnet/include
>> -I/usr/src/RPM/BUILD/lustre-1.8.4/lnet/include
>> -I/usr/src/RPM/BUILD/lustre-1.8.4/lustre/include
>> -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -pipe -Wall -g
>> -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE
>> -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -I/usr/include
>> conftest.c -lnetsnmpmibs -lnl -lsensors -ldl -lnetsnmpagent -lwrap
>> -Wl,-E -lnetsnmp -lrt
>> -lssl -lssl -lcrypto -lm -lcrypto -lwrap >&5
>> /usr/bin/ld: cannot find -lnl
>> collect2: error: ld returned 1 exit status
>>
>> Похоже это из-за пляски с libnl. Почему-то переехав на libnl3
>> оставили libnl-devel который работать не хочет и в системе оказывается
>> [builder@builder ~]$ rpm -qa | grep libnl
>> libnl1-1.1-alt3
>> libnl3-utils-3.2.21-alt2
>> libnl3-3.2.21-alt2
>> libnl-devel-3.2.21-alt2
>>
>>
>>
> Должно быть -lnl-3 а не -lnl. Попробую разобраться.
Пересборка net-snmp с новым libnl исправляет проблему.
Завтра будет все нормально после обновления.
--
WBR,
Viacheslav Dubrovskyi
prev parent reply other threads:[~2013-02-20 9:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-20 1:36 Денис Смирнов
2013-02-20 5:03 ` REAL
2013-02-20 7:37 ` Viacheslav Dubrovskyi
2013-02-20 8:44 ` REAL
2013-02-20 9:01 ` Viacheslav Dubrovskyi
2013-02-20 9:04 ` Aleksey Novodvorsky
2013-02-20 9:06 ` Viacheslav Dubrovskyi
2013-02-20 9:08 ` Aleksey Novodvorsky
2013-02-20 9:10 ` Viacheslav Dubrovskyi
2013-02-20 9:13 ` Aleksey Novodvorsky
2013-02-20 9:37 ` Viacheslav Dubrovskyi [this message]
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=51249962.2070408@gmail.com \
--to=dubrsl@gmail.com \
--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