<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Не компилится 1.2.7]]></title><description><![CDATA[<p dir="auto">Приветствую!<br />
Видел подобную тему в англоязычной ветке, но там нет ответа (человек не выслал файл...)<br />
Не компилится версия 1.2.7... уже голову сломал.<br />
Система: Debian Linux 2.6.32-5-amd64</p>
<p dir="auto">Конфигурировался так: ./configure --with-mysql --enable-unicode --with-server --with-snmp --with-agent</p>
<p dir="auto">При сборке вываливается с ошибкой:</p>
<pre><code>make[3]: Entering directory `/root/netxms-1.2.7/src/libnetxms'
  CXX    libnetxms_la-agent.lo
stdin:1: error: too many include directories
make[3]: *** [libnetxms_la-agent.lo] Error 1
make[3]: Leaving directory `/root/netxms-1.2.7/src/libnetxms'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/netxms-1.2.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/netxms-1.2.7'
make: *** [all] Error 2
</code></pre>
<p dir="auto">config.log во вложении.</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001175-config.zip">config.zip</a></p>
]]></description><link>https://forum.netxms.org/topic/2392/не-компилится-1.2.7</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 21:03:53 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2392.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 18 May 2013 21:46:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Не компилится 1.2.7 on Mon, 20 May 2013 10:42:14 GMT]]></title><description><![CDATA[<p dir="auto">мм.. я сначала стормозил и поставил пакет <a href="https://www.netxms.org/apt/dists/squeeze/main/binary-amd64/netxms-base_1.2.7_amd64.deb" rel="nofollow ugc">https://www.netxms.org/apt/dists/squeeze/main/binary-amd64/netxms-base_1.2.7_amd64.deb</a>... но потом удалил его и начал из исходников ставить...<br />
А так, чистая инсталляция.</p>
<p dir="auto">Может разовый глюк... система ставилась не мной, сервак арендованый, заточена под виртуализацию... может там че накручено..</p>
]]></description><link>https://forum.netxms.org/post/10331</link><guid isPermaLink="true">https://forum.netxms.org/post/10331</guid><dc:creator><![CDATA[kozlov_ao]]></dc:creator><pubDate>Mon, 20 May 2013 10:42:14 GMT</pubDate></item><item><title><![CDATA[Reply to Не компилится 1.2.7 on Mon, 20 May 2013 10:13:16 GMT]]></title><description><![CDATA[<p dir="auto">А это случайно не был upgrade поверх не-UNICODE версии? Или инсталляция на чистую систему?</p>
]]></description><link>https://forum.netxms.org/post/10330</link><guid isPermaLink="true">https://forum.netxms.org/post/10330</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 20 May 2013 10:13:16 GMT</pubDate></item><item><title><![CDATA[Reply to Не компилится 1.2.7 on Mon, 20 May 2013 09:56:30 GMT]]></title><description><![CDATA[<p dir="auto">Собрался то он без проблем, а вот при запуске грабли вылезли..<br />
вывод ldd:<br />
        linux-vdso.so.1 =&gt;  (0x00007fff993e5000)<br />
        libnetxms.so.1 =&gt; /usr/local/lib/libnetxms.so.1 (0x00007ffaf9eaa000)<br />
        libnxdb.so.1 =&gt; /usr/local/lib/libnxdb.so.1 (0x00007ffaf9ca0000)<br />
        libnxmap.so.1 =&gt; /usr/local/lib/libnxmap.so.1 (0x00007ffaf9a99000)<br />
        libnxsrv.so.1 =&gt; /usr/local/lib/libnxsrv.so.1 (0x00007ffaf987c000)<br />
        libnxsnmp.so.1 =&gt; /usr/local/lib/libnxsnmp.so.1 (0x00007ffaf966b000)<br />
        libnxsqlite.so.1 =&gt; /usr/local/lib/libnxsqlite.so.1 (0x00007ffaf93e0000)<br />
        libz.so.1 =&gt; /usr/lib/libz.so.1 (0x00007ffaf91c9000)<br />
        libdl.so.2 =&gt; /lib/libdl.so.2 (0x00007ffaf8fc5000)<br />
        libcrypto.so.0.9.8 =&gt; /usr/lib/libcrypto.so.0.9.8 (0x00007ffaf8c23000)<br />
        libpthread.so.0 =&gt; /lib/libpthread.so.0 (0x00007ffaf8a07000)<br />
        libstdc++.so.6 =&gt; /usr/lib/libstdc++.so.6 (0x00007ffaf86f3000)<br />
        libm.so.6 =&gt; /lib/libm.so.6 (0x00007ffaf8470000)<br />
        libgcc_s.so.1 =&gt; /lib/libgcc_s.so.1 (0x00007ffaf825a000)<br />
        libc.so.6 =&gt; /lib/libc.so.6 (0x00007ffaf7ef8000)<br />
        libnxexpat.so.1 =&gt; /usr/local/lib/libnxexpat.so.1 (0x00007ffaf7cd4000)<br />
        libnxtre.so.5 =&gt; /usr/local/lib/libnxtre.so.5 (0x00007ffaf7ac5000)<br />
        /lib64/ld-linux-x86-64.so.2 (0x00007ffafa0fc000)</p>
