Hi all,

I'm following the steps on this website to install the HEAD version of
moses on a CentOS
http://www.statmt.org/moses/?n=Development.GetStarted

$ cat /etc/issue

CentOS release 6.7 (Final)

Kernel \r on an \m

$ gcc -v

Using built-in specs.

Target: x86_64-redhat-linux

Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux

Thread model: posix

gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)


When attempting to compile using compile.sh, I get the following error:

    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-pthread -I/n/w10-nruiz/mosesdecoder/opt/include
-DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_SYSTEM_DYN_LINK
-DBOOST_THREAD_DYN_DLL -DHAVE_CMPH -DHAVE_PROBINGPT -DHAVE_XMLRPC_C
-DKENLM_MAX_ORDER=6 -DLM_IRST -DMAX_NUM_FACTORS=4 -DNDEBUG -DPT_UG
-DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I"." -I"moses/TranslationModel/CompactPT/opt/include" -I"opt/include"
-I"util/double-conversion" -c -o
"moses/TranslationModel/UG/bin/gcc-4.4.7/release/link-static/threading-multi/count-ptable-features.o"
"moses/TranslationModel/UG/count-ptable-features.cc"


...failed gcc.compile.c++
moses/TranslationModel/UG/bin/gcc-4.4.7/release/link-static/threading-multi/count-ptable-features.o...

gcc.compile.c++
moses/TranslationModel/UG/bin/gcc-4.4.7/release/link-static/threading-multi/ptable-describe-features.o

In file included from
/n/w10-nruiz/mosesdecoder/opt/include/boost/intrusive_ptr.hpp:16,

                 from moses/TranslationModel/UG/mmsapt.h:9,

                 from
moses/TranslationModel/UG/ptable-describe-features.cc:2:

/n/w10-nruiz/mosesdecoder/opt/include/boost/smart_ptr/intrusive_ptr.hpp: In
destructor ‘boost::intrusive_ptr<T>::~intrusive_ptr() [with T =
sapt::mmBitext<sapt::L2R_Token<sapt::SimpleWordId> >]’:

moses/TranslationModel/UG/mmsapt.h:56:   instantiated from here

/n/w10-nruiz/mosesdecoder/opt/include/boost/smart_ptr/intrusive_ptr.hpp:97:
error: ‘intrusive_ptr_release’ was not declared in this scope

I installed boost to ./opt using the instructions listed on the above site.
I'm able to compile just fine following the instructions on my MacBook Pro
(obviously different architecture). Any ideas why this might be happening?

Thanks,

Nick Ruiz
zınɹ ʞɔıu
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to