Could you please help me with this issue.

On Tue, Jul 4, 2017 at 2:31 AM, Aniket Pal <[email protected]> wrote:

> Hi ,
>
>
> I am facing some problem during Moses installation. I have installed all
> the other packages using *make -f
> contrib/Makefiles/install-dependencies.gmake*
> this command.
> Here i am attaching some line that occurred during Moses installation.
>
> I have also attached build.log.
>
> Could you please help with this issue.
> Thanks
> Aniket Pal
>
> /Here are some snapshot during installation/
>
> *Include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]*
> *moses/LM/IRST.cpp:356:33: warning: ‘auto_ptr’ is deprecated (declared at
> /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp: At
> global scope:*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:221:36:
> warning: ‘boost::system::posix_category’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:222:36:
> warning: ‘boost::system::errno_ecat’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:223:36:
> warning: ‘boost::system::native_ecat’ defined but not used
> [-Wunused-variable]*
>
> *    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread -I/home/aniket/mosesdecoder/opt/include  -std=c++0x -DHAVE_CMPH
> -DHAVE_XMLRPC_C -DKENLM_MAX_ORDER=6 -DMAX_NUM_FACTORS=4
> -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-2739-gdc42bcb\" -DNDEBUG -DPT_UG
> -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>  -I"." -I"/home/aniket/mosesdecoder/opt/include"
> -I"/home/aniket/mosesdecoder/opt/irstlm-5.80.08/include"
> -I"/home/aniket/mosesdecoder/opt/irstlm-5.80.08/include/irstlm"
> -I"util/double-conversion" -c -o
> "moses/LM/bin/gcc-4.6/release/link-static/threading-multi/IRST.o"
> "moses/LM/IRST.cpp"*
>
> *...failed gcc.compile.c++
> moses/LM/bin/gcc-4.6/release/link-static/threading-multi/IRST.o...*
> *gcc.compile.c++
> search/bin/gcc-4.6/release/link-static/threading-multi/vertex.o*
> *gcc.compile.c++
> moses/bin/gcc-4.6/release/link-static/threading-multi/ChartCellCollection.o*
> *In file included from
> /home/aniket/mosesdecoder/opt/include/boost/exception/detail/exception_ptr.hpp:20:0,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/exception_ptr.hpp:9,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread/exceptional_ptr.hpp:10,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread/future.hpp:25,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread.hpp:24,*
> *                 from ./moses/StaticData.h:37,*
> *                 from moses/FF/InternalTree.h:9,*
> *                 from moses/ChartKBestExtractor.h:25,*
> *                 from moses/ChartManager.h:32,*
> *                 from moses/ChartCellCollection.cpp:25:*
> */home/aniket/mosesdecoder/opt/include/boost/exception/info.hpp: In
> instantiation of ‘boost::error_info<boost::tag_original_exception_type,
> const std::type_info*>’:*
> */home/aniket/mosesdecoder/opt/include/boost/exception/detail/exception_ptr.hpp:95:32:
>   instantiated from here*
> */home/aniket/mosesdecoder/opt/include/boost/exception/info.hpp:66:5:
> error: ‘class boost::error_info<boost::tag_original_exception_type, const
> std::type_info*>’ has no member named ‘value_’*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:221:36:
> warning: ‘boost::system::posix_category’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:222:36:
> warning: ‘boost::system::errno_ecat’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:223:36:
> warning: ‘boost::system::native_ecat’ defined but not used
> [-Wunused-variable]*
>
> *    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread -I/home/aniket/mosesdecoder/opt/include  -std=c++0x -DHAVE_CMPH
> -DHAVE_XMLRPC_C -DKENLM_MAX_ORDER=6 -DLM_IRST -DMAX_NUM_FACTORS=4
> -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-2739-gdc42bcb\" -DNDEBUG -DPT_UG
> -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>  -I"." -I"/home/aniket/mosesdecoder/opt/include" -I"util/double-conversion"
> -c -o
> "moses/bin/gcc-4.6/release/link-static/threading-multi/ChartCellCollection.o"
> "moses/ChartCellCollection.cpp"*
>
> *...failed gcc.compile.c++
> moses/bin/gcc-4.6/release/link-static/threading-multi/ChartCellCollection.o...*
> *gcc.compile.c++
> moses/bin/gcc-4.6/release/link-static/threading-multi/ChartKBestExtractor.o*
> *In file included from
> /home/aniket/mosesdecoder/opt/include/boost/exception/detail/exception_ptr.hpp:20:0,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/exception_ptr.hpp:9,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread/exceptional_ptr.hpp:10,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread/future.hpp:25,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread.hpp:24,*
> *                 from ./moses/StaticData.h:37,*
> *                 from moses/FF/InternalTree.h:9,*
> *                 from moses/ChartKBestExtractor.h:25,*
> *                 from moses/ChartKBestExtractor.cpp:20:*
> */home/aniket/mosesdecoder/opt/include/boost/exception/info.hpp: In
> instantiation of ‘boost::error_info<boost::tag_original_exception_type,
> const std::type_info*>’:*
> */home/aniket/mosesdecoder/opt/include/boost/exception/detail/exception_ptr.hpp:95:32:
>   instantiated from here*
> */home/aniket/mosesdecoder/opt/include/boost/exception/info.hpp:66:5:
> error: ‘class boost::error_info<boost::tag_original_exception_type, const
> std::type_info*>’ has no member named ‘value_’*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:221:36:
> warning: ‘boost::system::posix_category’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:222:36:
> warning: ‘boost::system::errno_ecat’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:223:36:
> warning: ‘boost::system::native_ecat’ defined but not used
> [-Wunused-variable]*
>
> *    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread -I/home/aniket/mosesdecoder/opt/include  -std=c++0x -DHAVE_CMPH
> -DHAVE_XMLRPC_C -DKENLM_MAX_ORDER=6 -DLM_IRST -DMAX_NUM_FACTORS=4
> -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-2739-gdc42bcb\" -DNDEBUG -DPT_UG
> -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>  -I"." -I"/home/aniket/mosesdecoder/opt/include" -I"util/double-conversion"
> -c -o
> "moses/bin/gcc-4.6/release/link-static/threading-multi/ChartKBestExtractor.o"
> "moses/ChartKBestExtractor.cpp"*
>
> *...failed gcc.compile.c++
> moses/bin/gcc-4.6/release/link-static/threading-multi/ChartKBestExtractor.o...*
> *gcc.compile.c++
> moses/bin/gcc-4.6/release/link-static/threading-multi/FactorCollection.o*
> *gcc.compile.c++
> moses/bin/gcc-4.6/release/link-static/threading-multi/FF_Factory.o*
> *In file included from
> /home/aniket/mosesdecoder/opt/include/boost/exception/detail/exception_ptr.hpp:20:0,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/exception_ptr.hpp:9,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread/exceptional_ptr.hpp:10,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread/future.hpp:25,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread.hpp:24,*
> *                 from ./moses/StaticData.h:37,*
> *                 from moses/FF/Factory.cpp:3:*
> */home/aniket/mosesdecoder/opt/include/boost/exception/info.hpp: In
> instantiation of ‘boost::error_info<boost::tag_original_exception_type,
> const std::type_info*>’:*
> */home/aniket/mosesdecoder/opt/include/boost/exception/detail/exception_ptr.hpp:95:32:
>   instantiated from here*
> */home/aniket/mosesdecoder/opt/include/boost/exception/info.hpp:66:5:
> error: ‘class boost::error_info<boost::tag_original_exception_type, const
> std::type_info*>’ has no member named ‘value_’*
> *In file included from ./moses/TranslationTask.h:8:0,*
> *                 from ./moses/TranslationModel/UG/mm/ug_bitext.h:47,*
> *                 from ./moses/TranslationModel/UG/mmsapt.h:23,*
> *                 from
> ./moses/TranslationModel/PhraseDictionaryGroup.h:36,*
> *                 from moses/FF/Factory.cpp:9:*
> *./moses/IOWrapper.h:101:41: warning: ‘auto_ptr’ is deprecated (declared
> at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]*
> *./moses/IOWrapper.h:102:41: warning: ‘auto_ptr’ is deprecated (declared
> at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]*
> *./moses/IOWrapper.h:103:41: warning: ‘auto_ptr’ is deprecated (declared
> at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]*
> *./moses/IOWrapper.h:104:41: warning: ‘auto_ptr’ is deprecated (declared
> at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]*
> *./moses/IOWrapper.h:105:41: warning: ‘auto_ptr’ is deprecated (declared
> at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]*
> *./moses/IOWrapper.h:106:41: warning: ‘auto_ptr’ is deprecated (declared
> at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]*
> *./moses/IOWrapper.h:107:41: warning: ‘auto_ptr’ is deprecated (declared
> at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]*
> *./moses/IOWrapper.h:108:41: warning: ‘auto_ptr’ is deprecated (declared
> at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]*
> *In file included from ./moses/TranslationTask.h:10:0,*
> *                 from ./moses/TranslationModel/UG/mm/ug_bitext.h:47,*
> *                 from ./moses/TranslationModel/UG/mmsapt.h:23,*
> *                 from
> ./moses/TranslationModel/PhraseDictionaryGroup.h:36,*
> *                 from moses/FF/Factory.cpp:9:*
> *./moses/ChartManager.h:48:32: warning: ‘auto_ptr’ is deprecated (declared
> at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]*
> */home/aniket/mosesdecoder/opt/include/boost/asio/error.hpp:258:45:
> warning: ‘boost::asio::error::system_category’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/asio/error.hpp:260:45:
> warning: ‘boost::asio::error::netdb_category’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/asio/error.hpp:262:45:
> warning: ‘boost::asio::error::addrinfo_category’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/asio/error.hpp:264:45:
> warning: ‘boost::asio::error::misc_category’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:221:36:
> warning: ‘boost::system::posix_category’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:222:36:
> warning: ‘boost::system::errno_ecat’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:223:36:
> warning: ‘boost::system::native_ecat’ defined but not used
> [-Wunused-variable]*
>
> *    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread -I/home/aniket/mosesdecoder/opt/include  -std=c++0x -DHAVE_CMPH
> -DHAVE_XMLRPC_C -DKENLM_MAX_ORDER=6 -DLM_IRST -DMAX_NUM_FACTORS=4
> -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-2739-gdc42bcb\" -DNDEBUG -DPT_UG
> -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>  -I"." -I"/home/aniket/mosesdecoder/opt/include" -I"util/double-conversion"
> -c -o "moses/bin/gcc-4.6/release/link-static/threading-multi/FF_Factory.o"
> "moses/FF/Factory.cpp"*
>
> *...failed gcc.compile.c++
> moses/bin/gcc-4.6/release/link-static/threading-multi/FF_Factory.o...*
> *gcc.compile.c++
> moses/bin/gcc-4.6/release/link-static/threading-multi/HypergraphOutput.o*
> *--In file included from
> /home/aniket/mosesdecoder/opt/include/boost/exception/detail/exception_ptr.hpp:20:0,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/exception_ptr.hpp:9,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread/exceptional_ptr.hpp:10,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread/future.hpp:25,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread.hpp:24,*
> *                 from ./moses/StaticData.h:37,*
> *                 from moses/FF/InternalTree.h:9,*
> *                 from moses/ChartKBestExtractor.h:25,*
> *                 from moses/ChartManager.h:32,*
> *                 from moses/HypergraphOutput.cpp:38:*
> */home/aniket/mosesdecoder/opt/include/boost/exception/info.hpp: In
> instantiation of ‘boost::error_info<boost::tag_original_exception_type,
> const std::type_info*>’:*
> */home/aniket/mosesdecoder/opt/include/boost/exception/detail/exception_ptr.hpp:95:32:
>   instantiated from here*
> */home/aniket/mosesdecoder/opt/include/boost/exception/info.hpp:66:5:
> error: ‘class boost::error_info<boost::tag_original_exception_type, const
> std::type_info*>’ has no member named ‘value_’*
> *In file included from moses/HypergraphOutput.cpp:40:0:*
> *moses/Manager.h:120:32: warning: ‘auto_ptr’ is deprecated (declared at
> /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:221:36:
> warning: ‘boost::system::posix_category’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:222:36:
> warning: ‘boost::system::errno_ecat’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:223:36:
> warning: ‘boost::system::native_ecat’ defined but not used
> [-Wunused-variable]*
>
> *    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread -I/home/aniket/mosesdecoder/opt/include  -std=c++0x -DHAVE_CMPH
> -DHAVE_XMLRPC_C -DKENLM_MAX_ORDER=6 -DLM_IRST -DMAX_NUM_FACTORS=4
> -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-2739-gdc42bcb\" -DNDEBUG -DPT_UG
> -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>  -I"." -I"/home/aniket/mosesdecoder/opt/include" -I"util/double-conversion"
> -c -o
> "moses/bin/gcc-4.6/release/link-static/threading-multi/HypergraphOutput.o"
> "moses/HypergraphOutput.cpp"*
>
> *...failed gcc.compile.c++
> moses/bin/gcc-4.6/release/link-static/threading-multi/HypergraphOutput.o...*
> *^Agcc.compile.c++
> moses/bin/gcc-4.6/release/link-static/threading-multi/LatticeMBR.o*
> *In file included from
> /home/aniket/mosesdecoder/opt/include/boost/exception/detail/exception_ptr.hpp:20:0,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/exception_ptr.hpp:9,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread/exceptional_ptr.hpp:10,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread/future.hpp:25,*
> *                 from
> /home/aniket/mosesdecoder/opt/include/boost/thread.hpp:24,*
> *                 from ./moses/StaticData.h:37,*
> *                 from ./moses/Manager.h:29,*
> *                 from moses/LatticeMBR.h:17,*
> *                 from moses/LatticeMBR.cpp:10:*
> */home/aniket/mosesdecoder/opt/include/boost/exception/info.hpp: In
> instantiation of ‘boost::error_info<boost::tag_original_exception_type,
> const std::type_info*>’:*
> */home/aniket/mosesdecoder/opt/include/boost/exception/detail/exception_ptr.hpp:95:32:
>   instantiated from here*
> */home/aniket/mosesdecoder/opt/include/boost/exception/info.hpp:66:5:
> error: ‘class boost::error_info<boost::tag_original_exception_type, const
> std::type_info*>’ has no member named ‘value_’*
> *moses/LatticeMBR.cpp: In function ‘const Moses::TrellisPath
> Moses::doConsensusDecoding(const Moses::Manager&, const
> Moses::TrellisPathList&)’:*
> *moses/LatticeMBR.cpp:572:21: warning: unused variable ‘staticData’
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp: At
> global scope:*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:221:36:
> warning: ‘boost::system::posix_category’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:222:36:
> warning: ‘boost::system::errno_ecat’ defined but not used
> [-Wunused-variable]*
> */home/aniket/mosesdecoder/opt/include/boost/system/error_code.hpp:223:36:
> warning: ‘boost::system::native_ecat’ defined but not used
> [-Wunused-variable]*
>
> *    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread -I/home/aniket/mosesdecoder/opt/include  -std=c++0x -DHAVE_CMPH
> -DHAVE_XMLRPC_C -DKENLM_MAX_ORDER=6 -DLM_IRST -DMAX_NUM_FACTORS=4
> -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-2739-gdc42bcb\" -DNDEBUG -DPT_UG
> -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>  -I"." -I"/home/aniket/mosesdecoder/opt/include" -I"util/double-conversion"
> -c -o "moses/bin/gcc-4.6/release/link-static/threading-multi/LatticeMBR.o"
> "moses/LatticeMBR.cpp"*
>
> *...failed gcc.compile.c++
> moses/bin/gcc-4.6/release/link-static/threading-multi/LatticeMBR.o...*
> *gcc.compile.c++
> moses/bin/gcc-4.6/release/link-static/threading-multi/Bitmap.o*
> *gcc.compile.c++
> moses/bin/gcc-4.6/release/link-static/threading-multi/TranslationOptionCollectionConfusionNet.o*
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to