Re: [Moses-support] Error compiling Moses on Cygwin

2016-08-03 Thread Hieu Hoang
I don't think compile.sh has ever been tested on cygwin.

You may be better off using Linux. Use a virtual machine if you are in
Windows. Many of the Moses components have not been tested on cygwin for
some time now

Hieu Hoang
http://www.hoang.co.uk/hieu

On 3 August 2016 at 08:31, rcm  wrote:

>
> Hello!
>
> I'm trying compile Moses on Cygwin, but I have problems when I run:
>
> ./compile.sh --prefix=/Moses_WF --install-scripts
>
> I have seen the log file (I attach too), so and I have download and
> install Boost in: .\usr\share\boost_1_61_0
>
> but the problem exist...
>
> Can you help me, please?
>
> Regards.
>
>
> ___
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] Error compiling Moses on Cygwin

2016-08-03 Thread rcm


Hello!

I'm trying compile Moses on Cygwin, but I have problems when I run:

./compile.sh --prefix=/Moses_WF --install-scripts

I have seen the log file (I attach too), so and I have download and 
install Boost in: .\usr\share\boost_1_61_0


but the problem exist...

Can you help me, please?

Regards.



build.log.gz
Description: application/gzip
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling Moses on SUSE server

2015-07-03 Thread Hieu Hoang

there seems to be 2 errors.
  1. moses/LM/IRST.cpp:29: error: 'irstlm' is not a namespace-name
- there are different versions of IRSTLM. Make sure you get the 
latest 1 if you have the latest Moses code
  2. phrase-extract/ScoreFeatureTest.cpp:92: error: ISO C++ does not 
include variadic templates
- we've been test new C++11 features. However, this code had 
been rolled back. git pull to get the latest version of Moses and you 
won't see this error anymore


On 02/07/2015 20:07, Fabian Boost wrote:

Hi,

when trying to compile Moses 3.0 I get error messages, which are 
related to multi-threading I think. The command line to compile Moses is:


./bjam --prefix=/q_files/development/moses/moses3/mosesdecoder-master 
--install-scripts=/q_files/development/moses/moses3/mosesdecoder-master/scripts 
--with-irstlm=/q_files/development/moses/irstlm/irstlm-5.80.03 
--with-xmlrpc-c=/q_files/development/moses/xmlrpc/xmlrpc-c-1.25.28 
--with-boost=/q_files/development/moses/boost/boost_1_55_0 
--full-tcmalloc debug-symbols=off --notrace link=static


I attached the build log.
Please help me to compile Moses.

Kind regards,

Fabian Boost


___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


--
Hieu Hoang
Researcher
New York University, Abu Dhabi
http://www.hoang.co.uk/hieu

___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] Error compiling Moses on SUSE server

2015-07-02 Thread Fabian Boost
Hi,

when trying to compile Moses 3.0 I get error messages, which are related to
multi-threading I think. The command line to compile Moses is:

./bjam --prefix=/q_files/development/moses/moses3/mosesdecoder-master
--install-scripts=/q_files/development/moses/moses3/mosesdecoder-master/scripts
--with-irstlm=/q_files/development/moses/irstlm/irstlm-5.80.03
--with-xmlrpc-c=/q_files/development/moses/xmlrpc/xmlrpc-c-1.25.28
--with-boost=/q_files/development/moses/boost/boost_1_55_0 --full-tcmalloc
debug-symbols=off --notrace link=static

I attached the build log.
Please help me to compile Moses.

Kind regards,

Fabian Boost


build.log.gz
Description: GNU Zip compressed data
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] Error compiling Moses

2015-05-21 Thread Marius Oliver Gheorghita
Hi,Please advise about the error that I get when compiling Moses. Thank you 
very much in anticipation,The exact command that I have executed when get this 
error is:
./bjam --with-boost=~/home/pangeanic/MariusMoses//boost_1_58_0 -j8

All the best,Marius Gheorghita


build.log.gz
Description: GNU Zip compressed data
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling Moses

2015-05-21 Thread Barry Haddow

Hi Marius

It looks like you're missing the bz2 package. Try installing libbz2-dev 
(on debian-based systems) or bzip2-devel (rpm-based systems).


You're also using your own boost installation, as opposed to the system 
one. Usually it's easier to use the system one as the correct 
dependencies will be there,


cheers - Barry

On 21/05/15 09:04, Marius Oliver Gheorghita wrote:

Hi,
Please advise about the error that I get when compiling Moses. Thank 
you very much in anticipation,

The exact command that I have executed when get this error is:

./bjam --with-boost=~/home/pangeanic/MariusMoses//boost_1_58_0 -j8

All the best,
Marius Gheorghita


___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling Moses

2015-05-21 Thread Barry Haddow

Hi Marius

 No such file or directory while opening lm/europarl.srilm.gz

This file is missing. Note that you have a relative path, so you have to 
be in the correct directory,


cheers - Barry

On 21/05/15 12:56, Marius Oliver Gheorghita wrote:

Hi Barry,
Thanks again for the previous help. After compiling I have run Moses 
for the first time and I get this error:


