easy_install mwlib.rl not working: undefined log10

19 views
Skip to first unread message

cescp

unread,
Oct 11, 2011, 9:55:45 AM10/11/11
to mwlib
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

Ralf Schmitt

unread,
Oct 12, 2011, 5:43:53 AM10/12/11
to mw...@googlegroups.com
cescp <francesc...@gmail.com> writes:

> 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
>

I applied the same fix to the mwlib.ext repository.

--
Cheers
Ralf

cescp

unread,
Oct 16, 2011, 6:08:28 AM10/16/11
to mwlib
Thanks!
When now running an easy_install, it still takes the version
mwlib.ext-0.12.3.
How can I force it to take the latest release with the fix?

Francesc

Ralf Schmitt

unread,
Oct 18, 2011, 2:55:27 AM10/18/11
to mw...@googlegroups.com
cescp <francesc...@gmail.com> writes:

just use the git checkout and run python setup.py install inside or wait
until we released the new version.

--
Cheers
Ralf

Reply all
Reply to author
Forward
0 new messages