Re: [Moses-support] Error While Compiling Moses

2021-01-31 Thread Marwa Gaser
I managed to solve the problem by updating the boost version used to 1_64_0
This resulted in a SUCCESS status!


On Sat, 30 Jan 2021 at 14:26, Marwa Gaser  wrote:

> Now when I tried to compile mosesdecoder with boost, cmph, xmlrpc, and
> irstlm using the below command on windows *wsl*:
>
>  ./bjam --with-boost=/c/Users/HP/SMT_trial1/boost_1_55_0
> --with-cmph=/c/Users/HP/SMT_trial1/cmph-2.0
> --with-irstlm=/c/Users/HP/SMT_trial1/irstlm-5.80.08
> --with-xmlrpc-c=/c/Users/HP/SMT_trial1/xmlrpc-c-1.33.14 -j7
>
> I got the error attached. Is that because of the difference in file ending
> in linux and windows?
>
> On Fri, 29 Jan 2021 at 16:10, Hieu Hoang  wrote:
>
>> the unit tests are failing, but the compile seems to have succeeded.
>>
>> I get a similar error compiling on a WSL2 environment but i know the
>> compile itself has succeeded:
>>
>> No such file or directory in
>> /mnt/c/Users/hihoan/workspace/github/mosesdecoder/test.binaryDlFBwO
>> (deleted) while resizing to 0 bytes Byte: 62
>>
>> This is because the Windows file system doesn't support some reporting
>> functionality,
>>
>> Check that your disk is not full, check that bin/moses exists. If it
>> does, then just ignore the unit test errors.
>>
>>
>> On Fri Jan 29, 21 12:12 AM, Marwa Gaser wrote:
>>
>> Dear Moses Support Team,
>>
>> I am using *wsl *on windows to run mosesdecoder for the first time.
>>
>> What I did is that I cloned the mosesdecoder repo. Then I opened the cmd
>> inside the mosesdecoder repo and ran the following command *bjam -j4 
>> *However,
>> I got the error attached in the file.
>>
>> Thank you in advance.
>>
>> Respectfully,
>> Marwa
>>
>> ___
>> Moses-support mailing 
>> listMoses-support@mit.eduhttp://mailman.mit.edu/mailman/listinfo/moses-support
>>
>> --
>> Hieu Hoanghttp://statmt.org/hieu
>>
>>
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error While Compiling Moses

2021-01-30 Thread Marwa Gaser
Now when I tried to compile mosesdecoder with boost, cmph, xmlrpc, and
irstlm using the below command on windows *wsl*:

 ./bjam --with-boost=/c/Users/HP/SMT_trial1/boost_1_55_0
--with-cmph=/c/Users/HP/SMT_trial1/cmph-2.0
--with-irstlm=/c/Users/HP/SMT_trial1/irstlm-5.80.08
--with-xmlrpc-c=/c/Users/HP/SMT_trial1/xmlrpc-c-1.33.14 -j7

I got the error attached. Is that because of the difference in file ending
in linux and windows?

On Fri, 29 Jan 2021 at 16:10, Hieu Hoang  wrote:

> the unit tests are failing, but the compile seems to have succeeded.
>
> I get a similar error compiling on a WSL2 environment but i know the
> compile itself has succeeded:
>
> No such file or directory in
> /mnt/c/Users/hihoan/workspace/github/mosesdecoder/test.binaryDlFBwO
> (deleted) while resizing to 0 bytes Byte: 62
>
> This is because the Windows file system doesn't support some reporting
> functionality,
>
> Check that your disk is not full, check that bin/moses exists. If it does,
> then just ignore the unit test errors.
>
>
> On Fri Jan 29, 21 12:12 AM, Marwa Gaser wrote:
>
> Dear Moses Support Team,
>
> I am using *wsl *on windows to run mosesdecoder for the first time.
>
> What I did is that I cloned the mosesdecoder repo. Then I opened the cmd
> inside the mosesdecoder repo and ran the following command *bjam -j4 *However,
> I got the error attached in the file.
>
> Thank you in advance.
>
> Respectfully,
> Marwa
>
> ___
> Moses-support mailing 
> listMoses-support@mit.eduhttp://mailman.mit.edu/mailman/listinfo/moses-support
>
> --
> Hieu Hoanghttp://statmt.org/hieu
>
>


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 While Compiling Moses

2021-01-29 Thread Hieu Hoang

the unit tests are failing, but the compile seems to have succeeded.

I get a similar error compiling on a WSL2 environment but i know the 
compile itself has succeeded:


No such file or directory in 
/mnt/c/Users/hihoan/workspace/github/mosesdecoder/test.binaryDlFBwO 
(deleted) while resizing to 0 bytes Byte: 62


This is because the Windows file system doesn't support some reporting 
functionality,


Check that your disk is not full, check that bin/moses exists. If it 
does, then just ignore the unit test errors.



On Fri Jan 29, 21 12:12 AM, Marwa Gaser wrote:

Dear Moses Support Team,

I am using *wsl *on windows to run mosesdecoder for the first time.

