On Wednesday 14 November 2007 23:08:53 Erik de Castro Lopo wrote: > Felipe Sateler wrote: > > Done. Added both sun's java and gcj compat layer to customCPPPATH. It > > should work now. > > Get the new -3 revision (source only) from > > > > http://sateler.com/~fsateler/debian/ > > > > Note that now you only need the dsc and diff.gz files, the orig.tar.gz is > > the same one. > > I did that (just the .dsc and diff.ga) and tried to rebuild: > but it still can't find jni.h Doh! I'm terribly sorry. I forgot to add the last /include to the paths[1], and another path was missing. Now it should work (I added the missing include and a new path for sun's jdk). This is the diff: --- debian/custom.py (revision 1692) +++ debian/custom.py (working copy) @@ -18,7 +18,8 @@ platform = 'linux' customCPPPATH.append('/usr/include/lua5.1') customCPPPATH.append('/usr/include/tcl8.4') -customCPPPATH.append('/usr/lib/jvm/java-6-sun') -customCPPPATH.append('/usr/lib/jvm/java-gcj') +customCPPPATH.append('/usr/lib/jvm/java-6-sun/include') +customCPPPATH.append('/usr/lib/jvm/java-6-sun/include/linux') +customCPPPATH.append('/usr/lib/jvm/java-gcj/include') customLIBPATH.append('.') Could you make this change and see if it builds correctly? [1] I'm sorry I didn't test it before uploading but the debian unstable repo is currently broken, which means I can't do a clean build in a chroot (not all build-deps are installable). -- Felipe Sateler