[Xapian-tickets] [Xapian] #774: libxapian_jni.jnilib installed to preposterous location
Xapian
nobody at xapian.org
Tue Jan 29 20:22:39 GMT 2019
#774: libxapian_jni.jnilib installed to preposterous location
-------------------------------------------+-------------------
Reporter: ryandesign | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings (Java) | Version: 1.4.9
Severity: normal | Keywords:
Blocked By: | Blocking:
Operating System: All |
-------------------------------------------+-------------------
Hi, I've just taken over maintenance of xapian in !MacPorts, and I've
noticed that the Java portion of xapian-bindings installs the file
libxapian_jni.jnilib into a preposterous location:
{{{
$ port contents xapian-bindings-java
Port xapian-bindings-java contains:
/opt/local/share/doc/xapian-bindings/java/examples/SimpleIndex.java
/opt/local/share/doc/xapian-bindings/java/examples/SimpleSearch.java
/opt/local/share/doc/xapian-bindings/java/index.html
/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-
svn-trunk-new_devel_xapian-core/xapian-bindings-java/work/xapian-
bindings-1.4.9/java/built/libxapian_jni.jnilib
}}}
!MacPorts extracts and builds software in a temporary work directory which
is deleted after installation. Note that libxapian_jni.jnilib was
"installed" under the temporary work directory.
This is certainly happening in part because the file java/Makefile.am
says:
{{{
jnidir = `pwd`/built
}}}
Unfortunately I'm not familiar with Java. I don't know how a Java user
would use this jnilib file or where it should actually be installed to.
--
Ticket URL: <https://trac.xapian.org/ticket/774>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list