Ad Widget

Collapse

Editing the configure script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • untergeek
    Senior Member
    Zabbix Certified Specialist
    • Jun 2009
    • 512

    #1

    Editing the configure script

    I'm not the first person who has had to do this, so perhaps this thread will be a good place to keep track of edits people have made to get Zabbix 1.8 to compile.

    My version of Solaris 10 had a Sun version of libiconv.h in /usr/include. It also had the much more extensive GNU version in /usr/local/include. I had to edit the configure script to force it to see the GNU version (it failed otherwise):

    Edit configure:
    Change:
    Code:
            if test -f /usr/include/iconv.h; then
                    found_iconv="yes"
            elif test -f /usr/local/include/iconv.h; then
    to:
    Code:
    #       if test -f /usr/include/iconv.h; then
    #               found_iconv="yes"
    #       elif test -f /usr/local/include/iconv.h; then
            if test -f /usr/local/include/iconv.h; then
  • untergeek
    Senior Member
    Zabbix Certified Specialist
    • Jun 2009
    • 512

    #2
    AIX configure change found here (thanks coop):



    My instance of Oracle on AIX is 64bit which means that the $ORACLE_HOME/lib directory contains the 64bit libraries. If you want to access the 32bit libraries you need to point to $ORACLE_HOME/lib32.

    I can modify the configure script on line 8934 from:

    oracle_lib_dir="$oracle_home_dir/lib"
    to
    oracle_lib_dir="$oracle_home_dir/lib32"

    This allows Configure to work. However Make Install replaces Configure without the changes.

    My Config line is; ./configure --enable-server --with-oracle --with-net-snmp=/opt/freeware/bin/net-snmp-config --with-libcurl=/usr/local/bin/curl-config

    On a completely side note, once the configure is finished I always have to modify ./src/libs/zbxsms/sms.c to remove the CRTSCTS variable from the code. AIX does not recognize this variable which is related to serial port communications I believe.

    Just in case that might help someone else.

    Comment

    • richlv
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Oct 2005
      • 3112

      #3
      could you please document these hacks on the wiki ? forum posts aren't that easy to organise
      Zabbix 3.0 Network Monitoring book

      Comment

      Working...