HI,
I'm trying to install mwlib.rl with easy_install, but I get the
following error:
#easy_install mwlib.rl
install_dir /usr/lib/python2.7/site-packages/
Searching for mwlib.rl
Best match: mwlib.rl 0.12.8
Processing mwlib.rl-0.12.8-py2.7.egg
mwlib.rl 0.12.8 is already the active version in easy-install.pth
Using /usr/lib/python2.7/site-packages/mwlib.rl-0.12.8-py2.7.egg
Processing dependencies for mwlib.rl
Searching for mwlib.ext>=0.9.3,<0.13
Reading
http://pypi.python.org/simple/mwlib.ext/
Reading
http://code.pediapress.com/
Best match: mwlib.ext 0.12.3
Downloading
http://pypi.python.org/packages/source/m/mwlib.ext/mwlib.ext-0.12.3.tar.gz#md5=fb7b87f16c0b79f794d73455e408fecb
Processing mwlib.ext-0.12.3.tar.gz
Running mwlib.ext-0.12.3/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-nlidjs/mwlib.ext-0.12.3/egg-dist-tmp-WuhkJo
warning: build_py: byte-compiling is disabled, skipping.
upstream-src/src/rl_addons/rl_accel/_rl_accel.c: In function ‘hex32’:
upstream-src/src/rl_addons/rl_accel/_rl_accel.c:793:2: warning: format
‘%8.8X’ expects type ‘unsigned int’, but argument 3 has type ‘long
unsigned int’
build/temp.linux-i686-2.7/upstream-src/src/rl_addons/rl_accel/
_rl_accel.o: In function `_fp_one':
/tmp/easy_install-nlidjs/mwlib.ext-0.12.3/upstream-src/src/rl_addons/
rl_accel/_rl_accel.c:508: undefined reference to `log10'
/tmp/easy_install-nlidjs/mwlib.ext-0.12.3/upstream-src/src/rl_addons/
rl_accel/_rl_accel.c:508: undefined reference to `log10'
/tmp/easy_install-nlidjs/mwlib.ext-0.12.3/upstream-src/src/rl_addons/
rl_accel/_rl_accel.c:508: undefined reference to `log10'
/tmp/easy_install-nlidjs/mwlib.ext-0.12.3/upstream-src/src/rl_addons/
rl_accel/_rl_accel.c:508: undefined reference to `log10'
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit
status 1
I'm using Linux Mageia 1, with Python from distribution:
python-2.7.1-6.1.mga1
A similar problem existed in timelib:
https://github.com/pediapress/timelib/issues/3
Thanks,
Francesc