this is a copy of bug nr. 489701

I had the same problem with the RXTX library. I send here the same
solution as I sent to the older bug because I didn't got any response.

Start weitergeleitete Nachricht:

Datum: Fri, 20 Nov 2009 17:56:31 +0100
Von: Christoph Zimmermann <nussgip...@gmx.ch>
An: 489...@bugs.debian.org
Betreff: librxtx-java: does not work, UnsatisfiedLinkError and
NoClassDefFoundError


small update to the stuff I wrote yesterday:

some simple java test programm using the RXTX library are working when
I install the library manualy (as descriped in my last post).

but the application I was interested in was crashing everytime at the
same position.
(Sump Logic Analyzer Client
http://www.sump.org/projects/analyzer/client/?#comment)

today I tried to install the newer version of the RXTX library,
version rxtx-2.2pre2, getting the same compile errors as from the
latest stable library (the base for the current debian package). 

So I tried to apply the patch from the stable version to the new
2.2pre2 and it worked well. some stuff applied not well but I was able
to compile and install the new version without errors.

Now the Sump Logic Analyzer WORKS! No crashes anymore.

I suggest to update the the library in debian SID to the version
2.2pre2.

output of patch:

rxtx-2.2pre2$ patch -p1 < ../rxtx_2.1.7r2-4.diff patching file
Makefile.in Hunk #1 succeeded at 609 with fuzz 2 (offset 53
lines). Hunk #2 succeeded at 626 (offset 53
lines). patching file
configure Hunk #1 succeeded at 22093 (offset 592
lines). Hunk #2 succeeded at 22105 (offset 592
lines). Hunk #3 FAILED at
22133. Hunk #4 FAILED at
22203. Hunk #5 FAILED at
22339. Hunk #6 FAILED at
22391. 4 out of 6 hunks FAILED -- saving rejects to file
configure.rej patching file
debian/changelog patching file
debian/control patching file
debian/copyright patching file
debian/rules patching file
debian/README.Debian patching file
debian/librxtx-java.dirs patching file
debian/librxtx-java.docs patching file
debian/compat patching file
src/SerialImp.cpp Hunk #1 succeeded at 142 (offset 39
lines). Hunk #2 succeeded at 154 (offset 39
lines). patching file
src/I2CImp.c Hunk #1 succeeded at 61 (offset 39
lines). Hunk #2 succeeded at 127 (offset 39
lines). Hunk #3 succeeded at 138 (offset 39
lines). patching file
src/ParallelImp.c Hunk #1 FAILED at
38. 1 out of 1 hunk FAILED -- saving rejects to file
src/ParallelImp.c.rej patching file
src/RS485Imp.c Hunk #1 succeeded at 61 (offset 39
lines). Hunk #2 succeeded at 127 (offset 39
lines). Hunk #3 succeeded at 138 (offset 39
lines). patching file
src/RawImp.c Hunk #1 succeeded at 69 (offset 38
lines). Hunk #2 succeeded at 272 (offset 40
lines). Hunk #3 succeeded at 283 (offset 40
lines). patching file
src/SerialImp.c Hunk #1 succeeded at 66 (offset 39
lines). Hunk #2 succeeded at 320 (offset 39
lines). Hunk #3 succeeded at 334 (offset 39 lines). 



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to