Exception: util/file.cc:68 in int util::OpenReadOrThrow(const char*) 
threw ErrnoException because `-1 == (ret = open(name, 00))'.

No such file or directory while opening lm/europarl.srilm.gz

Can you help me to identify the source of error? Thanks so much.
Cheers,
Marius


*From:* Barry Haddow bhad...@staffmail.ed.ac.uk
*To:* Marius Oliver Gheorghita redwir...@yahoo.com; 
moses-support@mit.edu moses-support@mit.edu

*Sent:* Thursday, 21 May 2015, 12:56
*Subject:* Re: [Moses-support] Error compiling Moses

Hi Marius

It looks like you're missing the bz2 package. Try installing 
libbz2-dev (on debian-based systems) or bzip2-devel (rpm-based systems).


You're also using your own boost installation, as opposed to the 
system one. Usually it's easier to use the system one as the correct 
dependencies will be there,


cheers - Barry



On 21/05/15 09:04, Marius Oliver Gheorghita wrote:

Hi,
Please advise about the error that I get when compiling Moses. Thank 
you very much in anticipation,

The exact command that I have executed when get this error is:

./bjam --with-boost=~/home/pangeanic/MariusMoses//boost_1_58_0 -j8

All the best,
Marius Gheorghita


___
Moses-support mailing list
Moses-support@mit.edu  mailto:Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support



The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.




The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling Moses with cmph 2.0

2015-03-14 Thread Muhammad Danial Raza
Thank you, your trick worked
On Mar 13, 2015 6:25 PM, Hieu Hoang hieuho...@gmail.com wrote:

 Try the full path, don't use ~
 On 13 Mar 2015 11:25, Muhammad Danial Raza 
 muhammad.danial.r...@gmail.com wrote:

 I have downloaded cmph-2.0 from sourceforge and have run the run the
 following commands according to its documentation:

- ./configure --prefix=$PWD
- make
- make install

 Now when I compile moses with the following command:

-
- ./bjam --with-boost=~/mosesdecoder-master/boost_1_55_0
--with-cmph=~/mosesdecoder-master/cmph-2.0 -j8

 I receive the error Missing File or Directory: cmph.h. Also I have seen
 that cmph.h is inside the include folder in cmph directory. What am I
 doing wrong here?

 P.S: I am using cygwin to build. The full output file is attached.

 ___
 Moses-support mailing list
 Moses-support@mit.edu
 http://mailman.mit.edu/mailman/listinfo/moses-support


___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] Error compiling Moses with cmph 2.0

2015-03-13 Thread Muhammad Danial Raza
I have downloaded cmph-2.0 from sourceforge and have run the run the
following commands according to its documentation:

   - ./configure --prefix=$PWD
   - make
   - make install

Now when I compile moses with the following command:

   -
   - ./bjam --with-boost=~/mosesdecoder-master/boost_1_55_0
   --with-cmph=~/mosesdecoder-master/cmph-2.0 -j8

I receive the error Missing File or Directory: cmph.h. Also I have seen
that cmph.h is inside the include folder in cmph directory. What am I
doing wrong here?

P.S: I am using cygwin to build. The full output file is attached.
Tip: install tcmalloc for faster threading.  See BUILD-INSTRUCTIONS.txt for 
more information.
Performing configuration checks

- Shared Boost : yes
- Static Boost : no
...patience...
...patience...
...found 5344 targets...
...updating 79 targets...
gcc.compile.c++ 
moses/TranslationModel/CompactPT/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/CmphStringVectorAdapter.o
In file included from 
moses\TranslationModel\CompactPT\CmphStringVectorAdapter.cpp:24:0:
moses\TranslationModel\CompactPT\CmphStringVectorAdapter.h:29:18: fatal error: 
cmph.h: No such file or directory
 #include cmph.h
  ^
compilation terminated.

g++  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -g 
-mthreads  -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_SYSTEM_DYN_LINK 
-DBOOST_THREAD_DYN_DLL -DHAVE_CMPH -DMAX_NUM_FACTORS=4 -DNDEBUG 
-DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -I. 
-Imoses/TranslationModel/CompactPT/~/mosesdecoder-master/cmph-2.0/include 
-Iutil/double-conversion -I~/mosesdecoder-master/boost_1_55_0/include -c -o 
moses\TranslationModel\CompactPT\bin\gcc-4.9.2\release\debug-symbols-on\link-static\threading-multi\CmphStringVectorAdapter.o
 moses\TranslationModel\CompactPT\CmphStringVectorAdapter.cpp

...failed gcc.compile.c++ 
moses/TranslationModel/CompactPT/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/CmphStringVectorAdapter.o...
gcc.compile.c++ 
moses/TranslationModel/CompactPT/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/BlockHashIndex.o
In file included from moses\TranslationModel\CompactPT\BlockHashIndex.cpp:24:0:
moses\TranslationModel\CompactPT\CmphStringVectorAdapter.h:29:18: fatal error: 
cmph.h: No such file or directory
 #include cmph.h
  ^
compilation terminated.

g++  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -g 
-mthreads  -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_SYSTEM_DYN_LINK 
-DBOOST_THREAD_DYN_DLL -DHAVE_CMPH -DMAX_NUM_FACTORS=4 -DNDEBUG 
-DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -I. 
-Imoses/TranslationModel/CompactPT/~/mosesdecoder-master/cmph-2.0/include 
-Iutil/double-conversion -I~/mosesdecoder-master/boost_1_55_0/include -c -o 
moses\TranslationModel\CompactPT\bin\gcc-4.9.2\release\debug-symbols-on\link-static\threading-multi\BlockHashIndex.o
 moses\TranslationModel\CompactPT\BlockHashIndex.cpp

...failed gcc.compile.c++ 
moses/TranslationModel/CompactPT/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/BlockHashIndex.o...
...skipped 
pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multilibmoses.a(clean)
 for lack of 
pmoses/TranslationModel/CompactPT/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multiBlockHashIndex.o...
...skipped 
pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multilibmoses.a
 for lack of 
pmoses/TranslationModel/CompactPT/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multiBlockHashIndex.o...
...skipped 
pmoses-cmd/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multimoses.exe
 for lack of 
pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multilibmoses.a...
...skipped p/home/draza/mosesdecoder-master/binmoses.exe for lack of 
pmoses-cmd/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multimoses.exe...
...skipped 
pmoses-cmd/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multilmbrgrid.exe
 for lack of 
pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multilibmoses.a...
...skipped p/home/draza/mosesdecoder-master/binlmbrgrid.exe for lack of 
pmoses-cmd/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multilmbrgrid.exe...
...skipped 
pmoses-cmd/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multivwtrainer.exe
 for lack of 
pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multilibmoses.a...
...skipped p/home/draza/mosesdecoder-master/binvwtrainer.exe for lack of 
pmoses-cmd/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multivwtrainer.exe...
...skipped 
pOnDiskPt/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multiCreateOnDiskPt.exe
 for lack of 
pmoses/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multilibmoses.a...
...skipped 

Re: [Moses-support] Error compiling Moses with cmph 2.0

2015-03-13 Thread Hieu Hoang
Try the full path, don't use ~
On 13 Mar 2015 11:25, Muhammad Danial Raza muhammad.danial.r...@gmail.com
wrote:

 I have downloaded cmph-2.0 from sourceforge and have run the run the
 following commands according to its documentation:

- ./configure --prefix=$PWD
- make
- make install

 Now when I compile moses with the following command:

-
- ./bjam --with-boost=~/mosesdecoder-master/boost_1_55_0
--with-cmph=~/mosesdecoder-master/cmph-2.0 -j8

 I receive the error Missing File or Directory: cmph.h. Also I have seen
 that cmph.h is inside the include folder in cmph directory. What am I
 doing wrong here?

 P.S: I am using cygwin to build. The full output file is attached.

 ___
 Moses-support mailing list
 Moses-support@mit.edu
 http://mailman.mit.edu/mailman/listinfo/moses-support


___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] Error compiling moses decoder --with-mm

2014-07-30 Thread Sandipan Dandapat
Hi,
I was compiling mosesdecoder with './bjam --with-mm' to use memory-mapped
dynamic suffix array phrase table. The build failed. I am attaching the log
here. Can you please help me to find the problem. The build worked without
--with-mm option.

Thanks and regards,
sandipan


Sandipan Dandapat
Postdoctoral Researcher
CNGL, School of Computing
Dublin City University
Google Scholar Profile:
http://scholar.google.co.in/citations?user=DWD_FiQJhl=en


build.log.gz
Description: GNU Zip compressed data
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling moses decoder --with-mm

2014-07-30 Thread Hieu Hoang
what OS  version are you using? What gcc version are you using? What is
the exact command you used to compile?


On 30 July 2014 14:47, Sandipan Dandapat sandipandanda...@gmail.com wrote:

 Hi,
 I was compiling mosesdecoder with './bjam --with-mm' to use memory-mapped
 dynamic suffix array phrase table. The build failed. I am attaching the log
 here. Can you please help me to find the problem. The build worked without
 --with-mm option.

 Thanks and regards,
 sandipan

 
 Sandipan Dandapat
 Postdoctoral Researcher
 CNGL, School of Computing
 Dublin City University
 Google Scholar Profile:
 http://scholar.google.co.in/citations?user=DWD_FiQJhl=en

 ___
 Moses-support mailing list
 Moses-support@mit.edu
 http://mailman.mit.edu/mailman/listinfo/moses-support




-- 
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling moses decoder --with-mm

2014-07-30 Thread Sandipan Dandapat
I am using Ubuntu14.04 and gcc 4.4.7
I used used ./bjam --with-mm

I found the typename was causing the problem and I changed the
./moses/TranslationModel/UG/mm/ug_bitext.h file

typedef typename boost::unordered_mapuint64_t, jstats trg_map_t;

to
typedef boost::unordered_mapuint64_t, jstats trg_map_t;
and it compiles successfully

More question on Retraining:
1.

 - the word alignment between these files in symal output format

is it the standard format found in alligned.grow-diag-final i.e.

0-0 1-1 2-2 2-3 6-4 3-5 4-5 5-5 6-5 7-6 8-7 9-8
0-0 1-1 2-2 3-3 4-4
...

2. I have normal training and aligned corpus i.e.e train.en, train.fr
andalligned.grow-diag-final. During retraining we need to do the following

   % zcat ${CORPUS}.${L1}.gz  | mtt-build -i -o /some/path/${CORPUS}.${L1}
   % zcat ${CORPUS}.${L2}.gz  | mtt-build -i -o /some/path/${CORPUS}.${L2}
   % zcat ${CORPUS}.${L1}-${L2}.symal.gz | symal2mam
/some/path/${CORPUS}.${L1}-${L2}.mam
   % mmlex-build /some/path/${CORPUS} ${L1} ${L2} -o
/some/path/${CORPUS}.${L1}-${L2}.lex -c
/some/path/${CORPUS}.${L1}-${L2}.coc


  I am unable to understand how ${CORPUS}.${L1}.gz,${CORPUS}.${L1}.gz and
${CORPUS}.${L1}-${L2}.symal.gz files are generated. Or are they refering to
the standard training and alignment files?

Thanks,






Sandipan Dandapat
Postdoctoral Researcher
CNGL, School of Computing
Dublin City University
Google Scholar Profile:
http://scholar.google.co.in/citations?user=DWD_FiQJhl=en


On Wed, Jul 30, 2014 at 4:51 PM, Hieu Hoang hieu.ho...@ed.ac.uk wrote:

 what OS  version are you using? What gcc version are you using? What is
 the exact command you used to compile?


 On 30 July 2014 14:47, Sandipan Dandapat sandipandanda...@gmail.com
 wrote:

 Hi,
 I was compiling mosesdecoder with './bjam --with-mm' to use memory-mapped
 dynamic suffix array phrase table. The build failed. I am attaching the log
 here. Can you please help me to find the problem. The build worked without
 --with-mm option.

 Thanks and regards,
 sandipan

 
 Sandipan Dandapat
 Postdoctoral Researcher
 CNGL, School of Computing
 Dublin City University
 Google Scholar Profile:
 http://scholar.google.co.in/citations?user=DWD_FiQJhl=en

 ___
 Moses-support mailing list
 Moses-support@mit.edu
 http://mailman.mit.edu/mailman/listinfo/moses-support




 --
 Hieu Hoang
 Research Associate
 University of Edinburgh
 http://www.hoang.co.uk/hieu


___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling Moses on Mac

2013-09-17 Thread Nicola Bertoldi
It seems that the  BOOST library libboost_unit_test_framework-mt.dylib is 
missing

I also use a Mac OSX (10.6) with BOOST 1.51, compiled without multithreaded 
support (-mt)
and hence in my BOOST  the library is called
libboost_unit_test_framework.dylib
i.e. without suffix -mt
and the testing phase works properly

Which options you use to compile BOOST?

Maybe it is sufficient you rename the library,
or alternatively you can try to recompile that library without mt support


Nicola



On Sep 16, 2013, at 5:04 PM, f.fancellu wrote:

Hi,
I get the following error when trying to compile Moses:

I ran: ./bjam --with-srilm=/Users/ffancellu/Documents/Moses/srilm

and got the following output:

notice: found boost-build.jam at 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/boost-build.jam
notice: loading Boost.Build from 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/kernel
notice: Searching /etc /Users/ffancellu 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/kernel 
/usr/share/boost-build 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/kernel 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/util 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/build 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/tools 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/contrib 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/. for 
site-config configuration file site-config.jam .
notice: Loading site-config configuration file site-config.jam from 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/site-config.jam 
.
notice: Searching /Users/ffancellu 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/kernel 
/usr/share/boost-build 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/kernel 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/util 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/build 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/tools 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/contrib 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/. for 
user-config configuration file user-config.jam .
notice: Loading user-config configuration file user-config.jam from 
/Users/ffancellu/Documents/Moses/mosesdecoder/share/boost-build/user-config.jam 
.

file /Users/ffancellu/Documents/Moses/mosesdecoder/previous.sh
#!/bin/sh
./bjam --with-srilm=/Users/ffancellu/Documents/Moses/srilm 
--debug-configuration -d2

bash -c g++ -lSegFault -x c++ - 'int main() {}' -o 
/Users/ffancellu/Documents/Moses/mosesdecoder/dummy /dev/null 2/dev/null  
rm /Users/ffancellu/Documents/Moses/mosesdecoder/dummy 2/dev/null
 1
bash -c g++  -lboost_program_options-1_54 -x c++ - 'int main() {}' -o 
/Users/ffancellu/Documents/Moses/mosesdecoder/dummy /dev/null 2/dev/null  
rm /Users/ffancellu/Documents/Moses/mosesdecoder/dummy 2/dev/null
 1
bash -c g++  -static -lboost_program_options -x c++ - 'int main() {}' -o 
/Users/ffancellu/Documents/Moses/mosesdecoder/dummy /dev/null 2/dev/null  
rm /Users/ffancellu/Documents/Moses/mosesdecoder/dummy 2/dev/null
 1
bash -c g++  -lboost_system-mt  -DBOOST_SYSTEM_DYN_LINK -x c++ - 'int 
main() {}' -o /Users/ffancellu/Documents/Moses/mosesdecoder/dummy /dev/null 
2/dev/null  rm /Users/ffancellu/Documents/Moses/mosesdecoder/dummy 
2/dev/null
 0
bash -c g++  -lboost_thread-mt  -DBOOST_THREAD_DYN_DLL -x c++ - 'int main() 
{}' -o /Users/ffancellu/Documents/Moses/mosesdecoder/dummy /dev/null 
2/dev/null  rm /Users/ffancellu/Documents/Moses/mosesdecoder/dummy 
2/dev/null
 0
bash -c g++  -lboost_program_options-mt  -DBOOST_PROGRAM_OPTIONS_DYN_LINK -x 
c++ - 'int main() {}' -o /Users/ffancellu/Documents/Moses/mosesdecoder/dummy 
/dev/null 2/dev/null  rm 
/Users/ffancellu/Documents/Moses/mosesdecoder/dummy 2/dev/null
 0
bash -c g++  -lboost_unit_test_framework-mt  -DBOOST_TEST_MODULE=CompileTest  
-include boost/test/unit_test.hpp  -DBOOST_TEST_DYN_LINK -x c++ - 
'BOOST_AUTO_TEST_CASE(foo) {}' -o 
/Users/ffancellu/Documents/Moses/mosesdecoder/dummy /dev/null 2/dev/null  
rm /Users/ffancellu/Documents/Moses/mosesdecoder/dummy 2/dev/null
 0
bash -c g++  -lboost_iostreams-mt  -DBOOST_IOSTREAMS_DYN_LINK -x c++ - 'int 
main() {}' -o /Users/ffancellu/Documents/Moses/mosesdecoder/dummy /dev/null 
2/dev/null  rm /Users/ffancellu/Documents/Moses/mosesdecoder/dummy 
2/dev/null
 0
bash -c g++  -lboost_filesystem-mt  -DBOOST_FILE_SYSTEM_DYN_LINK -x c++ - 
'int main() {}' -o /Users/ffancellu/Documents/Moses/mosesdecoder/dummy 
/dev/null 2/dev/null  rm 
/Users/ffancellu/Documents/Moses/mosesdecoder/dummy 2/dev/null
 0
bash -c g++  -static -lz -x c++ - 'int main() {}' -o 
/Users/ffancellu/Documents/Moses/mosesdecoder/dummy /dev/null 2/dev/null  
rm /Users/ffancellu/Documents/Moses/mosesdecoder/dummy 2/dev/null
 1
bash -c g++ -ltcmalloc_minimal -x c++ - 'int main() {}' -o 

[Moses-support] Error compiling moses with RandLM

2012-07-13 Thread Mauro Zanotti
Dear all,

I tried to install moses (latest version from repository) with Irstlm and
RandLM but i receive some errors regarding RandLM.

Launching the command ./bjam -a --with-irstlm= /opt/tools/irstlm
--with-randlm=/opt/tools/randlm/ --with-giza=/opt/tools/bin the output
shows this error

...
gcc.compile.c++
moses/src/LM/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/Rand.o
moses/src/LM/Rand.cpp:29:20: error: RandLM.h: File or directory not found
moses/src/LM/Rand.cpp:63: error: randlm was not declared in this scope
moses/src/LM/Rand.cpp:63: error: template argument 1 is invalid
moses/src/LM/Rand.cpp:63: error: template argument 2 is invalid
...

It seems to not found the RandLM.h file.

How can I fix the problem?

Thank you in advance
Mauro
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling moses with RandLM

2012-07-13 Thread Mauro Zanotti
Hi Miles,

I get the same error.

Mauro

On Fri, Jul 13, 2012 at 3:24 PM, Miles Osborne mi...@inf.ed.ac.uk wrote:

 Can you try it again without the trailing slash?

 Miles
 On Jul 13, 2012 2:09 PM, Mauro Zanotti mau.zano...@gmail.com wrote:

 Dear all,

 I tried to install moses (latest version from repository) with Irstlm and
 RandLM but i receive some errors regarding RandLM.

 Launching the command ./bjam -a --with-irstlm= /opt/tools/irstlm
 --with-randlm=/opt/tools/randlm/ --with-giza=/opt/tools/bin the output
 shows this error

 ...
 gcc.compile.c++
 moses/src/LM/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/Rand.o
 moses/src/LM/Rand.cpp:29:20: error: RandLM.h: File or directory not found
 moses/src/LM/Rand.cpp:63: error: randlm was not declared in this scope
 moses/src/LM/Rand.cpp:63: error: template argument 1 is invalid
 moses/src/LM/Rand.cpp:63: error: template argument 2 is invalid
 ...

 It seems to not found the RandLM.h file.

 How can I fix the problem?

 Thank you in advance
 Mauro

 ___
 Moses-support mailing list
 Moses-support@mit.edu
 http://mailman.mit.edu/mailman/listinfo/moses-support


___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling moses with RandLM

2012-07-13 Thread Ales Tamchyna

There is also an extra space: --with-irstlm=here/opt/tools/irstlm.

I don't know if this can cause the error you're reporting though.

Ales Tamchyna

Dne 13.7.2012 09:39, Mauro Zanotti napsal(a):

Hi Miles,

I get the same error.

Mauro

On Fri, Jul 13, 2012 at 3:24 PM, Miles Osborne mi...@inf.ed.ac.uk 
mailto:mi...@inf.ed.ac.uk wrote:


Can you try it again without the trailing slash?

Miles

On Jul 13, 2012 2:09 PM, Mauro Zanotti mau.zano...@gmail.com
mailto:mau.zano...@gmail.com wrote:

Dear all,

I tried to install moses (latest version from repository) with
Irstlm and RandLM but i receive some errors regarding RandLM.

Launching the command ./bjam -a --with-irstlm=
/opt/tools/irstlm --with-randlm=/opt/tools/randlm/
--with-giza=/opt/tools/bin the output shows this error

...
gcc.compile.c++

moses/src/LM/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/Rand.o
moses/src/LM/Rand.cpp:29:20: error: RandLM.h: File or
directory not found
moses/src/LM/Rand.cpp:63: error: randlm was not declared in
this scope
moses/src/LM/Rand.cpp:63: error: template argument 1 is invalid
moses/src/LM/Rand.cpp:63: error: template argument 2 is invalid
...

It seems to not found the RandLM.h file.

How can I fix the problem?

Thank you in advance
Mauro

___
Moses-support mailing list
Moses-support@mit.edu mailto:Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support




___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support



___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling moses with RandLM

2012-07-13 Thread Mauro Zanotti
Hi Ales,

I removed the extra space... I still get the same error.

Mauro

On Fri, Jul 13, 2012 at 3:44 PM,  Ales Tamchyna a.tamch...@gmail.comwrote:

 There is also an extra space: --with-irstlm=here/opt/tools/irstlm

 Ales Tamchyna
 On Jul 13, 2012 2:39 PM, Mauro Zanotti mau.zano...@gmail.com wrote:

 Hi Miles,

 I get the same error.

 Mauro

 On Fri, Jul 13, 2012 at 3:24 PM, Miles Osborne mi...@inf.ed.ac.ukwrote:

 Can you try it again without the trailing slash?

 Miles
 On Jul 13, 2012 2:09 PM, Mauro Zanotti mau.zano...@gmail.com wrote:

 Dear all,

 I tried to install moses (latest version from repository) with Irstlm
 and RandLM but i receive some errors regarding RandLM.

 Launching the command ./bjam -a --with-irstlm= /opt/tools/irstlm
 --with-randlm=/opt/tools/randlm/ --with-giza=/opt/tools/bin the output
 shows this error

 ...
 gcc.compile.c++
 moses/src/LM/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/Rand.o
 moses/src/LM/Rand.cpp:29:20: error: RandLM.h: File or directory not
 found
 moses/src/LM/Rand.cpp:63: error: randlm was not declared in this scope
 moses/src/LM/Rand.cpp:63: error: template argument 1 is invalid
 moses/src/LM/Rand.cpp:63: error: template argument 2 is invalid
 ...

 It seems to not found the RandLM.h file.

 How can I fix the problem?

 Thank you in advance
 Mauro

 ___
 Moses-support mailing list
 Moses-support@mit.edu
 http://mailman.mit.edu/mailman/listinfo/moses-support



___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling moses with RandLM

2012-07-13 Thread Barry Haddow
Hi Mauro

What's actually in /opt/tools/randlm ?

Could you run bjam with -d+2 -q to see where it's looking?

cheers - Barry

On Friday 13 July 2012 15:42:12 Mauro Zanotti wrote:
 Hi Ales,
 
 I removed the extra space... I still get the same error.
 
 Mauro
 
 On Fri, Jul 13, 2012 at 3:44 PM,  Ales Tamchyna a.tamch...@gmail.comwrote:
  There is also an extra space: --with-irstlm=here/opt/tools/irstlm
 
  Ales Tamchyna
 
  On Jul 13, 2012 2:39 PM, Mauro Zanotti mau.zano...@gmail.com wrote:
  Hi Miles,
 
  I get the same error.
 
  Mauro
 
  On Fri, Jul 13, 2012 at 3:24 PM, Miles Osborne mi...@inf.ed.ac.ukwrote:
  Can you try it again without the trailing slash?
 
  Miles
 
  On Jul 13, 2012 2:09 PM, Mauro Zanotti mau.zano...@gmail.com wrote:
  Dear all,
 
  I tried to install moses (latest version from repository) with Irstlm
  and RandLM but i receive some errors regarding RandLM.
 
  Launching the command ./bjam -a --with-irstlm= /opt/tools/irstlm
  --with-randlm=/opt/tools/randlm/ --with-giza=/opt/tools/bin the
  output shows this error
 
  ...
  gcc.compile.c++
  moses/src/LM/bin/gcc-4.4.3/release/debug-symbols-on/link-static/thread
 ing-multi/Rand.o moses/src/LM/Rand.cpp:29:20: error: RandLM.h: File or
  directory not found
  moses/src/LM/Rand.cpp:63: error: randlm was not declared in this
  scope moses/src/LM/Rand.cpp:63: error: template argument 1 is invalid
  moses/src/LM/Rand.cpp:63: error: template argument 2 is invalid ...
 
  It seems to not found the RandLM.h file.
 
  How can I fix the problem?
 
  Thank you in advance
  Mauro
 
  ___
  Moses-support mailing list
  Moses-support@mit.edu
  http://mailman.mit.edu/mailman/listinfo/moses-support
 
 
--
Barry Haddow
University of Edinburgh
+44 (0) 131 651 3173

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling moses with RandLM

2012-07-13 Thread Tom Hoar


Are you installing from svn or tarball? RandLM svn revision 40
compiles into Moses with gcc-4.4.3 fine. I see RandLM revision 41 was
updated 10 days ago, but I haven't tested that. You might try forcing
subversion pull with this: 

svn co -r 40
https://randlm.svn.sourceforge.net/svnroot/randlm/trunk randlm  

Tom


On Fri, 13 Jul 2012 16:42:12 +0200, Mauro Zanotti  wrote:  
 Hi Ales,


I removed the extra space... I still get the same error. 

Mauro

On
Fri, Jul 13, 2012 at 3:44 PM, Ales Tamchyna  wrote:

There is also an
extra space: --with-irstlm=/opt/tools/irstlm  

Ales Tamchyna  

On Jul
13, 2012 2:39 PM, Mauro Zanotti  wrote:

 Hi Miles, 

I get the same
error. 

Mauro

On Fri, Jul 13, 2012 at 3:24 PM, Miles Osborne 
wrote:

Can you try it again without the trailing slash? 

Miles 

On
Jul 13, 2012 2:09 PM, Mauro Zanotti  wrote:

Dear all, 

I tried to
install moses (latest version from repository) with Irstlm and RandLM
but i receive some errors regarding RandLM. 

Launching the command
./bjam -a --with-irstlm= /opt/tools/irstlm
--with-randlm=/opt/tools/randlm/ --with-giza=/opt/tools/bin the output
shows this error 

... 
gcc.compile.c++
moses/src/LM/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/Rand.o

moses/src/LM/Rand.cpp:29:20: error: RandLM.h: File or directory not
found 
moses/src/LM/Rand.cpp:63: error: randlm was not declared in
this scope 
moses/src/LM/Rand.cpp:63: error: template argument 1 is
invalid 
moses/src/LM/Rand.cpp:63: error: template argument 2 is invalid

... 

It seems to not found the RandLM.h file. 

How can I fix the
problem? 

Thank you in advance 
Mauro  
___
 Moses-support mailing
list
Moses-support@mit.edu
[5]
http://mailman.mit.edu/mailman/listinfo/moses-support [6]

 
 

Links:
--
[1] mailto:a.tamch...@gmail.com
[2]
mailto:mau.zano...@gmail.com
[3] mailto:mi...@inf.ed.ac.uk
[4]
mailto:mau.zano...@gmail.com
[5] mailto:Moses-support@mit.edu
[6]
http://mailman.mit.edu/mailman/listinfo/moses-support
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling moses with RandLM

2012-07-13 Thread Mauro Zanotti
Hi Tom,

thank you for the suggestion, i reinstalled RandLM with your instruction
and now, all seems to work fine.

Mauro

On Fri, Jul 13, 2012 at 5:04 PM, Tom Hoar 
tah...@precisiontranslationtools.com wrote:

 Are you installing from svn or tarball? RandLM svn revision 40 compiles
 into Moses with gcc-4.4.3 fine. I see RandLM revision 41 was updated 10
 days ago, but I haven't tested that. You might try forcing subversion pull
 with this:

 svn co -r 40 https://randlm.svn.sourceforge.net/svnroot/randlm/trunkrandlm

 Tom



 On Fri, 13 Jul 2012 16:42:12 +0200, Mauro Zanotti mau.zano...@gmail.com
 wrote:

  Hi Ales,
 I removed the extra space... I still get the same error.
  Mauro

 On Fri, Jul 13, 2012 at 3:44 PM,  Ales Tamchyna a.tamch...@gmail.comwrote:

 There is also an extra space: --with-irstlm=/opt/tools/irstlm

 Ales Tamchyna
   On Jul 13, 2012 2:39 PM, Mauro Zanotti mau.zano...@gmail.com wrote:

 Hi Miles,
 I get the same error.
  Mauro

 On Fri, Jul 13, 2012 at 3:24 PM, Miles Osborne mi...@inf.ed.ac.ukwrote:

 Can you try it again without the trailing slash?

 Miles
  On Jul 13, 2012 2:09 PM, Mauro Zanotti mau.zano...@gmail.com
 wrote:

   Dear all,
  I tried to install moses (latest version from repository) with
 Irstlm and RandLM but i receive some errors regarding RandLM.
  Launching the command ./bjam -a --with-irstlm= /opt/tools/irstlm
 --with-randlm=/opt/tools/randlm/ --with-giza=/opt/tools/bin the output
 shows this error
  ...
 gcc.compile.c++
 moses/src/LM/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/Rand.o
 moses/src/LM/Rand.cpp:29:20: error: RandLM.h: File or directory not
 found
 moses/src/LM/Rand.cpp:63: error: randlm was not declared in this
 scope
 moses/src/LM/Rand.cpp:63: error: template argument 1 is invalid
 moses/src/LM/Rand.cpp:63: error: template argument 2 is invalid
 ...
  It seems to not found the RandLM.h file.
  How can I fix the problem?
  Thank you in advance
 Mauro
  ___
 Moses-support mailing list
 Moses-support@mit.edu
 http://mailman.mit.edu/mailman/listinfo/moses-support


___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] error compiling moses (little endian error ppc64)

2010-11-27 Thread Kenneth Heafield
Ooh a big-endian user.  Guess I'll have to write those routines.  For
now you can comment out the offending #error but don't use kenlm's trie
implementation (the default probing hash table is fine).  It looks like
the switchable endianness on PPC is a choice made by the operating
system and you're running one that chooses big).

On 11/27/10 09:30, Korzec, Sanne wrote:
 Hi,
  
 I've recently succesfully installed srilm on my ppc64 system.
  
 Now I am compiling moses and get the following error in
 moses/kenlm/util/bit_packing.hh
  
 make output:
  
 Making all in kenlm
 make[2]: Entering directory `/gpfs/h07/skorzec/moses/kenlm'
 g++ -DHAVE_CONFIG_H -I. -I..  -W -Wall -ffor-scope
 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -DTRACE_ENABLE=1
 -I/home/skorzec/srilm/include -I/home/skorzec/moses/kenlm  -g -O2 -MT
 trie.o -MD -MP -MF .deps/trie.Tpo -c -o trie.o `test -f 'lm/trie.cc' ||
 echo './'`lm/trie.cc
 In file included from lm/trie.cc:3:
 ./util/bit_packing.hh:16:2: error: #error The bit aligned storage
 functions assume little endian architecture
 make[2]: *** [trie.o] Error 1
 make[2]: Leaving directory `/gpfs/h07/skorzec/moses/kenlm'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/gpfs/h07/skorzec/moses'
 make: *** [all] Error 2
  
 I am not sure how little endian is set on the ppc64 system, is there
 some way to set this specifically?
  
 the bit_packing.hh suggests it is written with 64-bit architecture in
 mind, why then do I get this error. Or why is little endian not set on
 my architecture?
  
 thanks for any help.
  
 Sanne
 
 
 
 ___
 Moses-support mailing list
 Moses-support@mit.edu
 http://mailman.mit.edu/mailman/listinfo/moses-support
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] error compiling moses (little endian error ppc64)

2010-11-27 Thread Kenneth Heafield
Hi Sanne,

Revision 3737 fixes compilation for big endian architectures.
Everything should work for you now.

I'd also like your off-list help testing a better implementation; of
the big-endian machines I have access to, the SPARC throws a bus error
with unaligned 64-bit reads, Linux does little-endian on Itanium, and
running Moses on my MIPS-based wireless router doesn't sound like a good
idea.  A shame we threw out the PA-RISC machines.

Kenneth

On 11/27/10 10:15, Kenneth Heafield wrote:
 Ooh a big-endian user.  Guess I'll have to write those routines.  For
 now you can comment out the offending #error but don't use kenlm's trie
 implementation (the default probing hash table is fine).  It looks like
 the switchable endianness on PPC is a choice made by the operating
 system and you're running one that chooses big).
 
 On 11/27/10 09:30, Korzec, Sanne wrote:
 Hi,
  
 I've recently succesfully installed srilm on my ppc64 system.
  
 Now I am compiling moses and get the following error in
 moses/kenlm/util/bit_packing.hh
  
 make output:
  
 Making all in kenlm
 make[2]: Entering directory `/gpfs/h07/skorzec/moses/kenlm'
 g++ -DHAVE_CONFIG_H -I. -I..  -W -Wall -ffor-scope
 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -DTRACE_ENABLE=1
 -I/home/skorzec/srilm/include -I/home/skorzec/moses/kenlm  -g -O2 -MT
 trie.o -MD -MP -MF .deps/trie.Tpo -c -o trie.o `test -f 'lm/trie.cc' ||
 echo './'`lm/trie.cc
 In file included from lm/trie.cc:3:
 ./util/bit_packing.hh:16:2: error: #error The bit aligned storage
 functions assume little endian architecture
 make[2]: *** [trie.o] Error 1
 make[2]: Leaving directory `/gpfs/h07/skorzec/moses/kenlm'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/gpfs/h07/skorzec/moses'
 make: *** [all] Error 2
  
 I am not sure how little endian is set on the ppc64 system, is there
 some way to set this specifically?
  
 the bit_packing.hh suggests it is written with 64-bit architecture in
 mind, why then do I get this error. Or why is little endian not set on
 my architecture?
  
 thanks for any help.
  
 Sanne



 ___
 Moses-support mailing list
 Moses-support@mit.edu
 http://mailman.mit.edu/mailman/listinfo/moses-support
 ___
 Moses-support mailing list
 Moses-support@mit.edu
 http://mailman.mit.edu/mailman/listinfo/moses-support
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error compiling Moses on md5.cpp

2008-07-29 Thread Anung Ariwibowo
Strangely, after I send this report and trying once more, Moses compiled
successfully on my machine.

I don't know what's really happen. As far as I remember I follow the same
steps as before.

Sorry for any inconvenience.

Anung

On Tue, Jul 29, 2008 at 1:50 PM, Anung Ariwibowo [EMAIL PROTECTED] wrote:

 Hoang, thank you for the newest version. It worked passing through md5
 error I had before, but unfortunately another error comes up, now related to
 SRILM.

 It seems that my srilm installation is not working as expected, since when
 I tried to compile Moses, it can not find symbolic link to library in srilm
 package. It is related with liboolm.a library.

 I have tried to redownload and recompile Srilm and Moses from the first
 step this morning, I still can't figured out what's wrong.

 Regards,
 Anung


 gmake  all-recursive
 gmake[1]: Entering directory `/home/sadm/mosesworkspace/moses'
 Making all in moses/src
 gmake[2]: Entering directory `/home/sadm/mosesworkspace/moses/moses/src'
 gmake[2]: Nothing to be done for `all'.
 gmake[2]: Leaving directory `/home/sadm/mosesworkspace/moses/moses/src'
 Making all in moses-cmd/src
 gmake[2]: Entering directory
 `/home/sadm/mosesworkspace/moses/moses-cmd/src'
 g++  -g -O2  -L/home/sadm/utils/srilm/lib/sparc-elf -o moses  Main.o mbr.o
 IOStream.o TranslationAnalysis.o -L../../moses/src -lmoses -loolm -ldstruct
 -lmisc -lz
 Undefined   first referenced
  symbol in file
 send
 /home/sadm/utils/srilm/lib/sparc-elf/liboolm.a(LM.o)
 __xnet_socket
 /home/sadm/utils/srilm/lib/sparc-elf/liboolm.a(LM.o)
 accept
 /home/sadm/utils/srilm/lib/sparc-elf/liboolm.a(LM.o)
 listen
 /home/sadm/utils/srilm/lib/sparc-elf/liboolm.a(LM.o)
 inet_ntoa
 /home/sadm/utils/srilm/lib/sparc-elf/liboolm.a(LM.o)
 __xnet_bind
 /home/sadm/utils/srilm/lib/sparc-elf/liboolm.a(LM.o)
 ld: fatal: Symbol referencing errors. No output written to moses
 collect2: ld returned 1 exit status
 gmake[2]: *** [moses] Error 1
 gmake[2]: Leaving directory `/home/sadm/mosesworkspace/moses/moses-cmd/src'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/home/sadm/mosesworkspace/moses'
 gmake: *** [all] Error 2



 On Mon, Jul 28, 2008 at 6:11 PM, Hieu Hoang [EMAIL PROTECTED] wrote:

  hi anung

 i'm not sure why it doesn't compile.

 in any case, the md5 functions are no longer used, so i've deleted them
 from the compile.

 do an svn update to get the latest md5-free source code

  --
 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Anung Ariwibowo
 *Sent:* 28 July 2008 10:57
 *To:* Moses-support@mit.edu
 *Cc:* [EMAIL PROTECTED]
 *Subject:* [Moses-support] Error compiling Moses on md5.cpp

  Hi,

 I am doing a machine translation research and interested in using Moses. I
 followed the tutorial on http://www.statmt.org/wmt07/baseline.html, and
 successfully installed giza-pp and mkcls.

 I did ./regenerate-makefiles.sh and ./configure as well. The problem comes
 when I try to compile (the error message is included below).

 Can someone point out what the problem is?

 I am using SunOS 5.10 Generic_118833-24 sun4v sparc SUNW,Sun-Fire-T200,
 with GNU Make version 3.80

 Best regards,
 Anung


 # gmake
 gmake  all-recursive
 gmake[1]: Entering directory `/home/sadm/mosesdecoder'
 Making all in moses/src
 gmake[2]: Entering directory `/home/sadm/mosesdecoder/moses/src'
 if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -I/home/sadm/srilm/include  -g -O2
 -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.cpp; \
 then mv -f .deps/md5.Tpo .deps/md5.Po; else rm -f .deps/md5.Tpo;
 exit 1; fi
 md5.cpp:41: error: variable or field `byteReverse' declared void
 md5.cpp:41: error: `buf' was not declared in this scope
 md5.cpp:41: error: `longs' was not declared in this scope
 md5.cpp:42: error: initializer expression list treated as compound
 expression
 md5.cpp:42: error: expected `,' or `;' before unsigned
 md5.cpp:43: error: expected unqualified-id before '{' token
 md5.cpp:43: error: expected `,' or `;' before '{' token
 md5.cpp: In function `void MD5Update(MD5Context*, unsigned char*, unsigned
 int)':
 md5.cpp:97: error: `byteReverse' cannot be used as a function
 md5.cpp:106: error: `byteReverse' cannot be used as a function
 md5.cpp: In function `void MD5Final(unsigned char*, MD5Context*)':
 md5.cpp:141: error: `byteReverse' cannot be used as a function
 md5.cpp:150: error: `byteReverse' cannot be used as a function
 md5.cpp:157: error: `byteReverse' cannot be used as a function
 gmake[2]: *** [md5.o] Error 1
 gmake[2]: Leaving directory `/home/sadm/mosesdecoder/moses/src'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/home/sadm/mosesdecoder'
 gmake: *** [all] Error 2




 --
 [EMAIL PROTECTED], gmail.com, yahoo.com}
 Visit my Blog @ barliant.blogspot.com




