Re: problem w/ the Java interface lib for PostgreSQL

1998-10-07 Thread Ean R . Schuessler
On Mon, Oct 05, 1998 at 08:03:04PM +0100, Oliver Elphick wrote:
 I'm trying to rebuild libpgjava to depend on jdk1.1.  Unfortunately, I'm
 getting segfaults when I run javac (from jdk1.1-dev), so I am currently
 unable to make a new version.

Another strange thing. When I try to use libpgjava for queries with a
TimeStamp I get a bad TimeStamp format exception. The strange thing is 
that the error only occurs if I use 1.1.6v4, 1.1.6v2 works fine.

I would file a bug against JDK but I haven't really figured out where
the problem is exactly. In java.sql.TimeStamp or something? ???

E

-- 
___
Ean SchuesslerFreak
Novare International Inc. Freak Central
--- Some or all of the above signature may be a joke



Re: problem w/ the Java interface lib for PostgreSQL

1998-10-05 Thread Stephen Zander
 Shaleh == Shaleh  [EMAIL PROTECTED] writes:

Shaleh The libpgjava depends on jdk1.1-runtime, which tries to
Shaleh remove the -dev files needed to actually write Java apps.
Shaleh The jdk1.1-dev provides the runtime, but is not able to
Shaleh provide the numeric version needed.  Once again lack of
Shaleh versioned provides rears its head.

If libpgjava actually requires something more that what's provided by
jdk1.1(-runtime)?, why doesn't it declare a dependency on jdk1.1-dev.

FWIW, jdk1.1 should really packaged as jre1.1, but isn't going to be
for Hysterical Raisins.  Expecteding any sort of development
environment with it is totally bogus.

-- 
Stephen
---
Perl is really designed more for the guys that will hack Perl at least
20 minutes a day for the rest of their career.  TCL/Python is more a
20 minutes a week, and VB is probably in that 20 minutes a month
group. :) -- Randal Schwartz



Re: problem w/ the Java interface lib for PostgreSQL

1998-10-05 Thread Shaleh
libpgjava depends on jdk1.1-runtime (= ??.??).  jdk1.1-dev provides
jdk-runtime.  However the dependency resolution tries to install jdk1.1-runtime
because of the versioned depends and jdk-runtime removes jdk-dev.  So if I
install libpgjava, I lose the java compiler and what not, which means I cant
write apps using java and was the point of wanting the java lib.



Re: problem w/ the Java interface lib for PostgreSQL

1998-10-05 Thread Stephen Zander
 Shaleh == Shaleh  [EMAIL PROTECTED] writes:

Shaleh libpgjava depends on jdk1.1-runtime (= ??.??).
Shaleh jdk1.1-dev provides jdk-runtime.  However the dependency
Shaleh resolution tries to install jdk1.1-runtime because of the
Shaleh versioned depends and jdk-runtime removes jdk-dev.  So if
Shaleh I install libpgjava, I lose the java compiler and what
Shaleh not, which means I cant write apps using java and was the
Shaleh point of wanting the java lib.

Eh? jdk1.1 /conflicts/replaces/provides jdk1.1-runtime, not
jdk1.1-dev, at least that's they way I specified it.

The obvious answer is file a bug against libpgjava :/


-- 
Stephen
---
Perl is really designed more for the guys that will hack Perl at least
20 minutes a day for the rest of their career.  TCL/Python is more a
20 minutes a week, and VB is probably in that 20 minutes a month
group. :) -- Randal Schwartz



Re: problem w/ the Java interface lib for PostgreSQL

1998-10-05 Thread Shaleh
libpgjava depends on jdk1.1-runtime (= 1.1.3.v2-1)
jdk1.1 conflicts with jdk1.1-runtime   
jdk1.1 provides jdk1.1-runtime

jdk1.1-dev depends on jdk1.1 (= 1.1.6v4a-3)

So I cant install libpgjava w/ losing the -dev.

