[Pljava-dev] Build Errors while building PL/Java 1.4.0 on Solaris 10

From: books at ejurka(dot)com (Kris Jurka)
To:
Subject: [Pljava-dev] Build Errors while building PL/Java 1.4.0 on Solaris 10
Date: 2009-03-19 00:08:58
Message-ID: 49C18D1A.3000705@ejurka.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Prabhakara_Janardhan at emc.com wrote:
>
> Yes! The server was built elsewhere... Are you saying that PL/Java
> should always be built on the same server as the server itself? That is
> kind of a severe restriction, esp. when we have pg_config etc - to tell
> us all the flags that were used and essentially that should be all that
> should be known. Anyhow, I was quite convinced that the way I built it
> was fine - was just wondering why I got that error in the first place.
>

So your situation is: postgresql was built on server A which does not
have unsetenv and must use the postgresql provided built in version.
pljava was built on Server B which does have unsetenv and therefore
chokes when trying to include the postgresql built in version. I'm not
saying that you must build all the software on the server that it will
be deployed upon, but you're asking for trouble if they aren't the same.
Consider what would happen if you did this in reverse, building
postgresql on Server B and deploying it on Server A, it wouldn't even
run because Server A doesn't have unsetenv and postgresql got built
without its internal version because it was available on Server B.

Kris Jurka

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2009-03-19 08:21:13 [Pljava-dev] Build Errors while building PL/Java 1.4.0 on Solaris 10
Previous Message Prabhakara_Janardhan at emc.com 2009-03-18 23:50:17 [Pljava-dev] Build Errors while building PL/Java 1.4.0 on Solaris 10