-- 
[EMAIL PROTECTED], gmail.com, yahoo.com}
Visit my Blog

Re: [Moses-support] Error compiling Moses on md5.cpp

2008-07-28 Thread Hieu Hoang
hi anung
 
i'm not sure why it doesn't compile. 
 
in any case, the md5 functions are no longer used, so i've deleted them from
the compile.
 
do an svn update to get the latest md5-free source code

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Anung Ariwibowo
Sent: 28 July 2008 10:57
To: Moses-support@mit.edu
Cc: [EMAIL PROTECTED]
Subject: [Moses-support] Error compiling Moses on md5.cpp


Hi,

I am doing a machine translation research and interested in using Moses. I
followed the tutorial on http://www.statmt.org/wmt07/baseline.html, and
successfully installed giza-pp and mkcls.

I did ./regenerate-makefiles.sh and ./configure as well. The problem comes
when I try to compile (the error message is included below).

Can someone point out what the problem is?

I am using SunOS 5.10 Generic_118833-24 sun4v sparc SUNW,Sun-Fire-T200, with
GNU Make version 3.80

Best regards,
Anung



# gmake
gmake  all-recursive
gmake[1]: Entering directory `/home/sadm/mosesdecoder'
Making all in moses/src
gmake[2]: Entering directory `/home/sadm/mosesdecoder/moses/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -I/home/sadm/srilm/include  -g -O2
-MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.cpp; \
then mv -f .deps/md5.Tpo .deps/md5.Po; else rm -f .deps/md5.Tpo; exit
1; fi
md5.cpp:41: error: variable or field `byteReverse' declared void
md5.cpp:41: error: `buf' was not declared in this scope
md5.cpp:41: error: `longs' was not declared in this scope
md5.cpp:42: error: initializer expression list treated as compound
expression
md5.cpp:42: error: expected `,' or `;' before unsigned
md5.cpp:43: error: expected unqualified-id before '{' token
md5.cpp:43: error: expected `,' or `;' before '{' token
md5.cpp: In function `void MD5Update(MD5Context*, unsigned char*, unsigned
int)':
md5.cpp:97: error: `byteReverse' cannot be used as a function
md5.cpp:106: error: `byteReverse' cannot be used as a function
md5.cpp: In function `void MD5Final(unsigned char*, MD5Context*)':
md5.cpp:141: error: `byteReverse' cannot be used as a function
md5.cpp:150: error: `byteReverse' cannot be used as a function
md5.cpp:157: error: `byteReverse' cannot be used as a function
gmake[2]: *** [md5.o] Error 1
gmake[2]: Leaving directory `/home/sadm/mosesdecoder/moses/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/sadm/mosesdecoder'
gmake: *** [all] Error 2
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support