View Full Version : Makes without error but no bins?
romulus15
25-08-2005, 18:46
Hi,
I am just starting with Zabbix and wanted to use the 1.1 alpha 12 release.
After quite a few packages missing and some dependency nightmares, I was finally able to get everthing to work, or so I thought.
Running ./configure --enable-server --with-mysql --with-net-snmp
No errors or warnings.
Ran make with no errors or warnings.
When I look in the bin directory, I'm not finding any compiled files other than the Windows exe.
I've followed everything according to the 1.1 alpha manual.
I'm attaching the output of make to this post. Any help you can provide is appreciated. It looks like zabbix will do exactly what we want to do.
Thanks ~Max
James Wells
25-08-2005, 19:21
Greetings,
Not sure if it is a bug, or design, but the binaries are no longer put in the bin directory, instead they are located in the src directory for the item(s) you enabled. So the zabbix_agentd is located in src/zabbix_agent directory and the zabbix_server is located in the src/zabbix_server directory.
romulus15
25-08-2005, 22:53
Hmm...the only executable file that I have is ./source/zabbix_server/zabbix_server
Nothing in any other directory, just source, header and include files.
Seems like the make didn't actually make anything but the server module?
James Wells
25-08-2005, 23:13
Correct. That is to be expected based on;
Running ./configure --enable-server --with-mysql
According to this, you told configure to only build the server portion, which will be located in the src/zabbix_server directory as zabbix_server. You didn't tell it to also build the agents.
romulus15
26-08-2005, 00:31
So there is only one binary executable file to run the entire zabbix program? No daemons to handle traps, events, actions, pollers, etc?
I'm comming from the OpenNMS world where there's a ton of things running all the time.
Thanks for all your help.
When doing ./configure you have to specify what you're trying to compile:
--enable-agent # compile agents
--enable-server # compile server
--enable-agent --enable-server # compile both
Yes, there is only one server process, zabbix_server. ZABBIX agent is called zabbix_agentd.
And don't forget to do "make install" to put compiled binaries into --prefix, which is /usr/local/ by default.
romulus15
26-08-2005, 16:36
Thanks for all your help. I have Zabbix up and running and monitoring my Windows 2003 server after quite some initial confusion on the configuration.
Now on to my next problem, figuring out why no graphs are displaying even though I have GD installed and PHP is compiled with '--with-gd=shared' '--enable-gd-native-ttf'
romulus15
26-08-2005, 16:53
Well, figured that one out. Now I'm all set.
Turns out Fedora Core 3's PHP RPM doesn't actually install PHP-GD, even though it's compiled with it, and all PHP Documentation shows that 3.4.x comes with GD.
Just did a 'yum install php-gd', retstarted Apache and all is good.
Pretty graphs everywhere.
I look forward to really testing this thing out, especially with Win32 event log monitoring.