The graphics/processing have their own serial library at libexec/processing/libraris/serial/library. But this serial library use linux version of shared library, so we cannot run this function. The processing serial library is same as comms/rxtx, so we must add RUN_DEPENDS. Fix: Please apply patch below. I think that graphics/processing-devel is needed same care. -- Takeshi MUTOH <mutoh@openedu.org>--hvVOHC6c3b9YXIGEn6LEDwBaFWaCGEB0v0T2C8TiIfTH2FP8 Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" diff -ruN processing.org/Makefile processing/Makefile --- processing.org/Makefile 2008-09-24 12:39:28.000000000 +0900 +++ processing/Makefile 2008-09-24 12:40:11.000000000 +0900 @@ -14,7 +14,8 @@ MAINTAINER= edwin@mavetju.org COMMENT= Open source programming language and environment for people who want to program images, animation, and interactions -RUN_DEPENDS= jikes:${PORTSDIR}/java/jikes +RUN_DEPENDS= jikes:${PORTSDIR}/java/jikes \ + ${JAVA_HOME}/jre/RXTXcomm.jar:${PORTSDIR}/comms/rxtx USE_JAVA= 1.5+ NO_BUILD= yes How-To-Repeat: Run processing and attach some serial device. Then select [File]->[Examples]->[Libraries]->[Serial]->[SerialCallResponse]. If you don't install comms/rxtx before run, you see: {{{ java.lang.UnsatisfiedLinkError: /usr/local/libexec/processing/libraries/serial/library/librxtxSerial.so: Shared object "libpthread.so.0" not found, required by "librxtxSerial.so" thrown while loading gnu.io.RXTXCommDriver java.lang.UnsatisfiedLinkError: /usr/local/libexec/processing/libraries/serial/library/librxtxSerial.so: Shared object "libpthread.so.0" not found, required by "librxtxSerial.so" at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1030) at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83) java.lang.RuntimeException: Error inside Serial.ports() at processing.serial.Serial.errorMessage(Serial.java:583) at processing.serial.Serial.list(Serial.java:564) at Temporary_7198_3090.setup(Temporary_7198_3090.java:31) at processing.core.PApplet.handleDisplay(PApplet.java:1390) at processing.core.PGraphics.requestDisplay(PGraphics.java:690) at processing.core.PApplet.run(PApplet.java:1562) at java.lang.Thread.run(Thread.java:619) }}} If you install comms/rxtx before run, you see: {{{ Stable Library ========================================= Native lib Version = RXTX-2.1-7 Java lib Version = RXTX-2.1-7 [0] "/dev/ttyU0" }}}
Responsible Changed From-To: freebsd-ports-bugs->edwin edwin@mavetju.org => edwin@ (via the GNATS Auto Assign Tool)
Maintainer of graphics/processing, Please note that PR ports/127600 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/127600 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
edwin 2008-09-24 05:27:40 UTC FreeBSD ports repository Modified files: graphics/processing Makefile graphics/processing-devel Makefile Log: graphics/processing : Serial cannot be used The graphics/processing have their own serial library at libexec/processing/libraris/serial/library. But this serial library use linux version of shared library, so we cannot run this function. The processing serial library is same as comms/rxtx, so we must add RUN_DEPENDS. PR: ports/127600 Submitted by: Takeshi MUTOH <mutoh@openedu.org> Revision Changes Path 1.4 +2 -0 ports/graphics/processing-devel/Makefile 1.2 +3 -1 ports/graphics/processing/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed, thanks!