agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Errors building SO
Date: Sun, 12 Jan 2014 14:49:36 -0800
Message-ID: <FF49ADFD-81E8-481C-A3B0-19B60E446679@me.com> (raw)
In-Reply-To: <20140112214014.48485157142fba19b3942482@unex.es>
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>
	<20140112143112.9e72e4ca78388fe008a7c221@unex.es>
	<8A694458-27B9-4FAD-8544-E5B9C5A487DE@me.com>
	<D8B285F5-37F8-44AC-8C03-C8F356D0972D@me.com>
	<20140112214014.48485157142fba19b3942482@unex.es>

Will do. Thx!

> On Jan 12, 2014, at 12:40 PM, Alberto Cabello S?nchez <alberto at unex.es> wrote:
> 
> I just ran the command (assuming that it is irrelevant that you are on
> a 64-bit system and I am on a 32-bit one) adjusting to my paths:
> 
> gcc -Wall -Wno-long-long -Wpointer-arith -Wconversion -fPIC -c -fPIC  \
> '-DPKGLIBDIR="target/lib/"' -DPGSQL_MAJOR_VER=9 -DPGSQL_MINOR_VER=2  \
> -DPGSQL_PATCH_VER=6 -DLinux -DGNU_GCC  \
> -I/home/alberto/src/pljava/pljava-so/target/nar/javah-include  \
> -I/opt/jdk6/include  \
> -I/opt/jdk6/include/linux -I/home/alberto/local/include \
> -I/home/alberto/local/include/postgresql/server  \
> -I/home/alberto/src/pljava/pljava-so/src/main/include  \
> -I/home/alberto/src/pljava/pljava-so/target/nar/javah-include  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/Any.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/Backend.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/Boolean.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/Coerce.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/Date.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/ErrorData.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/ExecutionPlan.c \
> /home/alberto/src/pljava/pljava-so/src/main/c/Function.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/HeapTupleHeader.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/Invocation.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/JNICalls.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/LargeObject.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/Oid.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/PgSavepoint.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/Relation.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/SQLInputFromChunk.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/SQLOutputToChunk.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/Session.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/String.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/Time.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/TriggerData.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/TupleDesc.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/Type.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/type/Void.c  \
> /home/alberto/src/pljava/pljava-so/src/main/c/backports.c
> 
> It gives lots of "Warning:", but no error. I wonder if you can post the
> output of (or the equivalent command on your system):
> 
> find /usr/include/ -name "postgres*.h"
> 
> So we could check postgres.h and postgres_fe.h are on the right place.
> 
> -- 
> Alberto Cabello S?nchez <alberto at unex.es>



view thread (27+ messages)  latest in thread

Message-ID: <FF49ADFD-81E8-481C-A3B0-19B60E446679@me.com>
Permalink:  ../FF49ADFD-81E8-481C-A3B0-19B60E446679@me.com/
Also on:    postgresql.org/message-id/FF49ADFD-81E8-481C-A3B0-19B60E446679@me.com

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: <FF49ADFD-81E8-481C-A3B0-19B60E446679@me.com>

* 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