Hi Jun,
Maybe there is no bug at all. This is happening quite often if you are trying 
to compile a new program on old system (or vice versa).
Fedora 12 is having pretty old gcc which can cause a lot of strange messages if 
you compile some nowadays sources.

Update fedora, or try to install RandLM version which was used in the time of 
Fedora 12. (Not sure, but it seems to me that RandLM is relatively new program, 
newer then F12).


Cheers, Tomas


From: [email protected] [mailto:[email protected]]
Sent: Friday, May 25, 2012 3:08 AM
To: [email protected]
Subject: [Moses-support] Failed to install RandLM-0.2.5 on Fedora 12


Hi mosese-support,

I got issue when tring to install RandLM-0.2.5 on a machine with Fedora 12.  
There is no info related with this issue in the archive support list, is there 
anybody can help me to fix this?

I just follow the steps provided in "INSTALL" as follow:

Dependencies
============

RandLM requires the following libraries to build and run:

  - Boost threads (http://www.boost.org/)
  - Google Sparse Hash (http://code.google.com/p/sparsehash/)

Installing RandLM
=================

It's easy - standard ./configure; make; make install affair.



Below is the error code:

[root@mosesp1 LDHT]# cat /etc/redhat-release
Fedora release 12 (Constantine)
[root@mosesp1 LDHT]# make
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..  -I./  -fPIC -Wno-deprecated -Wall -ggdb -DTIXML_USE_TICPP -g -O2 -MT 
libLDHT_la-ProtocolGroup.lo -MD -MP -MF .deps/libLDHT_la-ProtocolGroup.Tpo -c 
-o libLDHT_la-ProtocolGroup.lo `test -f 'ProtocolGroup.cpp' || echo 
'./'`ProtocolGroup.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -fPIC -Wno-deprecated 
-Wall -ggdb -DTIXML_USE_TICPP -g -O2 -MT libLDHT_la-ProtocolGroup.lo -MD -MP 
-MF .deps/libLDHT_la-ProtocolGroup.Tpo -c ProtocolGroup.cpp  -fPIC -DPIC -o 
.libs/libLDHT_la-ProtocolGroup.o
In file included from ProtocolGroup.cpp:13:
Util.h: In member function 'LDHT::Protocol* 
LDHT::ProtocolGroup::getReadyProtocol(int)':
Util.h:53: error: PIC register '%ebx' clobbered in 'asm'
Util.h:53: error: PIC register '%ebx' clobbered in 'asm'
make: *** [libLDHT_la-ProtocolGroup.lo] Error 1
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to