it works for me with the same library versions as yours. this is the command i ran ./bjam -j11 --with-xmlrpc-c=/home/hihoan/hihoan/workspace/xmlrpc-c/xmlrpc-c-1.51.06 --with-cmph=/mnt/c/Users/hihoan/workspace/cmph/cmph-2.0.2 Perhaps there's something non-standard about your machine, have you reconfigured it extensively? Or maybe there's a problem with the way you compiled xmlrpc-c lib
Hieu Hoang http://statmt.org/hieu On Sun, 19 Jul 2020 at 22:03, ALISTAIR CHEONG LIANG CHUEN HCI < 1615...@student.hci.edu.sg> wrote: > Dear Mr Hoang, > > I specified libssl-dev explicitly in apt-get install, but no action was > taken because libssl-dev was apparently preinstalled in Colab machines with > the latest version (1.1.1-1ubuntu2.1~18.04.6). > > The same errors appeared. Attached is the logfile. > > Thank you! > > Yours sincerely, > Alistair Cheong > > On Sun, 19 Jul 2020 at 23:20, Hieu Hoang <hieuho...@gmail.com> wrote: > >> 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 < >> 1615...@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 >>> >>
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support