agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Fwd: Re:  Calling it a day
Date: Tue, 03 May 2011 22:48:27 -0700
Message-ID: <4DC0E8AB.4000105@gmail.com> (raw)
In-Reply-To: <DUB101-w33F119ADEB66AF3AF43063D39D0@phx.gbl>
References: <4DBB58FD.3090004@gmail.com>
	<DUB101-w33F119ADEB66AF3AF43063D39D0@phx.gbl>

Jose, did you ever get around to checking 32-bit pljava with 32-bit 
Postgres and 32-bit Java on 64-bit Windows.

I was finally able to get 64-bit pljava with 64-bit Postgres and 64-bit 
Java to work on 64-bit windows with Johann's latest builds.

It makes application deployment a little trickier now, but at least I 
have solutions for both 32-bit and 64-bit windows.

Cheers, Eric

On 2011-04-30 4:58 AM, JOSE CARLOS MARTINEZ LLARIO wrote:
> Hi Eric,
> Im almost sure I already run 32-bit pljava with 32-bit Postgres and 
> 32-bit Java on 64-bit windows.
> I wil check it again though.
> cheers,
> Jose
>
> ------------------------------------------------------------------------
> Date: Fri, 29 Apr 2011 17:34:05 -0700
> From: eric.kolotyluk at gmail.com
> To: pljava-dev at pgfoundry.org
> Subject: [Pljava-dev] Fwd: Re: Calling it a day
>
> Thanks for trying.
>
> So far this is what I have discovered (after hours of hosing around 
> with stuff):
>
>    1. It is not possible to run 32-bit pljava with 32-bit Postgres and
>       32-bit Java on 64-bit windows. I have tried every variation I
>       can think of and DependencyWalker always shows that it is still
>       trying to link against 64-bit DLLs. This could be some sort of
>       build configuration problem with Postgres and/or PLJava.
>    2. The 64-bit release of Postgres has some bad and missing DLLs in
>       it. You need to add the referenced files to the postgres/bin
>       directory (let me know if you want me to e-mail them to you).
>       DependencyWalker shows one final unresolved function:
>       DatumGetFloat8 that I cannot find anywhere. Anyway, you need to
>       use Microsoft Visual C++ 2008 Redistributable Package (x64)
>       <http://www.microsoft.com/downloads/en/confirmation.aspx?familyid=BD2A6171-E2D6-4230-B809-9A8D7548C1B...;
>       instead of the  (x86) version, and the version of IEShims.dll
>       from the 64-bit version of IE.
>
> What I know to be true is that I can run 32-bit pljava with 32-bit 
> postgres and 32-bit Java on 32-bit windows.
>
> The bottom line I know to be true is that Microsoft are fucking 
> assholes and make just about everything 100 times harder than it needs 
> to be for software developers.
>
> I'll keep slogging away and see what I can figure out.
>
> Cheers, Eric
>
> referenced files:
>
>     * msvcm90.dll
>     * msvcp90.dll
>     * msvcr90.dll
>     * IEShims.dll
>
>
> On 2011-04-29 3:32 PM, JOSE CARLOS MARTINEZ LLARIO wrote:
>
>     Hi Johann,
>     ok, I will try it again next week. As soon as you get it please
>     send it to me.
>
>     Have a nice weekend too.
>     Jose
>
>
>     > To: eric.kolotyluk at gmail.com <mailto:eric.kolotyluk at gmail.com>;
>     jcllario at hotmail.com <mailto:jcllario at hotmail.com>
>     > Subject: Calling it a day
>     > Date: Fri, 29 Apr 2011 22:27:49 +0000
>     > From: johann at 2ndquadrant.com <mailto:johann at 2ndquadrant.com>
>     >
>     > Hi Eric and Jose,
>     >
>     > Just to let you know I'm calling it a day. I suspect the pljava
>     > binary I gave you does not work because there are no exported sym-
>     > bols in it. If that's the case, it just will not work at all.
>     >
>     > I'll dig further into this on Monday.
>     >
>     > Have a nice weekend,
>     >
>     >
>     > --
>     > Johann Oskarsson http://www.2ndquadrant.com/ |[]
>     > PostgreSQL Development, 24x7 Support, Training and Services --+--
>     > |
>     > Blog: http://my.opera.com/myrkraverk/blog/
>
>
>     _______________________________________________
>     Pljava-dev mailing list
>     Pljava-dev at pgfoundry.org  <mailto:Pljava-dev at pgfoundry.org>
>     http://pgfoundry.org/mailman/listinfo/pljava-dev
>
>
> _______________________________________________ Pljava-dev mailing 
> list Pljava-dev at pgfoundry.org 
> http://pgfoundry.org/mailman/listinfo/pljava-dev
>
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at pgfoundry.org
> http://pgfoundry.org/mailman/listinfo/pljava-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20110503/360895c3/attachment.html;



view thread (16+ messages)  latest in thread

Message-ID: <4DC0E8AB.4000105@gmail.com>
Permalink:  ../4DC0E8AB.4000105@gmail.com/
Also on:    postgresql.org/message-id/4DC0E8AB.4000105@gmail.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] Fwd: Re:  Calling it a day
  In-Reply-To: <4DC0E8AB.4000105@gmail.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