GithubHelp home page GithubHelp logo

Error while building about traildb-java HOT 6 CLOSED

aholyoke avatar aholyoke commented on August 22, 2024
Error while building

from traildb-java.

Comments (6)

aholyoke avatar aholyoke commented on August 22, 2024

This looks like a problem with your installation of TrailDB. Are you sure you have TrailDB installed? Alternatively, you can use the docker image by pulling aholyoke/traildb-java:installed from Docker Hub.

from traildb-java.

buremba avatar buremba commented on August 22, 2024

I installed traildb with brew but mvn install -P Mac still doesn't work. How am I supposed to use the Docker image? I was going to use it as a library in our Java project but Docker containers work as a standalone application.

from traildb-java.

aholyoke avatar aholyoke commented on August 22, 2024

Ok, it seems that when you install with brew it puts the headers in a different directory. I have been testing the build with the manual installation of tdb. This means your choices are:

  1. Install manually as described in the official readme
  2. checkout this commit and see if it fixes things

from traildb-java.

buremba avatar buremba commented on August 22, 2024

Even though traildb.h file in /usr/local/Cellar/traildb/0.6/include exists, I still see the same error. Any idea?

from traildb-java.

buremba avatar buremba commented on August 22, 2024

The interesting thing is that I can't even build traildb:

Buraks-MacBook-Pro:traildb buremba$ brew install traildb/judy/judy
Warning: traildb/judy/judy 1.0.5 is already installed
Buraks-MacBook-Pro:traildb buremba$ brew link traildb/judy/judy
Warning: Already linked: /usr/local/Cellar/judy/1.0.5
To relink: brew unlink judy && brew link judy
Buraks-MacBook-Pro:traildb buremba$ ./waf configure
Setting top to                           : /Users/buremba/Code/dummy/traildb
Setting out to                           : /Users/buremba/Code/dummy/traildb/build
Checking for 'clang' (C compiler)        : /usr/bin/clang
Checking for program 'pkg-config'        : /usr/local/bin/pkg-config
Checking for 'libarchive'                : yes
Checking for library Judy                : not found; install with 'brew install traildb/judy/judy'
The configuration failed
(complete log in /Users/buremba/Code/dummy/traildb/build/config.log)

It complains that traildb/judy/judy doesn't exists but as you can see, it's installed. The issue may not be related with this library but do you have any idea/suggestion?

from traildb-java.

buremba avatar buremba commented on August 22, 2024

Anyway, I found the issue: traildb/traildb#67
Now I'm able to build and run the Example. Thanks for the java support for this amazing library, hope you can implement the missing features soon. I would be happy to help if I was familiar with JNI. :/

from traildb-java.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.