Git Product home page Git Product logo

Comments (3)

jcflack avatar jcflack commented on July 19, 2024 1

Hi,

Thanks for the report! This seems to be failing at a place where
the nar-maven-plugin checks that the specified include paths are
real directories that exist on your system:

https://github.com/maven-nar/nar-maven-plugin/blob/7ba6ca9f3fc4385d360a8f326d20322cea1118a8/src/main/java/com/github/maven_nar/Compiler.java#L592

Sadly, nar's IncludePath class doesn't have its own toString() method,
so when the error message prints it out, we don't see what include path
wasn't found, but only the address of the object. :(

Still, on Ubuntu you probably only have the paths set in the main part
of the pljava.so pom.xml:

<includePaths>

So, the first thing I would check ... run pg_config and look for the
INCLUDEDIR and INCLUDEDIR-SERVER lines, then check that both of those
directories exist on your system and have a bunch of *.h files in them.

Perhaps on Ubuntu there is a postgresql -devel package that you have
not installed yet?

Regards,
-Chap

On 01/09/16 13:34, Yohanna LIsnichuk wrote:

Im trying to install pljava, when I clone de the repo and execute mvn compile, its fails cause a maven nar plugin problem, the important part of stack trace:
Caused by: orgapachemavenpluginMojoFailureException: NAR: Include path not found: comgithubmaven_narIncludePath@6f94fb9d
at comgithubmaven_narCompilergetCompiler(Compilerjava:592)

My maven version is 305, java 8 and postgresql 93, in Ubuntu 1404 64 bits


Reply to this email directly or view it on GitHub:
#84

from pljava.

jcflack avatar jcflack commented on July 19, 2024

Sadly, nar's IncludePath class doesn't have its own toString() method,
so when the error message prints it out, we don't see what include path
wasn't found, but only the address of the object. :(

I've reported that part to the nar folks at maven-nar/nar-maven-plugin#204.

-Chap

from pljava.

yolile avatar yolile commented on July 19, 2024

Thank you, you are right, I didn't have the postgresql-server-dev-9.3, libkrb5-dev and libecpg-dev packets, after install those, the project finally compiled!

from pljava.

Related Issues (20)

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.