On 05-Oct-98 Stephen Zander wrote:
 Shaleh == Shaleh  [EMAIL PROTECTED] writes:
 
 Shaleh libpgjava depends on jdk1.1-runtime (= ??.??).
 Shaleh jdk1.1-dev provides jdk-runtime.  However the dependency
 Shaleh resolution tries to install jdk1.1-runtime because of the
 Shaleh versioned depends and jdk-runtime removes jdk-dev.  So if
 Shaleh I install libpgjava, I lose the java compiler and what
 Shaleh not, which means I cant write apps using java and was the
 Shaleh point of wanting the java lib.
 
 Eh? jdk1.1 /conflicts/replaces/provides jdk1.1-runtime, not
 jdk1.1-dev, at least that's they way I specified it.
 
 The obvious answer is file a bug against libpgjava :/
 
 
 -- 
 Stephen
 ---
 Perl is really designed more for the guys that will hack Perl at least
 20 minutes a day for the rest of their career.  TCL/Python is more a
 20 minutes a week, and VB is probably in that 20 minutes a month
 group. :) -- Randal Schwartz
 
 
 --  
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

--
E-Mail: Shaleh [EMAIL PROTECTED]
Date: 05-Oct-98
Time: 14:45:23

This message was sent by XFMail
--



Re: problem w/ the Java interface lib for PostgreSQL

1998-10-05 Thread Oliver Elphick
Shaleh wrote:
  The libpgjava depends on jdk1.1-runtime, which tries to remove the -dev file
  s
  needed to actually write Java apps.  The jdk1.1-dev provides the runtime, bu
  t
  is not able to provide the numeric version needed.  Once again lack of
  versioned provides rears its head.
 
I'm trying to rebuild libpgjava to depend on jdk1.1.  Unfortunately, I'm
getting segfaults when I run javac (from jdk1.1-dev), so I am currently
unable to make a new version.

The segfault is really weird: javac eventually is linked to .java_wrapper, 
which is a script into which I have put a set -x.  Then I get:
...
+ prog=/usr/lib/jdk1.1/bin/../bin/i686/green_threads/javac
+ '[' -f /usr/lib/jdk1.1/bin/../bin/i686/green_threads/javac ']'
+ exec /usr/lib/jdk1.1/bin/../bin/i686/green_threads/javac
Segmentation fault (core dumped)


But I also have a trace in that script:
bash-2.01$ /usr/lib/jdk1.1/bin/../bin/i686/green_threads/javac
++ dirname /usr/lib/jdk1.1/bin/../bin/i686/green_threads/javac
+ . /usr/lib/jdk1.1/bin/../bin/i686/green_threads/.extract_args
...

No segfault, you see. Can anyone suggest what I should try next?

hi  jdk-common  1.0.2-7JDK (Java Development Kit)
ii  jdk1.1  1.1.6v4a-3 JDK 1.1.x (Java Development Kit) - Runtime o
ii  jdk1.1-dev  1.1.6v4a-3 JDK 1.1.x (Java Development Kit)
ii  libc6   2.0.7r-3   The GNU C library version 2 (run-time files)
ii  bash2.01.1-3   The GNU Bourne Again SHell


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver
   PGP key from public servers; key ID 32B8FAA1
 
 Wherefore take unto you the whole armor of God, that 
  ye may be able to withstand in the evil day, and 
  having done all, to stand.  Ephesians 6:13 




Re: problem w/ the Java interface lib for PostgreSQL

1998-10-05 Thread Stephen Zander
 Shaleh == Shaleh  [EMAIL PROTECTED] writes:

Shaleh libpgjava depends on jdk1.1-runtime (= 1.1.3.v2-1) jdk1.1
Shaleh conflicts with jdk1.1-runtime jdk1.1 provides
Shaleh jdk1.1-runtime

Shaleh jdk1.1-dev depends on jdk1.1 (= 1.1.6v4a-3)

Shaleh So I cant install libpgjava w/ losing the -dev.

dpkg --force-depends-version is your friend.

I repeat, file a bug against libpgjava

-- 
Stephen
---
Perl is really designed more for the guys that will hack Perl at least
20 minutes a day for the rest of their career.  TCL/Python is more a
20 minutes a week, and VB is probably in that 20 minutes a month
group. :) -- Randal Schwartz