I have successfully built zabbix alphas, betas, RC's and trunk from source on this server. I'm currently running zabbix-2.0.0rc2 with the PHP-frontend from the trunk (rc3).
I now wanted to replace my RC2 binaries with the ones from trunk.
I've seen this error before in the past, but do think I successfully compiled some of the trunk-versions (not 100% sure).
AFAIK this sequence of commands should work
On my system it ends with this:
It should be easy to replicate this behaviour.
I just tested it on another Ubuntu 10.04 LTS and there the configure went sour. I think I don't have all the prerequisites...
Can you give a hint for that one?
I now wanted to replace my RC2 binaries with the ones from trunk.
I've seen this error before in the past, but do think I successfully compiled some of the trunk-versions (not 100% sure).
AFAIK this sequence of commands should work
Code:
cd /opt rm -rf trunk svn co svn://svn.zabbix.com/trunk cd trunk ./bootstrap.sh ./configure --enable-agent --enable-server --with-mysql --with-net-snmp --with-libcurl --sysconfdir=/etc/zabbix make install
Code:
make[3]: Entering directory `/opt/trunk/src/libs/zbxdbhigh' gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../src/zabbix_server/ -g -O2 -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -DUNIV_LINUX -I/usr/local/include -I/usr/lib/perl/5.10/CORE -I. -I/usr/include -MT libzbxdbhigh_a-host.o -MD -MP -MF .deps/libzbxdbhigh_a-host.Tpo -c -o libzbxdbhigh_a-host.o `test -f 'host.c' || echo './'`host.c mv -f .deps/libzbxdbhigh_a-host.Tpo .deps/libzbxdbhigh_a-host.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../src/zabbix_server/ -g -O2 -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -DUNIV_LINUX -I/usr/local/include -I/usr/lib/perl/5.10/CORE -I. -I/usr/include -MT libzbxdbhigh_a-db.o -MD -MP -MF .deps/libzbxdbhigh_a-db.Tpo -c -o libzbxdbhigh_a-db.o `test -f 'db.c' || echo './'`db.c mv -f .deps/libzbxdbhigh_a-db.Tpo .deps/libzbxdbhigh_a-db.Po make[3]: *** No rule to make target `dbschema.c', needed by `libzbxdbhigh_a-dbschema.o'. Stop. make[3]: Leaving directory `/opt/trunk/src/libs/zbxdbhigh' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/opt/trunk/src/libs' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/opt/trunk/src' make: *** [install-recursive] Error 1
I just tested it on another Ubuntu 10.04 LTS and there the configure went sour. I think I don't have all the prerequisites...
Can you give a hint for that one?
Code:
checking for -rdynamic linking option... yes ./configure: line 8084: syntax error near unexpected token `IKSEMEL,iksemel,' ./configure: line 8084: ` PKG_CHECK_MODULES(IKSEMEL,iksemel,' root@ns6:/opt/trunk# aptitude search iksemel i libiksemel-dev - C library for the Jabber IM platform i libiksemel-utils - utilities from the iksemel library i A libiksemel3 - C library for the Jabber IM platform

Comment