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

Bug#195350: libgcj4 and libsablevm1-dev both include /usr/include/jni.h



> I am willing to move those files of SableVM away from /usr/include
> (to sth. like /usr/include/sablevm) *IF* there's agreement that all
> JVMs don't install their jni.h type files in /usr/include.
I agree, but it's an upstream issue. See:

- http://gcc.gnu.org/PR7305
- the thread starting at
  http://gcc.gnu.org/ml/java/2003-05/msg00029.html

  Tom Tromey writes:
  > It is important to us that g++ is able to find the headers by
  > default, and that both g++ and gcc are able to find jni.h by default.
  > 
  > Beyond that I don't care where the headers end up.

OTOH I'd be glad to apply a patch, which guarantees this.

Adam Heath writes:
> package: libsablevm1-dev,libgcj4
> version: 1.0.8-4,1:3.3-2
> severity: important
> 
> dpkg: error processing /var/cache/apt/archives/libgcj4-dev_1%3a3.3-2_i386.deb (--unpack):
>  trying to overwrite `/usr/include/jni.h', which is also in package libsablevm1-dev
> 
> Please, do *not* install such common files into global locations, for packages
> that are *designed* to be installed side by side.  No other set of java vms do
> this.



Reply to: