[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem w/ the Java interface lib for PostgreSQL



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-7        JDK (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  bash            2.01.1-3       The GNU Bourne Again SHell


-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
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 



Reply to: