agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Errors building SO
Date: Sun, 12 Jan 2014 14:31:12 +0100
Message-ID: <20140112143112.9e72e4ca78388fe008a7c221@unex.es> (raw)
In-Reply-To: <FA8B0936-5E0F-44C6-8414-20EAEA5C02F1@me.com>
References: <53D88E97-0A59-44A5-A477-208F800176C8@me.com>
	<49D2416F-1812-4858-9934-0131C8139169@me.com>
	<20140110213324.f641c8d1c0ed60ccbd015f5f@unex.es>
	<398EF45C-1741-41DB-8B02-DCD629A38A10@me.com>
	<FA8B0936-5E0F-44C6-8414-20EAEA5C02F1@me.com>

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>



view thread (27+ messages)  latest in thread

Message-ID: <20140112143112.9e72e4ca78388fe008a7c221@unex.es>
Permalink:  ../20140112143112.9e72e4ca78388fe008a7c221@unex.es/
Also on:    postgresql.org/message-id/20140112143112.9e72e4ca78388fe008a7c221@unex.es

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Errors building SO
  In-Reply-To: <20140112143112.9e72e4ca78388fe008a7c221@unex.es>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox