久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    1. <small id='xHxg9'></small><noframes id='xHxg9'>

        <bdo id='xHxg9'></bdo><ul id='xHxg9'></ul>
      <i id='xHxg9'><tr id='xHxg9'><dt id='xHxg9'><q id='xHxg9'><span id='xHxg9'><b id='xHxg9'><form id='xHxg9'><ins id='xHxg9'></ins><ul id='xHxg9'></ul><sub id='xHxg9'></sub></form><legend id='xHxg9'></legend><bdo id='xHxg9'><pre id='xHxg9'><center id='xHxg9'></center></pre></bdo></b><th id='xHxg9'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='xHxg9'><tfoot id='xHxg9'></tfoot><dl id='xHxg9'><fieldset id='xHxg9'></fieldset></dl></div>
      <legend id='xHxg9'><style id='xHxg9'><dir id='xHxg9'><q id='xHxg9'></q></dir></style></legend>
    2. <tfoot id='xHxg9'></tfoot>

    3. 在 OSX 上安裝 PyLucene JCC 時出錯

      Error installing PyLucene JCC on OSX(在 OSX 上安裝 PyLucene JCC 時出錯)

        <small id='EDuMv'></small><noframes id='EDuMv'>

              <tbody id='EDuMv'></tbody>
              <bdo id='EDuMv'></bdo><ul id='EDuMv'></ul>
              <i id='EDuMv'><tr id='EDuMv'><dt id='EDuMv'><q id='EDuMv'><span id='EDuMv'><b id='EDuMv'><form id='EDuMv'><ins id='EDuMv'></ins><ul id='EDuMv'></ul><sub id='EDuMv'></sub></form><legend id='EDuMv'></legend><bdo id='EDuMv'><pre id='EDuMv'><center id='EDuMv'></center></pre></bdo></b><th id='EDuMv'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='EDuMv'><tfoot id='EDuMv'></tfoot><dl id='EDuMv'><fieldset id='EDuMv'></fieldset></dl></div>

            • <legend id='EDuMv'><style id='EDuMv'><dir id='EDuMv'><q id='EDuMv'></q></dir></style></legend>
                <tfoot id='EDuMv'></tfoot>
              • 本文介紹了在 OSX 上安裝 PyLucene JCC 時出錯的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我在 Mac OSX 上安裝 PyLucene JCC 時遇到問題.

                I am having trouble installing PyLucene JCC on Mac OSX.

                我從 apache lucene 站點下載了最新版本的 JCC,并按照說明使用命令安裝它

                I dowloaded the latest version of JCC from apache lucene site and fallowed the instruction to install it using the command

                python setup.py build
                

                但我在安裝時遇到以下錯誤

                But I am getting the following error while installing

                ld: internal error: atom not found in symbolIndex(__ZN7JNIEnv_13CallIntMethodEP8_jobjectP10_jmethodIDz) for architecture x86_64
                clang: error: linker command failed with exit code 1 (use -v to see invocation)
                error: command 'c++' failed with exit status 1
                

                在 mac OSX 上安裝或使用 export CFLAGS 時,我已嘗試按照官方網站上的說明將標志 "-framework", "Python" 添加到 LFLAGS 值=-Qunused-argumentsexport CPPFLAGS=-Qunused-arguments 在運行安裝命令之前忽略構建時的警告.但它們都不起作用.

                I have tried following the instruction given on the official site of adding the flag "-framework", "Python" to the LFLAGS value when installing on mac OSX or using the export CFLAGS=-Qunused-arguments and export CPPFLAGS=-Qunused-arguments before runnig the install command to ignore the warnings while build. But none of them are working.

                錯誤的完整軌跡是

                found JAVAHOME = /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home
                found JAVAFRAMEWORKS = /System/Library/Frameworks/JavaVM.framework
                Loading source files for package org.apache.jcc...
                doc/serialized-form.html...
                Building index for all the packages and classes...
                Generating javadoc/overview-tree.html...
                Generating javadoc/index-all.html...
                Generating javadoc/deprecated-list.html...
                Building index for all classes...
                Generating javadoc/allclasses-frame.html...
                Generating javadoc/allclasses-noframe.html...
                Generating javadoc/index.html...
                Generating javadoc/help-doc.html...
                running build
                running build_py
                writing /Users/harshsingh/Documents/Codes/IR/jcc/jcc/config.py
                copying jcc/config.py -> build/lib.macosx-10.10-intel-2.7/jcc
                copying jcc/classes/org/apache/jcc/PythonVM.class -> build/lib.macosx-10.10-intel-2.7/jcc/classes/org/apache/jcc
                copying jcc/classes/org/apache/jcc/PythonException.class -> build/lib.macosx-10.10-intel-2.7/jcc/classes/org/apache/jcc
                running build_ext
                building 'jcc' extension
                cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -    DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -dynamiclib -D_jcc_lib -DJCC_VER="2.    21" -I/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_45.    jdk/Contents/Home/include/darwin -I_jcc -Ijcc/sources -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c jcc/sources/jcc.cpp -    o build/temp.macosx-10.10-intel-2.7/jcc/sources/jcc.o -DPYTHON -fno-strict-aliasing -Wno-write-strings
                clang: warning: argument unused during compilation: '-dynamiclib'
                jcc/sources/jcc.cpp:197:16: warning: implicit conversion loses integer precision: 'long' to 'int'
                      [-Wshorten-64-to-32]
                    int hash = PyObject_Hash(arg);
                        ~~~~   ^~~~~~~~~~~~~~~~~~
                1 warning generated.
                cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -    DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -dynamiclib -D_jcc_lib -DJCC_VER="2.    21" -I/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_45.    jdk/Contents/Home/include/darwin -I_jcc -Ijcc/sources -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c jcc/sources/JCCEnv.    cpp -o build/temp.macosx-10.10-intel-2.7/jcc/sources/JCCEnv.o -DPYTHON -fno-strict-aliasing -Wno-write-strings
                clang: warning: argument unused during compilation: '-dynamiclib'
                c++ -Wl,-x -dynamiclib -undefined dynamic_lookup build/temp.macosx-10.10-intel-2.7/jcc/sources/jcc.o build/temp.macosx-10.10-intel-2.7/jcc/sources/JCCEnv.    o -o build/lib.macosx-10.10-intel-2.7/libjcc.dylib -L/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib -ljava -    L/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/server -ljvm -Wl,-rpath -Wl,/Library/Java/JavaVirtualMachines/jdk1.7.0_45.    jdk/Contents/Home/jre/lib -Wl,-rpath -Wl,/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/server -Wl,-S -install_name @rpath/libjcc.    dylib -current_version 2.21 -compatibility_version 2.21
                ld: internal error: atom not found in symbolIndex(__ZN7JNIEnv_13CallIntMethodEP8_jobjectP10_jmethodIDz) for architecture x86_64
                clang: error: linker command failed with exit code 1 (use -v to see invocation)
                error: command 'c++' failed with exit status 1    
                

                我現在真的很迷茫,任何幫助都會非常棒.

                I am really lost now and any help will be really great.

                推薦答案

                如果從源代碼重建仍然會出現相同的錯誤,您可能可以嘗試以下方法.

                If rebuilding from source still ends up giving the same errors, you could probably try the following approach.

                似乎在 OSX 10.9+ 上運行帶有 -x 標志的 clang++ 命令(如下)存在錯誤(參考 這里)

                Seems like there is a bug with running the clang++ command (below) with the -x flag, on OSX 10.9+ (referenced here)

                cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -    DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -dynamiclib -D_jcc_lib -DJCC_VER="2.    21" -I/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_45.    jdk/Contents/Home/include/darwin -I_jcc -Ijcc/sources -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c jcc/sources/JCCEnv.    cpp -o build/temp.macosx-10.10-intel-2.7/jcc/sources/JCCEnv.o -DPYTHON -fno-strict-aliasing -Wno-write-strings
                clang: warning: argument unused during compilation: '-dynamiclib'
                c++ -Wl,-x -dynamiclib -undefined dynamic_lookup build/temp.macosx-10.10-intel-2.7/jcc/sources/jcc.o build/temp.macosx-10.10-intel-2.7/jcc/sources/JCCEnv.    o -o build/lib.macosx-10.10-intel-2.7/libjcc.dylib -L/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib -ljava -    L/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/server -ljvm -Wl,-rpath -Wl,/Library/Java/JavaVirtualMachines/jdk1.7.0_45.    jdk/Contents/Home/jre/lib -Wl,-rpath -Wl,/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/server -Wl,-S -install_name @rpath/libjcc.    dylib -current_version 2.21 -compatibility_version 2.21
                

                再次運行不帶 -x 標志的 clang++ 命令,然后運行:

                Run the clang++ command again without the -x flag and then run:

                python setup.py build
                

                這篇關于在 OSX 上安裝 PyLucene JCC 時出錯的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                Discord bot isn#39;t responding to commands(Discord 機器人沒有響應命令)
                Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關于我嗎?Discord 機器人的功能?(不和諧.py))
                message.channel.id Discord PY(message.channel.id Discord PY)
                How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)
                • <bdo id='XbTmt'></bdo><ul id='XbTmt'></ul>

                  <legend id='XbTmt'><style id='XbTmt'><dir id='XbTmt'><q id='XbTmt'></q></dir></style></legend>

                        <small id='XbTmt'></small><noframes id='XbTmt'>

                          <i id='XbTmt'><tr id='XbTmt'><dt id='XbTmt'><q id='XbTmt'><span id='XbTmt'><b id='XbTmt'><form id='XbTmt'><ins id='XbTmt'></ins><ul id='XbTmt'></ul><sub id='XbTmt'></sub></form><legend id='XbTmt'></legend><bdo id='XbTmt'><pre id='XbTmt'><center id='XbTmt'></center></pre></bdo></b><th id='XbTmt'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='XbTmt'><tfoot id='XbTmt'></tfoot><dl id='XbTmt'><fieldset id='XbTmt'></fieldset></dl></div>
                            <tbody id='XbTmt'></tbody>
                        1. <tfoot id='XbTmt'></tfoot>
                          主站蜘蛛池模板: 久久五月婷 | 亚洲日本三级 | 精品久久久久国产免费第一页 | 99精品久久久国产一区二区三 | 免费观看黄色片视频 | 国产精品视频久久久 | 欧美国产日韩一区二区三区 | 成年人免费在线视频 | 欧美.com| 91在线视频播放 | 国产精品一区二区视频 | 精品婷婷 | 欧美日韩精品中文字幕 | 激情五月婷婷在线 | 97国产一区二区精品久久呦 | 欧美成人激情视频 | 成人网在线 | 国产高清美女一级a毛片久久w | 成人av片在线观看 | 久久久高清 | 黄色大片免费网站 | 国产成人精品午夜 | 九九热免费看 | 九九热在线观看视频 | 国外成人在线视频 | 亚洲高清视频一区二区 | 亚洲视频免费 | 日本福利视频免费观看 | 久久国产精品无码网站 | 国产成人av免费看 | 999热精品| 成年人免费网站 | 久久久久久久久久久爱 | 久久69精品久久久久久国产越南 | 91久久久久 | 国产精品一区二区在线 | 国偷自产av一区二区三区 | 午夜在线电影网 | 国产视频一区二区 | 国产精品一卡二卡三卡 | 色就干|