Just downloaded zabbix 1.4 and I was not able to configure the source on RedHat EL4 (2.6.9-42.ELsmp kernel). Running the command "./configure –-enable-server –-enable-agent –-with-mysql –-with-net-snmp –-with-libcurl" as per the docs and some posts I found results in the following error:
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-enable-server
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-enable-agent
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-with-mysql
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-with-net-snmp
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-with-libcurl
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: Configuring
checking whether make sets $(MAKE)... (cached) yes
checking build system type... Invalid configuration `–-enable-server': machine `–-enable' not recognized
configure: error: /bin/sh ./config.sub –-enable-server failed
If I add build and host info so the command looks like this "./configure --build='i686-pc-linux-gnu' --host='i686-pc-linux-gnu' –-enable-server –-enable-agent –-with-mysql –-with-net-snmp –-with-libcurl", I get the configure to work, but it ends with the following message:
Configuration:
Detected OS: linux-gnu
Install path: /usr/local
Compilation arch: linux
Compiler: gcc
Compiler flags: -g -O2
Linker flags:
Libraries: -lresolv -lnsl
Enable server: no
With database: no
Enable agent: no
That is, no server, no agent, no mysql.
Being new to Zabbix, I thought maybe it's an issue with the version, so I wiped 1.4 and tried again with 1.1.7. I get the exact same results.
Can anyone see what I am doing wrong? If this question is already answered in a FAQ somewhere, I apologize and please point me in the right direction.
Thanks in advance,
Ed.
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-enable-server
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-enable-agent
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-with-mysql
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-with-net-snmp
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –-with-libcurl
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: Configuring
checking whether make sets $(MAKE)... (cached) yes
checking build system type... Invalid configuration `–-enable-server': machine `–-enable' not recognized
configure: error: /bin/sh ./config.sub –-enable-server failed
If I add build and host info so the command looks like this "./configure --build='i686-pc-linux-gnu' --host='i686-pc-linux-gnu' –-enable-server –-enable-agent –-with-mysql –-with-net-snmp –-with-libcurl", I get the configure to work, but it ends with the following message:
Configuration:
Detected OS: linux-gnu
Install path: /usr/local
Compilation arch: linux
Compiler: gcc
Compiler flags: -g -O2
Linker flags:
Libraries: -lresolv -lnsl
Enable server: no
With database: no
Enable agent: no
That is, no server, no agent, no mysql.
Being new to Zabbix, I thought maybe it's an issue with the version, so I wiped 1.4 and tried again with 1.1.7. I get the exact same results.
Can anyone see what I am doing wrong? If this question is already answered in a FAQ somewhere, I apologize and please point me in the right direction.
Thanks in advance,
Ed.

Comment