[Pljava-dev] Errors building SO

From: alberto at unex(dot)es (Alberto Cabello Sánchez )
To:
Subject: [Pljava-dev] Errors building SO
Date: 2014-01-12 13:31:12
Message-ID: 20140112143112.9e72e4ca78388fe008a7c221@unex.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

On Sat, 11 Jan 2014 17:37:10 -0800
Hal Hildebrand <hal.hildebrand at me.com> wrote:

> Here?s the link to the output run with -X, which seems to have all
> the relevant information.
>
> https://www.dropbox.com/s/imqafhfb9lflbkr/out.txt
>

I think this is wrong:

[DEBUG] (f) includePaths = [null, null, /home/pljava/git/pljava/pljava-so/src/main/include/, /home/pljava/git/pljava/pljava-so/target/nar/javah-include/]

includePaths is not hardcoded, but defined in pljava-so/pom.xml as

<includePaths>
<includePath>${PGSQL_INCLUDEDIR}</includePath>
<includePath>${PGSQL_INCLUDEDIR-SERVER}</includePath>
<includePath>/home/pljava/git/pljava/pljava-so/src/main/include/</includePath>
<includePath>/home/pljava/git/pljava/pljava-so/target/nar/javah-include/</includePath>
</includePaths>

where PGSQL_* should come from pljava-so/pgsql.properties. It seems somehow your setting is not getting the required values (wrong or missing pljava-so/pgsql.properties?), as I just built it successfully with the output:

[DEBUG] (f) includePaths = [/home/alberto/local/include, /home/alberto/local/include/postgresql/server, /home/alberto/src/pljava/pljava-so/src/main/include/, /home/alberto/src/pljava/pljava-so/target/nar/javah-include/]

Hope that helps.

--
Alberto Cabello S?nchez <alberto at unex.es>

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Hal Hildebrand 2014-01-12 16:07:42 [Pljava-dev] Errors building SO
Previous Message Hal Hildebrand 2014-01-12 01:37:10 [Pljava-dev] Errors building SO