Hi

here is the output of stderr 

expand.c: In function ‘var_edit_shift’:
expand.c:666:13: warning: ‘cygwin_conv_to_win32_path’ is deprecated (declared 
at /usr/include/sys/cygwin.h:34)
expand.c: In function ‘var_expand_unit_test’:
expand.c:691:5: warning: ‘cygwin_conv_to_posix_path’ is deprecated (declared at 
/usr/include/sys/cygwin.h:38)
jam.c: In function ‘executable_path’:
jam.c:628:18: warning: comparison between pointer and integer
cygwin warning:
  MS-DOS style path detected: C:\Program Files\GnuWin32\bin
  Preferred POSIX equivalent is: /cygdrive/c/Program Files/GnuWin32/bin
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

i also attach the file. any suggestion? thank you

Raka


----------------------------------------------------------------------

Message: 1
Date: Tue, 17 Apr 2012 21:39:26 +0800 (SGT)
From: raka prasetya <[email protected]>
Subject: [Moses-support] ask mirtdir
To: "[email protected]" <[email protected]>
Message-ID:
    <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi everyone
i have a problem when running :

nohup nice $SCRIPTS_ROOTDIR/training/mert-moses.pl 
work/tuning/tune.lowercased.en work/tuning/tune.lowercased.id 
tools/moses/dist/bin/moses work/model/moses.ini --working-dir work/tuning/mert 
--mertdir /home/Raka/smt/tools/moses/dist/bin --rootdir $SCRIPTS_ROOTDIR 
--decoder-flags "-v 0" >& work/tuning/mert.out &

the output is 

nohup: ignoring input
main::create_extractor_script() called too early to check prototype at 
/home/Raka/smt/tools/moses/scripts/training/mert-moses.pl line 681.
Using SCRIPTS_ROOTDIR: /home/Raka/smt/tools/moses/scripts
Not executable: /home/Raka/smt/tools/moses/dist/bin/extractor at 
/home/Raka/smt/tools/moses/scripts/training/mert-moses.pl line 321.


when i check in dist/bin there is no file extractor. so i thought my build was 
wrong. i rebuild my moses on cygwin (i use windows)

there is a
warning in the beginning about boost :
?
?warning:Notoolsets are configured.
?warning:Configuringdefaulttoolset "gcc".
?warning:Ifthe defaultis wrong,your build may not work correctly.
?warning:Usethe "toolset=xxxxx"option to override our guess.
?warning:Formore configuration options,please consult
?warning:http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html

and in the end of the building there are these 3 message:
...failed updating 2 targets...
...skipped 37 targets...
...updated 535 targets...

then i follow all the steps in http://www.statmt.org/moses_steps.html#versions, 
i found no problem until PART4-tuning section which is back to mirtdir problem.

i set 

?--mertdir /home/Raka/smt/tools/moses/dist/bin
?or
?--mertdir /home/Raka/smt/tools/moses/mert
and the result is still the same, there is no extractor in dist/bin and the 
only? extractor file i found is extractor.cpp in moses/mert.

can someone told me is there something wrong with my moses build? i really need 
solution for this problem

Thank you everyone

Raka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mailman.mit.edu/mailman/private/moses-support/attachments/20120417/d6ea3eb8/attachment-0001.htm

------------------------------

Message: 2
Date: Tue, 17 Apr 2012 11:02:14 -0400
From: Kenneth Heafield <[email protected]>
Subject: Re: [Moses-support] ask mirtdir
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

    That tells us something failed to build, but not the actual compiler 
error.  Can you run bjam again and attach the stderr?

Kenneth

On 04/17/2012 09:39 AM, raka prasetya wrote:
> Hi everyone
> i have a problem when running :
> nohup nice $SCRIPTS_ROOTDIR/training/mert-moses.pl
> work/tuning/tune.lowercased.en work/tuning/tune.lowercased.id
> tools/moses/dist/bin/moses work/model/moses.ini --working-dir
> work/tuning/mert --mertdir /home/Raka/smt/tools/moses/dist/bin --rootdir
> $SCRIPTS_ROOTDIR --decoder-flags "-v 0" >& work/tuning/mert.out &
>
> the output is
> nohup: ignoring input
> main::create_extractor_script() called too early to check prototype at
> /home/Raka/smt/tools/moses/scripts/training/mert-moses.pl line 681.
> Using SCRIPTS_ROOTDIR: /home/Raka/smt/tools/moses/scripts
> Not executable: /home/Raka/smt/tools/moses/dist/bin/extractor at
> /home/Raka/smt/tools/moses/scripts/training/mert-moses.pl line 321.
>
> when i check in dist/bin there is no file extractor. so i thought my
> build was wrong. i rebuild my moses on cygwin (i use windows)
> there is a
> warning in the beginning about boost :
>
> warning:Notoolsets are configured.
> warning:Configuringdefaulttoolset "gcc".
> warning:Ifthe defaultis wrong,your build may not work correctly.
> warning:Usethe "toolset=xxxxx"option to override our guess.
> warning:Formore configuration options,please consult
> warning:http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
>
> and in the end of the building there are these 3 message:
> ...failed updating 2 targets...
> ...skipped 37 targets...
> ...updated 535 targets...
>
> then i follow all the steps in
> http://www.statmt.org/moses_steps.html#versions, i found no problem
> until PART4-tuning section which is back to mirtdir problem.
>
> i set
> --mertdir /home/Raka/smt/tools/moses/dist/bin
> or
> --mertdir /home/Raka/smt/tools/moses/mert
> and the result is still the same, there is no extractor in dist/bin and
> the only extractor file i found is extractor.cpp in moses/mert.
>
> can someone told me is there something wrong with my moses build? i
> really need solution for this problem
>
> Thank you everyone
>
> Raka
>
>
>
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support


------------------------------

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 66, Issue 41
*********************************************
expand.c: In function ‘var_edit_shift’:
expand.c:666:13: warning: ‘cygwin_conv_to_win32_path’ is deprecated 
(declared at /usr/include/sys/cygwin.h:34)
expand.c: In function ‘var_expand_unit_test’:
expand.c:691:5: warning: ‘cygwin_conv_to_posix_path’ is deprecated 
(declared at /usr/include/sys/cygwin.h:38)
jam.c: In function ‘executable_path’:
jam.c:628:18: warning: comparison between pointer and integer
cygwin warning:
  MS-DOS style path detected: C:\Program Files\GnuWin32\bin
  Preferred POSIX equivalent is: /cygdrive/c/Program Files/GnuWin32/bin
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to