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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to