メイン Installation, Start-Up & License ubuntuでのcmakdでのエラーについて | 投稿するにはまず登録を |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
hirooo | 投稿日時: 2015/12/11 12:05 |
新米 登録日: 2015/9/23 居住地: 投稿: 10 |
ubuntuでのcmakdでのエラーについて Ubuntu12.04LTSでQualnet7.2を使用しております
Guideにそってコンパイルを行ったところ -- Could NOT find TIREM (missing: TIREM_INCLUDE_DIR TIREM_LIBRARY) -- Could NOT find VRLINK (missing: VRLINK_INCLUDE_DIR VRLINK_VLUTIL_LIBRARY VRLINK_VL_LIBRARY VRLINK_MATRIX_LIBRARY VRLINK_MTL_LIBRARY VRLINK_VLDIS_LIBRARY VRLINK_VLHLA13_LIBRARY VRLINK_VLHLA1516_LIBRARY) -- Could NOT find MAKRTI (missing: MAKRTI_INCLUDE_DIR MAKRTI_HLA13_INCLUDE_DIR MAKRTI_HLA1516_INCLUDE_DIR MAKRTI_RTI_NG_LIBRARY MAKRTI_FEDTIME_LIBRARY MAKRTI_RTI1516_LIBRARY MAKRTI_FEDTIME1516_LIBRARY) -- Could NOT find Boost CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-2.8/Modules/FindEXPAT.cmake:30 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) lib/expat/CMakeLists.txt:2 (find_package)や -- Configuring incomplete, errors occurred! のようなエラーが発生します。 しかしEXPATやTIREMなど見つからないと言われているもののフォルダと中身も入っています。 どうしたらcmake . コマンドが動くのでしょうか? |
hiro | 投稿日時: 2015/12/14 13:28 |
長老 登録日: 2005/7/16 居住地: 投稿: 452 |
Re: ubuntuでのcmakdでのエラーについて > のようなエラーが発生します。
を全て見たいです。 > しかしEXPATやTIREMなど見つからないと言われているもののフォルダと中身も入っています。 具体的に、どこにどのようなファイルが入っていますか。 |
hirooo | 投稿日時: 2015/12/14 14:30 |
新米 登録日: 2015/9/23 居住地: 投稿: 10 |
Re: ubuntuでのcmakでのエラーについて -- Could NOT find TIREM (missing: TIREM_INCLUDE_DIR TIREM_LIBRARY)
-- Could NOT find VRLINK (missing: VRLINK_INCLUDE_DIR VRLINK_VLUTIL_LIBRARY VRLINK_VL_LIBRARY VRLINK_MATRIX_LIBRARY VRLINK_MTL_LIBRARY VRLINK_VLDIS_LIBRARY VRLINK_VLHLA13_LIBRARY VRLINK_VLHLA1516_LIBRARY) -- Could NOT find MAKRTI (missing: MAKRTI_INCLUDE_DIR MAKRTI_HLA13_INCLUDE_DIR MAKRTI_HLA1516_INCLUDE_DIR MAKRTI_RTI_NG_LIBRARY MAKRTI_FEDTIME_LIBRARY MAKRTI_RTI1516_LIBRARY MAKRTI_FEDTIME1516_LIBRARY) -- Could NOT find Boost CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-2.8/Modules/FindEXPAT.cmake:30 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) lib/expat/CMakeLists.txt:2 (find_package) -- Configuring incomplete, errors occurred! これがエラー文です TIREMは/proc/2050/cwd/librariesにprop.cppとprop.hとcMAmekefile.txt VRLINKは/proc/2050/cwd/interfacesにoculaとsocket-interface,vrlinkフォルダがあります MAKRTIは/proc/2050/cwd/cmakeにFindMAKRTI.cmakeだけでフォルダはなさそうです EXPATは/proc/2050/cwd/libにcmakefilesフォルダとcmakelists.txtがあります |
hiro | 投稿日時: 2015/12/14 16:55 |
長老 登録日: 2005/7/16 居住地: 投稿: 452 |
Re: ubuntuでのcmakでのエラーについて > Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR)
というのは、OSにEXPATが無い、というエラーです。 QualNet-7.2-ProgrammersGuide.pdf の 2.3.1.1 Expat Development Library に記載してある、 The expat development library is needed to compile QualNet on Linux systems. Install the expat development library from the Linux installation media or download site. Consult your system administrator for help with installing the expat development library. は行われていますか? |
hirooo | 投稿日時: 2015/12/14 17:43 |
新米 登録日: 2015/9/23 居住地: 投稿: 10 |
Re: ubuntuでのcmakでのエラーについて installは行いましたがまだ同じエラー文が出てきます…
なにか設定が必要なのでしょうか? |
hiro | 投稿日時: 2015/12/14 18:08 |
長老 登録日: 2005/7/16 居住地: 投稿: 452 |
Re: ubuntuでのcmakでのエラーについて expat development libraryのinstallが正常であれば、
/usr/include/expat.h を自動的に見つけてくれるはずなんですが... また、ライブラリも64bit環境であれば、 /usr/lib64/libexpat.so などを自動的に見つけてくれるはずなんですが... これらのファイルはありますよね。 cmakeがエラー終了しているので、CMakeCache.txt が中途半端な状態で残ったままとか? ubuntuでは確認していませんが、RHEL(CentOS)では問題なく動きます。 確認用のubuntu環境構築には時間がかかるので返事が遅れると思います。 |
hirooo | 投稿日時: 2015/12/17 14:01 |
新米 登録日: 2015/9/23 居住地: 投稿: 10 |
Re: ubuntuでのcmakでのエラーについて CMakeCache.txtを削除してcmake . を行ったら以下の用になリました。
-- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found glibc version: 2.15 -- Found gcc version: 4.6 -- Found build platform: linux-glibc-2.15-gcc-4.6 -- Could NOT find TIREM (missing: TIREM_INCLUDE_DIR TIREM_LIBRARY) -- Could NOT find VRLINK (missing: VRLINK_INCLUDE_DIR VRLINK_VLUTIL_LIBRARY VRLINK_VL_LIBRARY VRLINK_MATRIX_LIBRARY VRLINK_MTL_LIBRARY VRLINK_VLDIS_LIBRARY VRLINK_VLHLA13_LIBRARY VRLINK_VLHLA1516_LIBRARY) -- Could NOT find MAKRTI (missing: MAKRTI_INCLUDE_DIR MAKRTI_HLA13_INCLUDE_DIR MAKRTI_HLA1516_INCLUDE_DIR MAKRTI_RTI_NG_LIBRARY MAKRTI_FEDTIME_LIBRARY MAKRTI_RTI1516_LIBRARY MAKRTI_FEDTIME1516_LIBRARY) -- Could NOT find Boost CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-2.8/Modules/FindEXPAT.cmake:30 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) lib/expat/CMakeLists.txt:2 (find_package) -- Configuring incomplete, errors occurred! |
hiro | 投稿日時: 2015/12/24 18:21 |
長老 登録日: 2005/7/16 居住地: 投稿: 452 |
Re: ubuntuでのcmakでのエラーについて Ubuntuで試してみました。
きちんとlibexpat-devがインストールされていれば以下のようなファイルがあるはずです。 /usr/lib/x86_64-linux-gnu/libexpat.la /usr/lib/x86_64-linux-gnu/libexpatw.so.1.5.2 /usr/lib/x86_64-linux-gnu/libexpatw.la /usr/lib/x86_64-linux-gnu/libexpat.a /usr/lib/x86_64-linux-gnu/libexpatw.a /usr/include/expat_config.h /usr/include/expat.h /usr/include/expat_external.h cmake も特にエラーなく終了します。 Ubuntu:~/Scalable/qualnet/7.2> cmake . -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found glibc version: 2.15 -- Found gcc version: 4.6 -- Found build platform: linux-x64-glibc-2.15-gcc-4.6 -- Could NOT find TIREM (missing: TIREM_INCLUDE_DIR TIREM_LIBRARY) -- Could NOT find VRLINK (missing: VRLINK_INCLUDE_DIR VRLINK_VLUTIL_LIBRARY VRLINK_VL_LIBRARY VRLINK_MATRIX_LIBRARY VRLINK_MTL_LIBRARY VRLINK_VLDIS_LIBRARY VRLINK_VLHLA13_LIBRARY VRLINK_VLHLA1516_LIBRARY) -- Could NOT find MAKRTI (missing: MAKRTI_INCLUDE_DIR MAKRTI_HLA13_INCLUDE_DIR MAKRTI_HLA1516_INCLUDE_DIR MAKRTI_RTI_NG_LIBRARY MAKRTI_FEDTIME_LIBRARY MAKRTI_RTI1516_LIBRARY MAKRTI_FEDTIME1516_LIBRARY) -- Could NOT find Boost -- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so -- Could NOT find MYSQL (missing: MYSQL_LIBRARY MYSQL_INCLUDE_DIR) -- Found SQLite3: /usr/lib/x86_64-linux-gnu/libsqlite3.so (found version "3.7.9") -- Found Perl: /usr/bin/perl -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- -- The following features have been enabled: * vrlink , Interface to federated simulation * testsuite , Run the regression testsuite with "make test" -- The following OPTIONAL packages have been found: * EXPAT * SQLite3 * Perl -- The following features have been disabled: * tirem , TIREM propagation model * interfacetutorial , Interface tutorial * ctdb , CTDB terrain model * contrib_maodv , Contributed MAODV model * apidocs , Build API documentation with "make apidocs" -- The following OPTIONAL packages have not been found: * TIREM * VRLink * MAKRTI * Boost (required version >= 1.49) * MYSQL * Doxygen -- Configuring done -- Generating done -- Build files have been written to: /home/hiro/Scalable/qualnet/7.2 |
hirooo | 投稿日時: 2015/12/24 18:36 |
新米 登録日: 2015/9/23 居住地: 投稿: 10 |
Re: ubuntuでのcmakでのエラーについて - Found glibc version: 2.15
-- Found gcc version: 4.6 -- Found build platform: linux-glibc-2.15-gcc-4.6 -- Could NOT find TIREM (missing: TIREM_INCLUDE_DIR TIREM_LIBRARY) -- Could NOT find VRLINK (missing: VRLINK_INCLUDE_DIR VRLINK_VLUTIL_LIBRARY VRLINK_VL_LIBRARY VRLINK_MATRIX_LIBRARY VRLINK_MTL_LIBRARY VRLINK_VLDIS_LIBRARY VRLINK_VLHLA13_LIBRARY VRLINK_VLHLA1516_LIBRARY) -- Could NOT find MAKRTI (missing: MAKRTI_INCLUDE_DIR MAKRTI_HLA13_INCLUDE_DIR MAKRTI_HLA1516_INCLUDE_DIR MAKRTI_RTI_NG_LIBRARY MAKRTI_FEDTIME_LIBRARY MAKRTI_RTI1516_LIBRARY MAKRTI_FEDTIME1516_LIBRARY) -- Boost version: 1.49.0 -- Found EXPAT: /usr/lib/i386-linux-gnu/libexpat.so (found version "2.0.1") -- Could NOT find MYSQL (missing: MYSQL_LIBRARY MYSQL_INCLUDE_DIR) -- Could NOT find SQLite3 (missing: SQLite3_LIBRARY SQLite3_INCLUDE_DIR) -- Found Perl: /usr/bin/perl (found version "5.14.2") -- Found Doxygen: /usr/bin/doxygen (found version "1.7.6.1") CMake Error: File /opt/Scalable/qualnet/7.2/Doxyfile_core.in does not exist. CMake Error at CMakeLists.txt:254 (configure_file): configure_file Problem configuring file -- -- The following features have been enabled: * vrlink , Interface to federated simulation * testsuite , Run the regression testsuite with "make test" * apidocs , Build API documentation with "make apidocs" -- The following OPTIONAL packages have been found: * Boost (required version >= 1.49) * Perl * Doxygen -- The following REQUIRED packages have been found: * EXPAT -- The following features have been disabled: * tirem , TIREM propagation model * interfacetutorial , Interface tutorial * ctdb , CTDB terrain model * contrib_maodv , Contributed MAODV model -- The following OPTIONAL packages have not been found: * TIREM * VRLink * MAKRTI * MYSQL * SQLite3 -- Configuring incomplete, errors occurred! 今はこんなエラーです なにがちがうのでしょうか? |
hiro | 投稿日時: 2015/12/24 19:10 |
長老 登録日: 2005/7/16 居住地: 投稿: 452 |
Re: ubuntuでのcmakでのエラーについて ええと、今初めて知ったのですが、libexpatは解決していたのですね。
それから64bitではなく32bit環境なのですね。 |
(1) 2 » |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |