Hi,

        You're correct.  There doesn't seem to be a static version of this 
library.  I've added the --nosegfault option (which isn't as cool as it 
sounds) to skip this library.

Kenneth

On 08/06/2012 02:08 AM, Tom Hoar wrote:
> I read the comment "In order to obtain a fully static Moses, every g++
> command line that includes "-static" must pass with exit code 0." with
> interest.
>
> When we compile moses, this log output line shows an exit code 1. All
> the others are 0.
>
> bash -c "g++ -static -lSegFault -x c++ - <<<'int main() {}' -o /dev/null
>  >/dev/null 2>/dev/null"
> 1
>
> Any suggestions as to what's missing/how to correct so we have a
> fully-static Moses?
>
> Thanks,
> Tom
>
>
>
> On Fri, 03 Aug 2012 18:13:47 -0400, Kenneth Heafield
> <mo...@kheafield.com> wrote:
>> Hi,
>>
>> Moses attempts to link statically by default but falls back to dynamic
>> links. You must have static versions of all the dependencies installed
>> as well. Run
>>
>> bjam --debug-configuration
>>
>> and, near the top, it will show you some command lines followed by their
>> exit code. In order to obtain a fully static Moses, every g++ command
>> line that includes "-static" must pass with exit code 0.
>>
>> Kenneth
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to