Skip to content

Compilation error #89

@idrismike

Description

@idrismike

java version "1.8.0_101", scala version 2.11.7, Ubuntu 14.04
I am trying to compile the backend as per the readme file. but i get the following error.
Steps i did:

  1. Simple Setup:
    a. cloned the repository "dbtoaster-backend"
    b. cloned the "frontend" repository
    c. copied the "bin/dbtoaster-frontend" and "examples/{queries,data}" to the backend repository
    d. Ran the command
    $sbt 'toast -l cpp examples/queries/simple/r_count.sql'
    And i get the following error.
    [info] Running ddbt.Compiler -l cpp examples/queries/simple/r_count.sql'
    [error] java.io.IOException: Cannot run program "/home/xyz/dbtoaster/bin/dbtoaster_release" (in directory "/home/xyz/dbtoaster"): error=2, No such file or directory
    [error] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    [error] at java.lang.Runtime.exec(Runtime.java:620)
    [error] at ddbt.lib.Utils$.exec(Utils.scala:326)
    [error] at ddbt.Compiler$.toast(Compiler.scala:335)
    [error] at ddbt.Compiler$.toast(Compiler.scala:356)
    [error] at ddbt.Compiler$.main(Compiler.scala:597)
    [error] at ddbt.Compiler.main(Compiler.scala)
    [error] Caused by: java.io.IOException: error=2, No such file or directory
    [error] at java.lang.UNIXProcess.forkAndExec(Native Method)
    [error] at java.lang.UNIXProcess.(UNIXProcess.java:248)
    [error] at java.lang.ProcessImpl.start(ProcessImpl.java:134)
    [error] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    [error] ... 6 more
    [error]

The error is the release and the dbtoaster directories are not the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions