Loading ...
Sorry, an error occurred while loading the content.

Jaybird21.so build on linux

Expand Messages
  • makc_fire
    Hello! I m trying to build jaybird21.so (jaybird 2.1.2 src) with ant on ... [maxim@mtbest ~]$ [maxim@mtbest jaybird]$ ./build.sh -f build_native.xml Ant binary
    Message 1 of 3 , Jun 11, 2008
    • 0 Attachment
      Hello!

      I'm trying to build jaybird21.so (jaybird 2.1.2 src) with ant on
      linux. I get the next errors:
      >
      [maxim@mtbest ~]$ [maxim@mtbest jaybird]$ ./build.sh -f build_native.xml
      Ant binary was found in /usr/bin/ant
      Buildfile: build_native.xml
      [taskdef] Could not load definitions from resource cpptasks.tasks.
      It could not be found.
      [typedef] Could not load definitions from resource cpptasks.types.
      It could not be found.

      init:

      set_platform_properties:
      [echo] os.name=Linux
      [echo] jaybirds_platform_headers=generic_unix

      prepare_CC:

      prepare_aCC:

      prepare_mingw:

      prepare_msvc:

      prepare_gcc:
      [echo] use.gcc=true

      BUILD FAILED
      /home/maxim/dev/jaybird/build_native.xml:341: Problem: failed to
      create task or type compiler
      Cause: The name is undefined.
      Action: Check the spelling.
      Action: Check that any custom tasks/types have been declared.
      Action: Check that any <presetdef>/<macrodef> declarations have taken
      place.


      Total time: 1 second
      ANT_HOME environment is set.
      Where is my mistake?

      Thanks,
      Maxim
    • Roman Rokytskyy
      ... Check whether: a) ANT_HOME is set to your client-java/ directory b) if not, copy the client-java/lib/cpptasks.jar to your $ANT_HOME/lib/ directory. Roman
      Message 2 of 3 , Jun 11, 2008
      • 0 Attachment
        > [maxim@mtbest ~]$ [maxim@mtbest jaybird]$ ./build.sh -f build_native.xml
        > Ant binary was found in /usr/bin/ant
        > Buildfile: build_native.xml
        > [taskdef] Could not load definitions from resource cpptasks.tasks.
        > It could not be found.
        > [typedef] Could not load definitions from resource cpptasks.types.
        > It could not be found.
        ...
        > ANT_HOME environment is set.
        > Where is my mistake?

        Check whether:

        a) ANT_HOME is set to your client-java/ directory
        b) if not, copy the client-java/lib/cpptasks.jar to your $ANT_HOME/lib/
        directory.

        Roman
      • makc_fire
        ... Thank you. Maxim
        Message 3 of 3 , Jun 11, 2008
        • 0 Attachment
          --- In Firebird-Java@yahoogroups.com, Roman Rokytskyy <roman@...> wrote:

          > Check whether:
          >
          > a) ANT_HOME is set to your client-java/ directory
          > b) if not, copy the client-java/lib/cpptasks.jar to your $ANT_HOME/lib/
          > directory.
          >
          > Roman
          >

          Thank you.

          Maxim
        Your message has been successfully submitted and would be delivered to recipients shortly.