Ad Widget

Collapse

1.3.3 ./configure problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wmo
    Junior Member
    • Feb 2007
    • 18

    #1

    1.3.3 ./configure problem

    Hi all,

    after having troubles with 1.3.2 (and no anwsers ) i downloaded 1.3.3 and followed the "manual"

    Now i've set-up mysql 5.0.32, created a user zabbix and ran the:

    shell> mysql -u<username> -p<password>
    mysql> create database zabbix;
    mysql> quit;
    shell> cd create/mysql
    shell> cat schema.sql |mysql -u<username> -p<password> zabbix
    shell> cd ../data
    shell> cat data.sql |mysql -u<username> -p<password> zabbix
    shell> cat images.sql |mysql -u<username> -p<password> zabbix
    This all goes without problems.
    So now i want to do the following:
    shell> ./configure --enable-server --enable-agent --with-mysql --with-net-snmp
    And then i gives me this error:

    configure: error: no acceptable C compiler found in $PATH

    When i look in the log i have no idea what to look for. It's a normal Debian installation and version 1.1.6 has been running on it for weeks without any problems.

    So, again, please help me out here.
  • medic
    Member
    • Feb 2007
    • 58

    #2
    check if you have gcc and g++ installed.
    you have to have to get an anser from "gcc -v"

    Debian usually doesnt install gcc and g++, because it doesn't see any need for it.

    Comment

    • vadim
      Junior Member
      • Mar 2007
      • 22

      #3
      Hello all!

      Who knows, why in version 1.3.3 i can not build agent without server.
      Compilation process exited with error during sender compiling.

      Can anyone help me?

      Comment

      • wmo
        Junior Member
        • Feb 2007
        • 18

        #4
        Well i got a bit further now but .....

        i get the following:

        checking for mysql_config ..... no
        configure: error: Not found MySQL Library
        I got MySQL 5.0.32 installed, it contains an db zabbix and i followed the cat schema.sql, cat data.sql, and cat images_mysql.sql commands. These were all without errors.

        But now it gives me this MySQL Library error.

        anyone here that can help me out again?

        Comment

        • medic
          Member
          • Feb 2007
          • 58

          #5
          try to find the program mysql_config
          if you dont have it, get it from somewhere and install ist ..

          Comment

          • medic
            Member
            • Feb 2007
            • 58

            #6
            Originally posted by vadim
            Hello all!

            Who knows, why in version 1.3.3 i can not build agent without server.
            Compilation process exited with error during sender compiling.

            Can anyone help me?
            you usually can .. the error you run into is zabbix_sender, which builds after zabbix_agent
            so you already have build zabbix_agent

            Comment

            • marcele
              Junior Member
              • Mar 2007
              • 5

              #7
              I get this error also when just trying to compile the agent. Anyone have a fix for this ?

              Comment

              • medic
                Member
                • Feb 2007
                • 58

                #8
                the agent doesn't need mysql, therefor just skip it ..
                use ./configure --enable-agent

                Comment

                • marcele
                  Junior Member
                  • Mar 2007
                  • 5

                  #9
                  Originally posted by medic
                  the agent doesn't need mysql, therefor just skip it ..
                  use ./configure --enable-agent
                  Actually that is what I typed .. I still get this error.

                  ./configure --enable-agent

                  compiles for a while then :

                  No rule to make target `../libs/zbxcomms/libzbxcomms.a', needed by `zabbix_sender'

                  Comment

                  • medic
                    Member
                    • Feb 2007
                    • 58

                    #10
                    if you need zabbix_sender, you have to compile everything (sadly), if you dont, your agentd is finished .. you can make install it ...

                    It's a bug in the makefile, already known, but not yet fixed.

                    Comment

                    Working...