Send Moses-support mailing list submissions to
moses-support@mit.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu
You can reach the person managing the list at
moses-support-owner@mit.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."
Today's Topics:
1. Failed Moses 4.0 compilation: Attempt to free invalid pointer
(ALISTAIR CHEONG LIANG CHUEN HCI)
2. Re: Failed Moses 4.0 compilation: Attempt to free invalid
pointer (Hieu Hoang)
----------------------------------------------------------------------
Message: 1
Date: Sun, 19 Jul 2020 17:44:41 +0800
From: ALISTAIR CHEONG LIANG CHUEN HCI <161519x@student.hci.edu.sg>
Subject: [Moses-support] Failed Moses 4.0 compilation: Attempt to free
invalid pointer
To: moses-support@mit.edu
Message-ID:
<CAHw0VGwULq1UVKaSmg7gPaQryGkrMzZQrCfe2rPMDh3+NPdOYA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Dear Sir/Mdm,
I am trying to use this Github library <https://github.com/artetxem/monoses> on
Google Colab to translate Traditional Chinese to English. However I am
facing some issues building Moses in the Colab environment.
This Github library needed Moses2 functionality, which meant that I had to
build cmph and xmlrpc myself. Thus, I downloaded the latest stable builds
of both these libraries from their official SourceForge sites, and built
them accordingly.
To build Moses, I executed this command:
bjam --with-cmph="/content/monoses/third-party/cmph-2.0.2"
--with-xmlrpc-c="/content/monoses/third-party/xmlrpc-c-1.51.06" -j4
However, I get 2 types of errors. The first one is collect2: error: ld
returned 1 exit status, which happens as a result of
/content/monoses/third-party/xmlrpc-c-1.51.06/lib/abyss/src/socket_openssl.c:415:
undefined reference to `SSL_get_fd'
The second error is more frequent:
====== BEGIN OUTPUT ======
src/tcmalloc.cc:283] Attempt to free invalid pointer 0x55959718c000
Aborted (core dumped)
EXIT STATUS: 134
====== END OUTPUT ======
If you would like to see how I built the other libraries, here is my Colab
notebook
<https://colab.research.google.com/drive/1qg4QiT7Zrl-09kKq8Ysk-CTkkrSJS9Qa#scrollTo=xhg02HGYzo6d>
.
Attached is the logfile.
Thank you for your time.
Yours sincerely,
Alistair Cheong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20200719/e312fdfb/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log.gz
Type: application/x-gzip
Size: 4676 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20200719/e312fdfb/attachment-0001.gz
------------------------------
Message: 2
Date: Sun, 19 Jul 2020 08:20:05 -0700
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Failed Moses 4.0 compilation: Attempt to
free invalid pointer
To: ALISTAIR CHEONG LIANG CHUEN HCI <161519x@student.hci.edu.sg>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbhcghDorkTdaX0idd=3xhOhJo_mZh4R=6Z0WLi+5kkqOA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
from the errors in build.log.gz, it looks like the compilation neeed the
SSL libraries. Try installing
libssl-dev
I've not seen this error before, please let us know how it goes
Hieu Hoang
http://statmt.org/hieu
On Sun, 19 Jul 2020 at 02:50, ALISTAIR CHEONG LIANG CHUEN HCI <
161519x@student.hci.edu.sg> wrote:
> Dear Sir/Mdm,
>
> I am trying to use this Github library
> <https://github.com/artetxem/monoses> on Google Colab to translate
> Traditional Chinese to English. However I am facing some issues building
> Moses in the Colab environment.
>
> This Github library needed Moses2 functionality, which meant that I had to
> build cmph and xmlrpc myself. Thus, I downloaded the latest stable builds
> of both these libraries from their official SourceForge sites, and built
> them accordingly.
>
> To build Moses, I executed this command:
> bjam --with-cmph="/content/monoses/third-party/cmph-2.0.2"
> --with-xmlrpc-c="/content/monoses/third-party/xmlrpc-c-1.51.06" -j4
>
> However, I get 2 types of errors. The first one is collect2: error: ld
> returned 1 exit status, which happens as a result of /content/monoses/third-party/xmlrpc-c-1.51.06/lib/abyss/src/socket_openssl.c:415:
> undefined reference to `SSL_get_fd'
>
> The second error is more frequent:
> ====== BEGIN OUTPUT ======
> src/tcmalloc.cc:283] Attempt to free invalid pointer 0x55959718c000
> Aborted (core dumped)
>
> EXIT STATUS: 134
> ====== END OUTPUT ======
>
> If you would like to see how I built the other libraries, here is my Colab
> notebook
> <https://colab.research.google.com/drive/1qg4QiT7Zrl-09kKq8Ysk-CTkkrSJS9Qa#scrollTo=xhg02HGYzo6d>
> .
>
> Attached is the logfile.
>
> Thank you for your time.
>
> Yours sincerely,
> Alistair Cheong
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20200719/f0f5c91e/attachment.html
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 165, Issue 7
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 165, Issue 7"
Post a Comment