All of lore.kernel.org
 help / color / mirror / Atom feed
* Recipe for JNI Wrapper (libusb4java)
@ 2018-01-10 20:57 Nathan Roberts
  0 siblings, 0 replies; only message in thread
From: Nathan Roberts @ 2018-01-10 20:57 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1298 bytes --]

I'm trying to create a recipe for libusb4Java (
https://github.com/usb4java/libusb4java/).

I have the following recipe

SUMMARY = "Native library support for usb4java"
HOMEPAGE = "http://usb4java.org"
BUGTRACKER = "https://github.com/usb4java/libusb4java/issues"
SECTION = "libs"
DEPENDS = "libusb"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=4c49d7fe1fc7a6ebad3b4e6b849a0052"
BBCLASSEXTEND = "native nativesdk"
SRCREV = "396d642a57678a0d9663b062c980fe100cc0ea1e"
SRC_URI = "git://github.com/usb4java/libusb4java.git"

S = "${WORKDIR}/git"
#need to change following ref http://usb4java.org/nativelibs.html
D = "/tmp"
export JAVA_HOME="${STAGING_DIR_NATIVE}/usr/bin/java"
inherit cmake java-library


local.conf has the following added:
BB_ENV_EXTRAWHITE += "JAVA_HOME"


I get the following error:
checking if
/home/ubuntu/yocto/poky/build/tmp/work/x86_64-linux/classpath-native/0.99-r6.0/recipe-sysroot-native/usr/bin/ecj-initial
works... configure: error: The Java compiler
/home/ubuntu/yocto/poky/build/tmp/work/x86_64-linux/classpath-native/0.99-r6.0/recipe-sysroot-native/usr/bin/ecj-initial
failed (see config.log, check the CLASSPATH?)

So I appear to have a classpath problem, but I'm unsure how to resolve this?

Any advice appreciated.

[-- Attachment #2: Type: text/html, Size: 1810 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-10 20:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-10 20:57 Recipe for JNI Wrapper (libusb4java) Nathan Roberts

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.