What I did is that I cloned the mosesdecoder repo. Then I opened the 
cmd inside the mosesdecoder repo and ran the following command /*bjam 
-j4* /However, I got the error attached in the file.


Thank you in advance.

Respectfully,
Marwa

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


--
Hieu Hoang
http://statmt.org/hieu

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


[Moses-support] Error While Compiling Moses

2021-01-29 Thread Marwa Gaser
Dear Moses Support Team,

I am using *wsl *on windows to run mosesdecoder for the first time.

What I did is that I cloned the mosesdecoder repo. Then I opened the cmd
inside the mosesdecoder repo and ran the following command *bjam -j4 *However,
I got the error attached in the file.

Thank you in advance.

Respectfully,
Marwa


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 while compiling moses with boost using bjam

2016-08-04 Thread Kenneth Heafield
Hi Tarun,

Does this command succeed?

exec bash
g++ -include zlib.h -lz -x c++ - <<<'int main() {}'

If no, then you have not installed zlib as instructed on
https://kheafield.com/code/kenlm/dependencies/ .  Learn how environment
variables work.  Read what the PATH, CPATH, LIBRARY_PATH, and
LD_LIBRARY_PATH variables do.

If yes and Moses doesn't compile then it's a Moses issue.

Kenneth

On 08/04/2016 11:49 AM, Tarun Guntuka wrote:
> Hi Experts,
> 
> My build is failing even when I installed zlib and bzip2 as instructed.
> When i am compiling moses using bjam using ./bjam
> --with-irstlm=/home/tarun/Documents/tools/irstlm
> --with-giza=/home/tarun/Documents/tools/bin
> --with-boost=/home/tarun/Documents/tools/moses/boost_1_55_0 
> 
> Even then the build is failing. Can you please help on this.
> 
> On Wed, Aug 3, 2016 at 4:27 PM, Tarun Guntuka  > wrote:
> 
> Hi,
> 
> Even after downloading and moving it to moses. The same error comes
> while compiling.
> 
> On Wed, Aug 3, 2016 at 3:50 PM, Tarun Guntuka  > wrote:
> 
> Hi Kenneth,
> 
> Thanks for letting me know. I will try and get back if there are
> any other problems.
> 
> On Wed, Aug 3, 2016 at 3:31 PM, Kenneth Heafield
> > wrote:
> 
> You need to install zlib first, including any development
> version of
> zlib.  Further,I suspect your Boost installation is
> incomplete if you
> didn't install zlib first.
> 
> https://kheafield.com/code/kenlm/dependencies/
> 
> Kenneth
> 
> On 08/03/2016 10:51 AM, Tarun Guntuka wrote:
> > Hi Experts,
> >
> > I could really use the help here as I am getting error
> with compiling
> > moses. The following is the error.
> >
> > /bjam
> --with-boost=/home/tarun/Documents/tools/boost_1_55_0 -j8
> >
> > Tip: install tcmalloc for faster threading.  See
> BUILD-INSTRUCTIONS.txt
> > for more information.
> >
> > NOT BUILDING MOSES SERVER!
> >
> > Performing configuration checks
> >
> >
> > - Shared Boost : no
> >
> > - Static Boost : yes
> >
> > ...patience...
> >
> > ...patience...
> >
> > ...patience...
> >
> > ...patience...
> >
> > ...found 12003 targets...
> >
> > ...updating 215 targets...
> >
> > gcc.compile.c++
> >
> mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o
> >
> > In file included from mert/GzFileBuf.cpp:1:0:
> >
> > mert/GzFileBuf.h:5:18: fatal error: zlib.h: No such file
> or directory
> >
> >  #include 
> >
> >   ^
> >
> > compilation terminated.
> >
> >
> > "g++"  -ftemplate-depth-128 -O3 -finline-functions
> -Wno-inline -Wall
> > -pthread  -DKENLM_MAX_ORDER=6
> > -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
> > -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES
> > -I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
> > -I"util/double-conversion" -c -o
> >
> 
> "mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o"
> > "mert/GzFileBuf.cpp"
> >
> >
> > ...failed gcc.compile.c++
> >
> 
> mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o...
> >
> > gcc.compile.c++
> >
> 
> moses/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o
> >
> > In file included from moses/InputFileStream.cpp:23:0:
> >
> > moses/gzfilebuf.h:6:18: fatal error: zlib.h: No such file
> or directory
> >
> >  #include 
> >
> >   ^
> >
> > compilation terminated.
> >
> >
> > "g++"  -ftemplate-depth-128 -O3 -finline-functions
> -Wno-inline -Wall
> > -pthread  -DKENLM_MAX_ORDER=6 -DMAX_NUM_FACTORS=4
> > -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
> > -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64
> 

Re: [Moses-support] Error while compiling moses with boost using bjam

2016-08-04 Thread Tarun Guntuka
Hi Experts,

My build is failing even when I installed zlib and bzip2 as instructed.
When i am compiling moses using bjam using ./bjam
--with-irstlm=/home/tarun/Documents/tools/irstlm
--with-giza=/home/tarun/Documents/tools/bin
--with-boost=/home/tarun/Documents/tools/moses/boost_1_55_0

Even then the build is failing. Can you please help on this.

On Wed, Aug 3, 2016 at 4:27 PM, Tarun Guntuka  wrote:

> Hi,
>
> Even after downloading and moving it to moses. The same error comes while
> compiling.
>
> On Wed, Aug 3, 2016 at 3:50 PM, Tarun Guntuka  wrote:
>
>> Hi Kenneth,
>>
>> Thanks for letting me know. I will try and get back if there are any
>> other problems.
>>
>> On Wed, Aug 3, 2016 at 3:31 PM, Kenneth Heafield 
>> wrote:
>>
>>> You need to install zlib first, including any development version of
>>> zlib.  Further,I suspect your Boost installation is incomplete if you
>>> didn't install zlib first.
>>>
>>> https://kheafield.com/code/kenlm/dependencies/
>>>
>>> Kenneth
>>>
>>> On 08/03/2016 10:51 AM, Tarun Guntuka wrote:
>>> > Hi Experts,
>>> >
>>> > I could really use the help here as I am getting error with compiling
>>> > moses. The following is the error.
>>> >
>>> > /bjam --with-boost=/home/tarun/Documents/tools/boost_1_55_0 -j8
>>> >
>>> > Tip: install tcmalloc for faster threading.  See BUILD-INSTRUCTIONS.txt
>>> > for more information.
>>> >
>>> > NOT BUILDING MOSES SERVER!
>>> >
>>> > Performing configuration checks
>>> >
>>> >
>>> > - Shared Boost : no
>>> >
>>> > - Static Boost : yes
>>> >
>>> > ...patience...
>>> >
>>> > ...patience...
>>> >
>>> > ...patience...
>>> >
>>> > ...patience...
>>> >
>>> > ...found 12003 targets...
>>> >
>>> > ...updating 215 targets...
>>> >
>>> > gcc.compile.c++
>>> > mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o
>>> >
>>> > In file included from mert/GzFileBuf.cpp:1:0:
>>> >
>>> > mert/GzFileBuf.h:5:18: fatal error: zlib.h: No such file or directory
>>> >
>>> >  #include 
>>> >
>>> >   ^
>>> >
>>> > compilation terminated.
>>> >
>>> >
>>> > "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline
>>> -Wall
>>> > -pthread  -DKENLM_MAX_ORDER=6
>>> > -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
>>> > -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>>> > -I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
>>> > -I"util/double-conversion" -c -o
>>> > "mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o"
>>> > "mert/GzFileBuf.cpp"
>>> >
>>> >
>>> > ...failed gcc.compile.c++
>>> > mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o...
>>> >
>>> > gcc.compile.c++
>>> >
>>> moses/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o
>>> >
>>> > In file included from moses/InputFileStream.cpp:23:0:
>>> >
>>> > moses/gzfilebuf.h:6:18: fatal error: zlib.h: No such file or directory
>>> >
>>> >  #include 
>>> >
>>> >   ^
>>> >
>>> > compilation terminated.
>>> >
>>> >
>>> > "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline
>>> -Wall
>>> > -pthread  -DKENLM_MAX_ORDER=6 -DMAX_NUM_FACTORS=4
>>> > -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
>>> > -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>>> > -I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
>>> > -I"util/double-conversion" -c -o
>>> >
>>> "moses/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o"
>>> > "moses/InputFileStream.cpp"
>>> >
>>> >
>>> > ...failed gcc.compile.c++
>>> >
>>> moses/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o...
>>> >
>>> > gcc.compile.c++
>>> > mert/bin/gcc-4.8.5/release/link-static/threading-multi/FileStream.o
>>> >
>>> > In file included from mert/FileStream.cpp:4:0:
>>> >
>>> > mert/GzFileBuf.h:5:18: fatal error: zlib.h: No such file or directory
>>> >
>>> >  #include 
>>> >
>>> >   ^
>>> >
>>> > compilation terminated.
>>> >
>>> >
>>> > "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline
>>> -Wall
>>> > -pthread  -DKENLM_MAX_ORDER=6
>>> > -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
>>> > -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>>> > -I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
>>> > -I"util/double-conversion" -c -o
>>> > "mert/bin/gcc-4.8.5/release/link-static/threading-multi/FileStream.o"
>>> > "mert/FileStream.cpp"
>>> >
>>> >
>>> > ...failed gcc.compile.c++
>>> > mert/bin/gcc-4.8.5/release/link-static/threading-multi/FileStream.o...
>>> >
>>> > gcc.compile.c++
>>> >
>>> phrase-extract/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o
>>> >
>>> > In file included from phrase-extract/InputFileStream.cpp:23:0:
>>> >
>>> > phrase-extract/gzfilebuf.h:6:18: fatal error: zlib.h: No such file or
>>> > directory
>>> >
>>> >  #include 
>>> >
>>> 

Re: [Moses-support] Error while compiling moses with boost using bjam

2016-08-03 Thread Tarun Guntuka
Hi Kenneth,

Thanks for letting me know. I will try and get back if there are any other
problems.

On Wed, Aug 3, 2016 at 3:31 PM, Kenneth Heafield 
wrote:

> You need to install zlib first, including any development version of
> zlib.  Further,I suspect your Boost installation is incomplete if you
> didn't install zlib first.
>
> https://kheafield.com/code/kenlm/dependencies/
>
> Kenneth
>
> On 08/03/2016 10:51 AM, Tarun Guntuka wrote:
> > Hi Experts,
> >
> > I could really use the help here as I am getting error with compiling
> > moses. The following is the error.
> >
> > /bjam --with-boost=/home/tarun/Documents/tools/boost_1_55_0 -j8
> >
> > Tip: install tcmalloc for faster threading.  See BUILD-INSTRUCTIONS.txt
> > for more information.
> >
> > NOT BUILDING MOSES SERVER!
> >
> > Performing configuration checks
> >
> >
> > - Shared Boost : no
> >
> > - Static Boost : yes
> >
> > ...patience...
> >
> > ...patience...
> >
> > ...patience...
> >
> > ...patience...
> >
> > ...found 12003 targets...
> >
> > ...updating 215 targets...
> >
> > gcc.compile.c++
> > mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o
> >
> > In file included from mert/GzFileBuf.cpp:1:0:
> >
> > mert/GzFileBuf.h:5:18: fatal error: zlib.h: No such file or directory
> >
> >  #include 
> >
> >   ^
> >
> > compilation terminated.
> >
> >
> > "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> > -pthread  -DKENLM_MAX_ORDER=6
> > -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
> > -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> > -I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
> > -I"util/double-conversion" -c -o
> > "mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o"
> > "mert/GzFileBuf.cpp"
> >
> >
> > ...failed gcc.compile.c++
> > mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o...
> >
> > gcc.compile.c++
> > moses/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o
> >
> > In file included from moses/InputFileStream.cpp:23:0:
> >
> > moses/gzfilebuf.h:6:18: fatal error: zlib.h: No such file or directory
> >
> >  #include 
> >
> >   ^
> >
> > compilation terminated.
> >
> >
> > "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> > -pthread  -DKENLM_MAX_ORDER=6 -DMAX_NUM_FACTORS=4
> > -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
> > -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> > -I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
> > -I"util/double-conversion" -c -o
> >
> "moses/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o"
> > "moses/InputFileStream.cpp"
> >
> >
> > ...failed gcc.compile.c++
> >
> moses/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o...
> >
> > gcc.compile.c++
> > mert/bin/gcc-4.8.5/release/link-static/threading-multi/FileStream.o
> >
> > In file included from mert/FileStream.cpp:4:0:
> >
> > mert/GzFileBuf.h:5:18: fatal error: zlib.h: No such file or directory
> >
> >  #include 
> >
> >   ^
> >
> > compilation terminated.
> >
> >
> > "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> > -pthread  -DKENLM_MAX_ORDER=6
> > -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
> > -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> > -I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
> > -I"util/double-conversion" -c -o
> > "mert/bin/gcc-4.8.5/release/link-static/threading-multi/FileStream.o"
> > "mert/FileStream.cpp"
> >
> >
> > ...failed gcc.compile.c++
> > mert/bin/gcc-4.8.5/release/link-static/threading-multi/FileStream.o...
> >
> > gcc.compile.c++
> >
> phrase-extract/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o
> >
> > In file included from phrase-extract/InputFileStream.cpp:23:0:
> >
> > phrase-extract/gzfilebuf.h:6:18: fatal error: zlib.h: No such file or
> > directory
> >
> >  #include 
> >
> >   ^
> >
> > compilation terminated.
> >
> >
> > "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> > -pthread  -DKENLM_MAX_ORDER=6
> > -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
> > -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> > -I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include" -c -o
> >
> "phrase-extract/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o"
> > "phrase-extract/InputFileStream.cpp"
> >
> >
> > ...failed gcc.compile.c++
> >
> phrase-extract/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o...
> >
> > gcc.compile.c++
> >
> phrase-extract/lexical-reordering/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o
> >
> > In file included from
> > phrase-extract/lexical-reordering/InputFileStream.cpp:23:0:
> >
> > 

Re: [Moses-support] Error while compiling moses with boost using bjam

2016-08-03 Thread Kenneth Heafield
You need to install zlib first, including any development version of
zlib.  Further,I suspect your Boost installation is incomplete if you
didn't install zlib first.

https://kheafield.com/code/kenlm/dependencies/

Kenneth

On 08/03/2016 10:51 AM, Tarun Guntuka wrote:
> Hi Experts,
> 
> I could really use the help here as I am getting error with compiling
> moses. The following is the error.
> 
> /bjam --with-boost=/home/tarun/Documents/tools/boost_1_55_0 -j8
> 
> Tip: install tcmalloc for faster threading.  See BUILD-INSTRUCTIONS.txt
> for more information.
> 
> NOT BUILDING MOSES SERVER!
> 
> Performing configuration checks
> 
> 
> - Shared Boost : no
> 
> - Static Boost : yes
> 
> ...patience...
> 
> ...patience...
> 
> ...patience...
> 
> ...patience...
> 
> ...found 12003 targets...
> 
> ...updating 215 targets...
> 
> gcc.compile.c++
> mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o
> 
> In file included from mert/GzFileBuf.cpp:1:0:
> 
> mert/GzFileBuf.h:5:18: fatal error: zlib.h: No such file or directory
> 
>  #include 
> 
>   ^
> 
> compilation terminated.
> 
> 
> "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread  -DKENLM_MAX_ORDER=6
> -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
> -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
> -I"util/double-conversion" -c -o
> "mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o"
> "mert/GzFileBuf.cpp"
> 
> 
> ...failed gcc.compile.c++
> mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o...
> 
> gcc.compile.c++
> moses/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o
> 
> In file included from moses/InputFileStream.cpp:23:0:
> 
> moses/gzfilebuf.h:6:18: fatal error: zlib.h: No such file or directory
> 
>  #include 
> 
>   ^
> 
> compilation terminated.
> 
> 
> "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread  -DKENLM_MAX_ORDER=6 -DMAX_NUM_FACTORS=4
> -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
> -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
> -I"util/double-conversion" -c -o
> "moses/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o"
> "moses/InputFileStream.cpp"
> 
> 
> ...failed gcc.compile.c++
> moses/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o...
> 
> gcc.compile.c++
> mert/bin/gcc-4.8.5/release/link-static/threading-multi/FileStream.o
> 
> In file included from mert/FileStream.cpp:4:0:
> 
> mert/GzFileBuf.h:5:18: fatal error: zlib.h: No such file or directory
> 
>  #include 
> 
>   ^
> 
> compilation terminated.
> 
> 
> "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread  -DKENLM_MAX_ORDER=6
> -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
> -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
> -I"util/double-conversion" -c -o
> "mert/bin/gcc-4.8.5/release/link-static/threading-multi/FileStream.o"
> "mert/FileStream.cpp"
> 
> 
> ...failed gcc.compile.c++
> mert/bin/gcc-4.8.5/release/link-static/threading-multi/FileStream.o...
> 
> gcc.compile.c++
> phrase-extract/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o
> 
> In file included from phrase-extract/InputFileStream.cpp:23:0:
> 
> phrase-extract/gzfilebuf.h:6:18: fatal error: zlib.h: No such file or
> directory
> 
>  #include 
> 
>   ^
> 
> compilation terminated.
> 
> 
> "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread  -DKENLM_MAX_ORDER=6
> -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
> -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include" -c -o
> "phrase-extract/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o"
> "phrase-extract/InputFileStream.cpp"
> 
> 
> ...failed gcc.compile.c++
> phrase-extract/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o...
> 
> gcc.compile.c++
> phrase-extract/lexical-reordering/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o
> 
> In file included from
> phrase-extract/lexical-reordering/InputFileStream.cpp:23:0:
> 
> phrase-extract/lexical-reordering/gzfilebuf.h:6:18: fatal error: zlib.h:
> No such file or directory
> 
>  #include 
> 
>   ^
> 
> compilation terminated.
> 
> 
> "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread  -DKENLM_MAX_ORDER=6
> -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
> -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -I"." 

[Moses-support] Error while compiling moses with boost using bjam

2016-08-03 Thread Tarun Guntuka
Hi Experts,

I could really use the help here as I am getting error with compiling
moses. The following is the error.

/bjam --with-boost=/home/tarun/Documents/tools/boost_1_55_0 -j8

Tip: install tcmalloc for faster threading.  See BUILD-INSTRUCTIONS.txt for
more information.

NOT BUILDING MOSES SERVER!

Performing configuration checks


- Shared Boost : no

- Static Boost : yes

...patience...

...patience...

...patience...

...patience...

...found 12003 targets...

...updating 215 targets...

gcc.compile.c++
mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o

In file included from mert/GzFileBuf.cpp:1:0:

mert/GzFileBuf.h:5:18: fatal error: zlib.h: No such file or directory

 #include 

  ^

compilation terminated.


"g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-pthread  -DKENLM_MAX_ORDER=6
-DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
-DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
-I"util/double-conversion" -c -o
"mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o"
"mert/GzFileBuf.cpp"


...failed gcc.compile.c++
mert/bin/gcc-4.8.5/release/link-static/threading-multi/GzFileBuf.o...

gcc.compile.c++
moses/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o

In file included from moses/InputFileStream.cpp:23:0:

moses/gzfilebuf.h:6:18: fatal error: zlib.h: No such file or directory

 #include 

  ^

compilation terminated.


"g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-pthread  -DKENLM_MAX_ORDER=6 -DMAX_NUM_FACTORS=4
-DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
-DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
-I"util/double-conversion" -c -o
"moses/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o"
"moses/InputFileStream.cpp"


...failed gcc.compile.c++
moses/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o...

gcc.compile.c++
mert/bin/gcc-4.8.5/release/link-static/threading-multi/FileStream.o

In file included from mert/FileStream.cpp:4:0:

mert/GzFileBuf.h:5:18: fatal error: zlib.h: No such file or directory

 #include 

  ^

compilation terminated.


"g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-pthread  -DKENLM_MAX_ORDER=6
-DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
-DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
-I"util/double-conversion" -c -o
"mert/bin/gcc-4.8.5/release/link-static/threading-multi/FileStream.o"
"mert/FileStream.cpp"


...failed gcc.compile.c++
mert/bin/gcc-4.8.5/release/link-static/threading-multi/FileStream.o...

gcc.compile.c++
phrase-extract/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o

In file included from phrase-extract/InputFileStream.cpp:23:0:

phrase-extract/gzfilebuf.h:6:18: fatal error: zlib.h: No such file or
directory

 #include 

  ^

compilation terminated.


"g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-pthread  -DKENLM_MAX_ORDER=6
-DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
-DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include" -c -o
"phrase-extract/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o"
"phrase-extract/InputFileStream.cpp"


...failed gcc.compile.c++
phrase-extract/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o...

gcc.compile.c++
phrase-extract/lexical-reordering/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o

In file included from
phrase-extract/lexical-reordering/InputFileStream.cpp:23:0:

phrase-extract/lexical-reordering/gzfilebuf.h:6:18: fatal error: zlib.h: No
such file or directory

 #include 

  ^

compilation terminated.


"g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-pthread  -DKENLM_MAX_ORDER=6
-DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-814-g76469df\" -DNDEBUG
-DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I"." -I"/home/tarun/Documents/tools/boost_1_55_0/include"
-I"util/double-conversion" -c -o
"phrase-extract/lexical-reordering/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o"
"phrase-extract/lexical-reordering/InputFileStream.cpp"


...failed gcc.compile.c++
phrase-extract/lexical-reordering/bin/gcc-4.8.5/release/link-static/threading-multi/InputFileStream.o...

gcc.compile.c++
util/bin/gcc-4.8.5/release/link-static/threading-multi/read_compressed.o

util/read_compressed.cc:16:18: fatal error: zlib.h: No such file or
directory

 #include 

  ^

compilation terminated.


"g++"  

Re: [Moses-support] Error while compiling Moses v3.0 on Cygwin

2015-03-12 Thread Hieu Hoang

there seems to be a problem with the unit tests, similar to
https://www.mail-archive.com/moses-support%40mit.edu/msg11603.html
Either
   1. Ignore it, if the executables compiled ok
   2. Use the current source code from the github master branch. The 
issue should have be fixed already


On 10/03/2015 12:37, Muhammad Danial Raza wrote:

Hello,

I have a 32-bit Cygwin on a 64-bit windows machine. I have followed 
the following steps to compile moses:


  * Compiled boost using the following commands:
  o /cd ~/mosesdecoder/boost_1_55_0//
 o

  o /./b2 -j8 -q --prefix=$PWD --libdir=$PWD/lib64
--without-context --layout=system link=static install || echo
FAILURE/
  o /--without-context /because Boost.Context is not supported
on cygwin and also it is not required by moses. (Reference
http://comments.gmane.org/gmane.comp.nlp.moses.user/10701)
  * Secondly, I used the following command to compile moses:
 o

  o /./bjam --with-boost=~/mosesdecoder/boost_1_55_0 -j8/
  o Attached is the output and the build log

Any help in this regard would be appreciable.

Regards,
Muhammad Danial Raza


___
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 while compiling Moses v3.0 on Cygwin

2015-03-11 Thread Muhammad Danial Raza
Thank you Hieu, the second point did the trick for me.

On Tue, Mar 10, 2015 at 8:43 PM, Hieu Hoang hieuho...@gmail.com wrote:

  there seems to be a problem with the unit tests, similar to
https://www.mail-archive.com/moses-support%40mit.edu/msg11603.html
 Either
1. Ignore it, if the executables compiled ok
2. Use the current source code from the github master branch. The issue
 should have be fixed already


 On 10/03/2015 12:37, Muhammad Danial Raza wrote:

 Hello,

  I have a 32-bit Cygwin on a 64-bit windows machine. I have followed the
 following steps to compile moses:

- Compiled boost using the following commands:
   - *cd ~/mosesdecoder/boost_1_55_0/*
   -
- *./b2 -j8 -q --prefix=$PWD --libdir=$PWD/lib64
   --without-context --layout=system link=static install || echo FAILURE*
   - *--without-context *because Boost.Context is not supported on
   cygwin and also it is not required by moses. (Reference
   http://comments.gmane.org/gmane.comp.nlp.moses.user/10701)
- Secondly, I used the following command to compile moses:
   -
- *./bjam --with-boost=~/mosesdecoder/boost_1_55_0 -j8*
   - Attached is the output and the build log

 Any help in this regard would be appreciable.

  Regards,
 Muhammad Danial Raza


 ___
 Moses-support mailing 
 listMoses-support@mit.eduhttp://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 while compiling Moses v3.0 on Cygwin

2015-03-10 Thread Muhammad Danial Raza
Hello,

I have a 32-bit Cygwin on a 64-bit windows machine. I have followed the
following steps to compile moses:

   - Compiled boost using the following commands:
  - *cd ~/mosesdecoder/boost_1_55_0/*
  -
  - *./b2 -j8 -q --prefix=$PWD --libdir=$PWD/lib64 --without-context
  --layout=system link=static install || echo FAILURE*
  - *--without-context *because Boost.Context is not supported on
  cygwin and also it is not required by moses. (Reference
  http://comments.gmane.org/gmane.comp.nlp.moses.user/10701)
   - Secondly, I used the following command to compile moses:
  -
  - *./bjam --with-boost=~/mosesdecoder/boost_1_55_0 -j8*
  - Attached is the output and the build log

Any help in this regard would be appreciable.

Regards,
Muhammad Danial Raza
$ ./bjam --with-boost=~/mosesdecoder/boost_1_55_0 -j8
Tip: install tcmalloc for faster threading.  See BUILD-INSTRUCTIONS.txt for 
more information.
mkdir: cannot create directory ‘bin’: File exists
...patience...
...patience...
...found 4648 targets...
...updating 66 targets...
gcc.link 
phrase-extract/bin/ScoreFeatureTest.test/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/ScoreFeatureTest.exe
/usr/lib/gcc/i686-pc-cygwin/4.9.2/../../../libcygwin.a(libcmain.o): In function 
`main':
/usr/src/debug/cygwin-1.7.35-1/winsup/cygwin/lib/libcmain.c:39: undefined 
reference to `WinMain@16'
collect2: error: ld returned 1 exit status

g++ -L~/mosesdecoder/boost_1_55_0/lib 
-L~/mosesdecoder/boost_1_55_0/lib64 -Wl,-R 
-Wl,~/mosesdecoder/boost_1_55_0/lib -Wl,-R 
-Wl,~/mosesdecoder/boost_1_55_0/lib64 -Wl,-rpath-link 
-Wl,~/mosesdecoder/boost_1_55_0/lib -Wl,-rpath-link 
-Wl,~/mosesdecoder/boost_1_55_0/lib64 -o 
phrase-extract/bin/ScoreFeatureTest.test/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/ScoreFeatureTest.exe
 -Wl,--start-group 
phrase-extract/bin/ScoreFeatureTest.test/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/ScoreFeatureTest.o
 
phrase-extract/bin/ScoreFeatureTest.test/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/ExtractionPhrasePair.o
 
phrase-extract/bin/ScoreFeatureTest.test/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/Timer.o
 
phrase-extract/bin/ScoreFeatureTest.test/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/Util.o
 
phrase-extract/bin/ScoreFeatureTest.test/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/ThreadPool.o
 
phrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/AlignmentPhrase.o
 
phrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/DomainFeature.o
 
phrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/HoleCollection.o
 
phrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/InputFileStream.o
 
phrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/InternalStructFeature.o
 
phrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/OutputFileStream.o
 
phrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/PropertiesConsolidator.o
 
phrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/ScoreFeature.o
 
phrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/SentenceAlignment.o
 
phrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/SentenceAlignmentWithSyntax.o
 
phrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/SyntaxTree.o
 
phrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/tables-core.o
 
phrase-extract/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/XmlTree.o
 
util/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/parallel_read.o
 
util/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/read_compressed.o
 
util/double-conversion/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/bignum-dtoa.o
 
util/double-conversion/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/bignum.o
 
util/double-conversion/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/cached-powers.o
 
util/double-conversion/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/diy-fp.o
 
util/double-conversion/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/double-conversion.o
 
util/double-conversion/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/fast-dtoa.o
 
util/double-conversion/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/fixed-dtoa.o
 
util/double-conversion/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/strtod.o
 
util/bin/gcc-4.9.2/release/debug-symbols-on/link-static/threading-multi/bit_packing.o
 

Re: [Moses-support] Error while compiling Moses

2013-12-23 Thread Christophe Servan
Hi Nakul,
please try to install the package libbz2-dev (sudo apt-get install
libbz2-dev) and try again to compile.
If it does not work, I faced that kind of issue by adding -lbz2 to the
environment variable LDFLAGS

Best,

Christophe



2013/12/21 nakul sharma nakul...@gmail.com

 Hi Christophe,

 Thank you for help and guidance. My system configuration is as under:-

 OS: Ubuntu 12.04.2 LTS(updated some 100 days ago)
 RAM: 3 GB
 HDD: 40 GB (for linux)

 I have already installed the bzip2 library. When I execute on terminal
 following command:-

 whereis bzip2

 is get following result:-

 nakul@nakul-Inspiron-1545:~$ whereis bzip2
 bzip2: /bin/bzip2 /usr/share/man/man1/bzip2.1.gz
 nakul@nakul-Inspiron-1545:~$


 This indicates that bzip2 is installed. Please tell what can be possible
 solution ?




 On Fri, Dec 20, 2013 at 2:51 PM, Christophe Servan 
 christophe.ser...@gmail.com wrote:

 Dear Nakul,
 did you install the bzip2 library (i.e. the package bzip2-dev) ?

 Best,

 Christophe


 2013/12/20 nakul sharma nakul...@gmail.com

  Hi,

 I am trying to compile moses. But I am getting following error messages.
 Please help in this regard.

 notice: found boost-build.jam at /usr/share/boost-build/boost-build.jam
 notice: loading Boost.Build from /usr/share/boost-build/kernel
 notice: Searching /etc /home/nakul /usr/share/boost-build/kernel
 /usr/share/boost-build /usr/share/boost-build/kernel
 /usr/share/boost-build/util /usr/share/boost-build/build
 /usr/share/boost-build/tools /usr/share/boost-build/contrib
 /usr/share/boost-build/. for site-config configuration file site-config.jam
 .
 notice: Configuration file site-config.jam not found in /etc /home/nakul
 /usr/share/boost-build/kernel /usr/share/boost-build
 /usr/share/boost-build/kernel /usr/share/boost-build/util
 /usr/share/boost-build/build /usr/share/boost-build/tools
 /usr/share/boost-build/contrib /usr/share/boost-build/. .
 notice: Searching /home/nakul /usr/share/boost-build/kernel
 /usr/share/boost-build /usr/share/boost-build/kernel
 /usr/share/boost-build/util /usr/share/boost-build/build
 /usr/share/boost-build/tools /usr/share/boost-build/contrib
 /usr/share/boost-build/. for user-config configuration file user-config.jam
 .
 notice: Configuration file user-config.jam not found in /home/nakul
 /usr/share/boost-build/kernel /usr/share/boost-build
 /usr/share/boost-build/kernel /usr/share/boost-build/util
 /usr/share/boost-build/build /usr/share/boost-build/tools
 /usr/share/boost-build/contrib /usr/share/boost-build/. .

 file /home/nakul/mosesdecoder-master/previous.sh
 #!/bin/sh
 /usr/bin/bjam -j2 --debug-configuration -d2


 bash -c g++ -lSegFault -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -static -lSegFault -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  1
 bash -c g++  -lboost_program_options-1_46_1 -x c++ - 'int main() {}'
 -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  1
 bash -c g++  -static -lboost_program_options -x c++ - 'int main()
 {}' -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_system-mt  -static -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_thread-mt  -static -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_program_options-mt  -static -x c++ - 'int
 main() {}' -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null
  rm /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_unit_test_framework-mt
 -DBOOST_TEST_MODULE=CompileTest  -include boost/test/unit_test.hpp  -static
 -x c++ - 'BOOST_AUTO_TEST_CASE(foo) {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_iostreams-mt  -static -x c++ - 'int main() {}'
 -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_filesystem-mt  -static -x c++ - 'int main() {}'
 -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -static -lz -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++ -ltcmalloc_minimal -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  1
 Tip: install tcmalloc for faster 

[Moses-support] Error while compiling Moses

2013-12-20 Thread nakul sharma
Hi,

I am trying to compile moses. But I am getting following error messages.
Please help in this regard.

notice: found boost-build.jam at /usr/share/boost-build/boost-build.jam
notice: loading Boost.Build from /usr/share/boost-build/kernel
notice: Searching /etc /home/nakul /usr/share/boost-build/kernel
/usr/share/boost-build /usr/share/boost-build/kernel
/usr/share/boost-build/util /usr/share/boost-build/build
/usr/share/boost-build/tools /usr/share/boost-build/contrib
/usr/share/boost-build/. for site-config configuration file site-config.jam
.
notice: Configuration file site-config.jam not found in /etc /home/nakul
/usr/share/boost-build/kernel /usr/share/boost-build
/usr/share/boost-build/kernel /usr/share/boost-build/util
/usr/share/boost-build/build /usr/share/boost-build/tools
/usr/share/boost-build/contrib /usr/share/boost-build/. .
notice: Searching /home/nakul /usr/share/boost-build/kernel
/usr/share/boost-build /usr/share/boost-build/kernel
/usr/share/boost-build/util /usr/share/boost-build/build
/usr/share/boost-build/tools /usr/share/boost-build/contrib
/usr/share/boost-build/. for user-config configuration file user-config.jam
.
notice: Configuration file user-config.jam not found in /home/nakul
/usr/share/boost-build/kernel /usr/share/boost-build
/usr/share/boost-build/kernel /usr/share/boost-build/util
/usr/share/boost-build/build /usr/share/boost-build/tools
/usr/share/boost-build/contrib /usr/share/boost-build/. .

file /home/nakul/mosesdecoder-master/previous.sh
#!/bin/sh
/usr/bin/bjam -j2 --debug-configuration -d2


bash -c g++ -lSegFault -x c++ - 'int main() {}' -o
/home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 2/dev/null
 0
bash -c g++  -static -lSegFault -x c++ - 'int main() {}' -o
/home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 2/dev/null
 1
bash -c g++  -lboost_program_options-1_46_1 -x c++ - 'int main() {}' -o
/home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 2/dev/null
 1
bash -c g++  -static -lboost_program_options -x c++ - 'int main() {}'
-o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 2/dev/null
 0
bash -c g++  -lboost_system-mt  -static -x c++ - 'int main() {}' -o
/home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 2/dev/null
 0
bash -c g++  -lboost_thread-mt  -static -x c++ - 'int main() {}' -o
/home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 2/dev/null
 0
bash -c g++  -lboost_program_options-mt  -static -x c++ - 'int main()
{}' -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 2/dev/null
 0
bash -c g++  -lboost_unit_test_framework-mt
-DBOOST_TEST_MODULE=CompileTest  -include boost/test/unit_test.hpp  -static
-x c++ - 'BOOST_AUTO_TEST_CASE(foo) {}' -o
/home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 2/dev/null
 0
bash -c g++  -lboost_iostreams-mt  -static -x c++ - 'int main() {}' -o
/home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 2/dev/null
 0
bash -c g++  -lboost_filesystem-mt  -static -x c++ - 'int main() {}' -o
/home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 2/dev/null
 0
bash -c g++  -static -lz -x c++ - 'int main() {}' -o
/home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 2/dev/null
 0
bash -c g++ -ltcmalloc_minimal -x c++ - 'int main() {}' -o
/home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 2/dev/null
 1
Tip: install tcmalloc for faster threading.  See BUILD-INSTRUCTIONS.txt for
more information.
warning: No toolsets are configured.
warning: Configuring default toolset gcc.
warning: If the default is wrong, your build may not work correctly.
warning: Use the toolset=x option to override our guess.
warning: For more configuration options, please consult
warning:
http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
notice: will use 'g++' for gcc, condition toolsetgcc-4.6
notice: using gcc libraries :: toolsetgcc-4.6 :: /usr/bin /usr/lib
/usr/lib32 /usr/lib64
notice: using gcc archiver :: toolsetgcc-4.6 :: /usr/bin/ar
notice: using gcc ranlib :: toolsetgcc-4.6 :: /usr/bin/ranlib
warning: toolset gcc initialization: can not find tool windres
warning: initialized from
notice: using rc compiler :: toolsetgcc-4.6 :: /usr/bin/as
bash -c g++ -lbz2 -x c++ - 'int main() {}' -o
/home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 2/dev/null
 1
bash -c g++ -llzma -x c++ - 'int main() {}' -o
/home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
/home/nakul/mosesdecoder-master/dummy 

Re: [Moses-support] Error while compiling Moses

2013-12-20 Thread Christophe Servan
Dear Nakul,
did you install the bzip2 library (i.e. the package bzip2-dev) ?

Best,

Christophe


2013/12/20 nakul sharma nakul...@gmail.com

 Hi,

 I am trying to compile moses. But I am getting following error messages.
 Please help in this regard.

 notice: found boost-build.jam at /usr/share/boost-build/boost-build.jam
 notice: loading Boost.Build from /usr/share/boost-build/kernel
 notice: Searching /etc /home/nakul /usr/share/boost-build/kernel
 /usr/share/boost-build /usr/share/boost-build/kernel
 /usr/share/boost-build/util /usr/share/boost-build/build
 /usr/share/boost-build/tools /usr/share/boost-build/contrib
 /usr/share/boost-build/. for site-config configuration file site-config.jam
 .
 notice: Configuration file site-config.jam not found in /etc /home/nakul
 /usr/share/boost-build/kernel /usr/share/boost-build
 /usr/share/boost-build/kernel /usr/share/boost-build/util
 /usr/share/boost-build/build /usr/share/boost-build/tools
 /usr/share/boost-build/contrib /usr/share/boost-build/. .
 notice: Searching /home/nakul /usr/share/boost-build/kernel
 /usr/share/boost-build /usr/share/boost-build/kernel
 /usr/share/boost-build/util /usr/share/boost-build/build
 /usr/share/boost-build/tools /usr/share/boost-build/contrib
 /usr/share/boost-build/. for user-config configuration file user-config.jam
 .
 notice: Configuration file user-config.jam not found in /home/nakul
 /usr/share/boost-build/kernel /usr/share/boost-build
 /usr/share/boost-build/kernel /usr/share/boost-build/util
 /usr/share/boost-build/build /usr/share/boost-build/tools
 /usr/share/boost-build/contrib /usr/share/boost-build/. .

 file /home/nakul/mosesdecoder-master/previous.sh
 #!/bin/sh
 /usr/bin/bjam -j2 --debug-configuration -d2


 bash -c g++ -lSegFault -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -static -lSegFault -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  1
 bash -c g++  -lboost_program_options-1_46_1 -x c++ - 'int main() {}'
 -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  1
 bash -c g++  -static -lboost_program_options -x c++ - 'int main() {}'
 -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_system-mt  -static -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_thread-mt  -static -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_program_options-mt  -static -x c++ - 'int main()
 {}' -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_unit_test_framework-mt
 -DBOOST_TEST_MODULE=CompileTest  -include boost/test/unit_test.hpp  -static
 -x c++ - 'BOOST_AUTO_TEST_CASE(foo) {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_iostreams-mt  -static -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_filesystem-mt  -static -x c++ - 'int main() {}'
 -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -static -lz -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++ -ltcmalloc_minimal -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  1
 Tip: install tcmalloc for faster threading.  See BUILD-INSTRUCTIONS.txt
 for more information.
 warning: No toolsets are configured.
 warning: Configuring default toolset gcc.
 warning: If the default is wrong, your build may not work correctly.
 warning: Use the toolset=x option to override our guess.
 warning: For more configuration options, please consult
 warning:
 http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
 notice: will use 'g++' for gcc, condition toolsetgcc-4.6
 notice: using gcc libraries :: toolsetgcc-4.6 :: /usr/bin /usr/lib
 /usr/lib32 /usr/lib64
 notice: using gcc archiver :: toolsetgcc-4.6 :: /usr/bin/ar
 notice: using gcc ranlib :: toolsetgcc-4.6 :: /usr/bin/ranlib
 warning: toolset gcc initialization: can not find tool windres
 warning: initialized from
 notice: using rc compiler :: toolsetgcc-4.6 :: /usr/bin/as
 bash -c g++ -lbz2 -x c++ - 'int main() {}' -o
 

Re: [Moses-support] Error while compiling Moses

2013-12-20 Thread nakul sharma
Hi Christophe,

Thank you for help and guidance. My system configuration is as under:-

OS: Ubuntu 12.04.2 LTS(updated some 100 days ago)
RAM: 3 GB
HDD: 40 GB (for linux)

I have already installed the bzip2 library. When I execute on terminal
following command:-

whereis bzip2

is get following result:-

nakul@nakul-Inspiron-1545:~$ whereis bzip2
bzip2: /bin/bzip2 /usr/share/man/man1/bzip2.1.gz
nakul@nakul-Inspiron-1545:~$


This indicates that bzip2 is installed. Please tell what can be possible
solution ?




On Fri, Dec 20, 2013 at 2:51 PM, Christophe Servan 
christophe.ser...@gmail.com wrote:

 Dear Nakul,
 did you install the bzip2 library (i.e. the package bzip2-dev) ?

 Best,

 Christophe


 2013/12/20 nakul sharma nakul...@gmail.com

 Hi,

 I am trying to compile moses. But I am getting following error messages.
 Please help in this regard.

 notice: found boost-build.jam at /usr/share/boost-build/boost-build.jam
 notice: loading Boost.Build from /usr/share/boost-build/kernel
 notice: Searching /etc /home/nakul /usr/share/boost-build/kernel
 /usr/share/boost-build /usr/share/boost-build/kernel
 /usr/share/boost-build/util /usr/share/boost-build/build
 /usr/share/boost-build/tools /usr/share/boost-build/contrib
 /usr/share/boost-build/. for site-config configuration file site-config.jam
 .
 notice: Configuration file site-config.jam not found in /etc /home/nakul
 /usr/share/boost-build/kernel /usr/share/boost-build
 /usr/share/boost-build/kernel /usr/share/boost-build/util
 /usr/share/boost-build/build /usr/share/boost-build/tools
 /usr/share/boost-build/contrib /usr/share/boost-build/. .
 notice: Searching /home/nakul /usr/share/boost-build/kernel
 /usr/share/boost-build /usr/share/boost-build/kernel
 /usr/share/boost-build/util /usr/share/boost-build/build
 /usr/share/boost-build/tools /usr/share/boost-build/contrib
 /usr/share/boost-build/. for user-config configuration file user-config.jam
 .
 notice: Configuration file user-config.jam not found in /home/nakul
 /usr/share/boost-build/kernel /usr/share/boost-build
 /usr/share/boost-build/kernel /usr/share/boost-build/util
 /usr/share/boost-build/build /usr/share/boost-build/tools
 /usr/share/boost-build/contrib /usr/share/boost-build/. .

 file /home/nakul/mosesdecoder-master/previous.sh
 #!/bin/sh
 /usr/bin/bjam -j2 --debug-configuration -d2


 bash -c g++ -lSegFault -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -static -lSegFault -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  1
 bash -c g++  -lboost_program_options-1_46_1 -x c++ - 'int main() {}'
 -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  1
 bash -c g++  -static -lboost_program_options -x c++ - 'int main() {}'
 -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_system-mt  -static -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_thread-mt  -static -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_program_options-mt  -static -x c++ - 'int main()
 {}' -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_unit_test_framework-mt
 -DBOOST_TEST_MODULE=CompileTest  -include boost/test/unit_test.hpp  -static
 -x c++ - 'BOOST_AUTO_TEST_CASE(foo) {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_iostreams-mt  -static -x c++ - 'int main() {}'
 -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -lboost_filesystem-mt  -static -x c++ - 'int main() {}'
 -o /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++  -static -lz -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  0
 bash -c g++ -ltcmalloc_minimal -x c++ - 'int main() {}' -o
 /home/nakul/mosesdecoder-master/dummy /dev/null 2/dev/null  rm
 /home/nakul/mosesdecoder-master/dummy 2/dev/null
  1
 Tip: install tcmalloc for faster threading.  See BUILD-INSTRUCTIONS.txt
 for more information.
 warning: No toolsets are configured.
 warning: Configuring default toolset gcc.
 warning: If the default is wrong, your build may not work correctly.
 warning: Use the toolset=x option to override our guess.
 warning: For more 

Re: [Moses-support] Error while compiling Moses on Ubuntu 12.04 64bit

2013-05-17 Thread Hieu Hoang
I agree with Tom. If boost is available using apt-get, you should use it.
If it fails to install, you need to figure out why. Otherwise you could be
making the situation worse by installing multiple versions of boost from
different places.


On 17 May 2013 05:33, Tom Hoar tah...@precisiontranslationtools.com wrote:

  Installing libboost-all-dev with apt-get and compiling moses on Ubuntu
 12.04 64-but works. Your apt-get command is correct. You'll need to
 troubleshoot why apt-get failed to install libboost-all-dev.


 On 05/17/2013 09:35 AM, Eziz.Tursun wrote:

 I have installed giza++ and irstlm successfully, but there are some
 problem while compile Moses on Ubuntu 12.04 64bit.
 there is one of error messages:

  lm/filter/bin/gcc-4.6/release/debug-symbols-on/link-
 static/threading-multi/main.o:/usr/local/include/boost/thread/detail/thread.hpp:180:
 more undefined references to `boost::thread::start_thread_noexcept()'
 follow
 collect2: ld returned 1 exit status
 ...failed gcc.link lm/filter/bin/gcc-4.6/release/
 debug-symbols-on/link-static/threading-multi/filter...
  
 
  

  I have installed boost as follows:

  sudo apt-get install libboost-all-dev

  after failed first time,then  I installed boost lib 1.5.03 like this:

  ./bootstrap.sh
  ./b2 install

  Unfortunately, there was no progress.
 What's my problem?

 could tell me detailed steps for solve this problem?

  Best regards,

 Eziz


 ___
 Moses-support mailing 
 listMoses-support@mit.eduhttp://mailman.mit.edu/mailman/listinfo/moses-support



 ___
 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


[Moses-support] Error while compiling Moses on Ubuntu 12.04 64bit

2013-05-16 Thread Eziz.Tursun
I have installed giza++ and irstlm successfully, but there are some problem
while compile Moses on Ubuntu 12.04 64bit.
there is one of error messages:

lm/filter/bin/gcc-4.6/release/debug-symbols-on/link-
static/threading-multi/main.o:/usr/local/include/boost/thread/detail/thread.hpp:180:
more undefined references to `boost::thread::start_thread_noexcept()' follow
collect2: ld returned 1 exit status
...failed gcc.link lm/filter/bin/gcc-4.6/release/
debug-symbols-on/link-static/threading-multi/filter...




I have installed boost as follows:

sudo apt-get install libboost-all-dev

after failed first time,then  I installed boost lib 1.5.03 like this:

./bootstrap.sh
./b2 install

Unfortunately, there was no progress.
What's my problem?

could tell me detailed steps for solve this problem?

Best regards,

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


Re: [Moses-support] Error while compiling Moses on Ubuntu 12.04 64bit

2013-05-16 Thread Tom Hoar
Installing libboost-all-dev with apt-get and compiling moses on Ubuntu 
12.04 64-but works. Your apt-get command is correct. You'll need to 
troubleshoot why apt-get failed to install libboost-all-dev.



On 05/17/2013 09:35 AM, Eziz.Tursun wrote:
I have installed giza++ and irstlm successfully, but there are some 
problem while compile Moses on Ubuntu 12.04 64bit.

there is one of error messages:

lm/filter/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/main.o:/usr/local/include/boost/thread/detail/thread.hpp:180: 
more undefined references to `boost::thread::start_thread_noexcept()' 
follow

collect2: ld returned 1 exit status
...failed gcc.link 
lm/filter/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/filter...




I have installed boost as follows:

sudo apt-get install libboost-all-dev

after failed first time,then  I installed boost lib 1.5.03 like this:

|./bootstrap.sh |
|
|./b2 install|
|
|
|Unfortunately, there was no progress.|
|What's my problem?|
||
|could tell me detailed steps for solve this problem?|
|
|
Best regards,

   Eziz
|


___
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