<p dir="auto">config.h во вложении.</p>
<p dir="auto">Единственная оговорка, что сейчас уже все работает... но это было.</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001176-config.h">config.h</a></p>
]]></description><link>https://forum.netxms.org/post/10329</link><guid isPermaLink="true">https://forum.netxms.org/post/10329</guid><dc:creator><![CDATA[kozlov_ao]]></dc:creator><pubDate>Mon, 20 May 2013 09:56:30 GMT</pubDate></item><item><title><![CDATA[Reply to Не компилится 1.2.7 on Mon, 20 May 2013 09:40:41 GMT]]></title><description><![CDATA[<p dir="auto">Уменьшил в схеме размеры полей, так что в будущем эта ошибка вылезать не должна.</p>
<p dir="auto">С функцией wgetenv совсем странно - это нормально, что ее нет - configure это обнаруживает, и используется имплементация из libnetxms. У меня на Debian 6 собирается без проблем в UNICODE без libcommons-exec-java. Можете свой config.h прислать, и вывод ldd nxdbmgr?</p>
]]></description><link>https://forum.netxms.org/post/10328</link><guid isPermaLink="true">https://forum.netxms.org/post/10328</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 20 May 2013 09:40:41 GMT</pubDate></item><item><title><![CDATA[Reply to Не компилится 1.2.7 on Mon, 20 May 2013 08:37:35 GMT]]></title><description><![CDATA[<p dir="auto">Да, и еще... при инициализации базы, тоже поймал ошибку:</p>
<pre><code>/usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql
NetXMS Database Manager Version 1.2.7

Initializing database...
SQL query failed (Specified key was too long; max key length is 1000 bytes):
CREATE TABLE images (    guid varchar(36) not null,    name varchar(255) not null,    category varchar(255) not null,    mimetype varchar(32) not null,    protected integer default 0,    PRIMARY KEY(guid),    UNIQUE(name, category) )
Database initialization failed
</code></pre>
<p dir="auto">Но этот косяк возник из-за использования UTF-8. Уменьшил размер полей name и category  до 100 символов и прокатило.</p>
]]></description><link>https://forum.netxms.org/post/10326</link><guid isPermaLink="true">https://forum.netxms.org/post/10326</guid><dc:creator><![CDATA[kozlov_ao]]></dc:creator><pubDate>Mon, 20 May 2013 08:37:35 GMT</pubDate></item><item><title><![CDATA[Reply to Не компилится 1.2.7 on Mon, 20 May 2013 08:07:16 GMT]]></title><description><![CDATA[<p dir="auto">Рано обрадовался ))</p>
<p dir="auto">после запуска поймал вот это: <code>nxdbmgr: symbol lookup error: nxdbmgr: undefined symbol: wgetenv</code><br />
Решилось установкой пакета libcommons-exec-java, хотя он потащил за собой вот это: <code>ca-certificates-java{a} default-jre-headless{a} java-common{a} libcommons-exec-java libnspr4-0d{a} libnss3-1d{a} openjdk-6-jre-headless{a} openjdk-6-jre-lib{a} tzdata-java{a}</code></p>
<p dir="auto">Если возможно, при ./configure, добавьте плиз проверку зависимостей этой штуки... Мало-ли кто еще натолкнется...</p>
]]></description><link>https://forum.netxms.org/post/10324</link><guid isPermaLink="true">https://forum.netxms.org/post/10324</guid><dc:creator><![CDATA[kozlov_ao]]></dc:creator><pubDate>Mon, 20 May 2013 08:07:16 GMT</pubDate></item><item><title><![CDATA[Reply to Не компилится 1.2.7 on Mon, 20 May 2013 05:36:41 GMT]]></title><description><![CDATA[<p dir="auto">От гадство )) Заработало! Спасибо!</p>
]]></description><link>https://forum.netxms.org/post/10321</link><guid isPermaLink="true">https://forum.netxms.org/post/10321</guid><dc:creator><![CDATA[kozlov_ao]]></dc:creator><pubDate>Mon, 20 May 2013 05:36:41 GMT</pubDate></item><item><title><![CDATA[Reply to Не компилится 1.2.7 on Sun, 19 May 2013 10:25:17 GMT]]></title><description><![CDATA[<p dir="auto">Судя по логу, configure вместо C++ компилятора (g++) нашел некий gpp. Проверьте, что установлен пакет g++, и удалите gpp, если он реально не используется.</p>
]]></description><link>https://forum.netxms.org/post/10319</link><guid isPermaLink="true">https://forum.netxms.org/post/10319</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 19 May 2013 10:25:17 GMT</pubDate></item></channel></rss>