You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Stas Krichevsky (JIRA)" <ji...@apache.org> on 2013/11/20 22:18:35 UTC

[jira] [Created] (LUCENE-5346) Missing include path for 'build-native-unix' task in lucene-misc module on Mac OS X

Stas Krichevsky created LUCENE-5346:
---------------------------------------

             Summary: Missing include path for 'build-native-unix' task in lucene-misc module on Mac OS X
                 Key: LUCENE-5346
                 URL: https://issues.apache.org/jira/browse/LUCENE-5346
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/store
    Affects Versions: 4.5.1
         Environment: Mac OS X 10.9
java version "1.7.0_45"
            Reporter: Stas Krichevsky
            Priority: Trivial


ant build-native-unix produces following error
{code}
       [cc] In file included from /Users/stask/Projects/stask/lucene-4.5.1/misc/src/java/org/apache/lucene/store/NativePosixUtil.cpp:28:
       [cc] /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/include/jni.h:45:10: fatal error: 'jni_md.h' file not found
       [cc] #include "jni_md.h"
       [cc]          ^
       [cc] 1 error generated.
{code}
I added {code:xml}<pathelement location="${java.home}/../include/darwin"/>{code} to the build.xml of misc module to fix the issue.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org