PDA

View Full Version : make install = nothing installed


jmcnulty
10-11-2008, 13:09
Hi, I'm trying to install 1.6.1 on an RHEL 4.7 system. It's been a bit of a struggle so far. Finding the required rpm's to support the functionality Zabbix needs at the right versions was a pain, but have eventually got over that hurdle.

I also hit the localname bug described in: http://www.zabbix.com/forum/showthread.php?p=37163 and commented out the offending lines to get over that.

But after running make install and watching everthing compile and finish, I checked in /usr/local/bin and nothing was there. So I looked in zabbiz-1.6.1/bin and there's only win32 and win64 directories. Everything else is sitting untouched under zabbix-1.6.1/src and zabbix-1.6.1/misc (no /etc/zabbix has been created or populated). Further itterations of make install just say:

Making install in zbxcrypto
make[2]: Entering directory `/home/zabbix/zabbix-1.6.1/src/libs/zbxcrypto'
make[3]: Entering directory `/home/zabbix/zabbix-1.6.1/src/libs/zbxcrypto'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/zabbix/zabbix-1.6.1/src/libs/zbxcrypto'
make[2]: Leaving directory `/home/zabbix/zabbix-1.6.1/src/libs/zbxcrypto'

..etc, etc

What's going on?

:confused:

jmcnulty
10-11-2008, 13:25
Oh, just noticed it's popped them all in /usr/local/sbin. Wasn't expecting that as the installation doc explicitly says all the files are installing in /usr/local/bin and /usr/local/lib, etc. In fact, /usr/local/lib at the moment is empty.

Googling other people's install experiences seems to imply I have to create my own /etc/zabbix dir and populate it. Doesn't mention that in the installation docs either.

I'm getting a bad feeling about this.

Calimero
10-11-2008, 14:26
Don't get a bad feeling about it :D

Once upon a time, binaries were installed in bin/
They now go to sbin/ . Scripts (eg: notification/media scripts) are still expected to go to bin/

Indeed you have to create /etc/zabbix by yourself and create zabbix_agentd.conf/zabbix_server.conf (probably based on sample configuration files shipped with source code).

Another "funny" fact is that the --sysconfdir= flag of the configure script is totally ignored. So if you plan to have your configuration files elsewhere you'll need to create a symlink or change the hardcoded path in the source.

Documentation - as always - is not fully up to date. :D

jmcnulty
10-11-2008, 17:41
Thanks for the feedback. I carried on and have got much further now, to the point where I'm configuring the Web interface.

I think I understand why this has been slow going till now. Your docs state your preferred development platform is Ubuntu. I guess it's much easier doing this via synaptic.

Calimero
10-11-2008, 17:49
I guess most people install from source anyway, being on Ubuntu or not.

Zabbix is moving quite fast and as there's always some tweaking involved, you'll probably stick with source.



PS: I'm not part of the development team. :)