Ad Widget

Collapse

problem compiling svn

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • woger
    Member
    • Sep 2005
    • 56

    #1

    problem compiling svn

    Hi there,
    I am trying to compile the latest svn version on Ubuntu 8.04. I start with ./configure --enable-server --with-mysql
    and that finishes without an error.
    when I do a make I get this error:

    make[3]: Leaving directory `/home/roger/1.6/src/libs/zbxdbcache'
    Making all in zbxdbhigh
    make[3]: Entering directory `/home/roger/1.6/src/libs/zbxdbhigh'
    make[3]: *** No rule to make target `dbschema.c', needed by `libzbxdbhigh_a-dbschema.o'. Stop.
    make[3]: Leaving directory `/home/roger/1.6/src/libs/zbxdbhigh'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/roger/1.6/src/libs'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/roger/1.6/src'
    make: *** [all-recursive] Error 1
    roger@LocalServer:~/1.6$

    Does anybody have a clue, where I should look?
  • woger
    Member
    • Sep 2005
    • 56

    #2
    OK,

    I copied the file dbschema.c from the original 1.6 package to /home/roger/1.6/src/libs/zbxdbhigh and after that make install runs fine. So far I haven't seen ant failures yet.

    Comment

    • tekknokrat
      Senior Member
      • Sep 2008
      • 140

      #3
      You have nightly snapshot in development section http://www.zabbix.com/developers.php
      pre 1.6.x should be the right for you.

      Imo they are tested with automated build system, but i am not sure if they are also released when build fails (perhaps someone else can clarify this).

      Comment

      • xs-
        Senior Member
        Zabbix Certified Specialist
        • Dec 2007
        • 393

        #4
        you need to run 'make dbschema' after configure and before make all

        ./configure <blabla>
        make dbschema
        make all

        Comment

        • woger
          Member
          • Sep 2005
          • 56

          #5
          ah, ok,

          I will reinstall it to be sure everything is the latest version.

          Thanks,

          Roger

          Comment

          Working...