To be honest, the version requirement is somewhat arbitrary. I looked
through the lxml changelogs and picked something recent that I thought
would come on most operating systems.
Ubuntu 8.10 is ok, but 8.04 which is about 1.5 years old is not ok... I
suggest 2 options:
1) Edit config/grc_grc.m4 and change the line with the version
requirement to match your install. The configure should pass and you can
install and try out grc. If it works just fine, let me know so I can
lower the version requirement.
2) Download the lxml source tarball for version 2.xxx or whatever is
newest. Try to install it and see if the configure passes and grc works.
Thanks!
-Josh
Anton K Skårbratt wrote:
Output from commands:
python -c 'import lxml; print lxml'
<module 'lxml' from '/usr/lib/python2.5/site-packages/lxml/__init__.pyc'>
python -c 'import lxml.etree; print lxml.etree'
<module 'lxml' from '/usr/lib/python2.5/site-packages/lxml/__init__.pyc'>
python -c 'import lxml.etree; print lxml.etree.LXML_VERSION'
(1, 3, 6, 0)
Obviously the lxml version is too old as you may have expected. I then looked
in the Synaptic package manager and saw the version 1.3.6-1, and it also stated
in the column 'Latest Version'=1.3.6-1.
This got the best of me since i didn't understand why it considered this
version as the latest, so I asked in the GnuRadio IRC Channel. Someone there
said that lxml version 2.x.x demands Ubuntu 8.10 or newer.
Do you agree with this? It certainly make sense with the 'latest version'
problem. If this is true my Ubunutu 8.04 is unable to install this component
anyway. So can I upgrade Ubuntu to make this work or should I simply remove it
and Install the newest version (9.04)?
The reason why I installed 8.04 in the first place was because I got errors
trying to install 9.04 from Windows XP (Wubi). This is however a completely
different matter to be solved...
Thank you for your time Josh.
Regards
Anton
________________________________________
Från: Josh Blum [[email protected]]
Skickat: den 16 september 2009 18:21
Till: Anton K Skårbratt
Cc: [email protected]
Ämne: Re: GNU Radio - Skipped components
It seems that lxml cannot be imported, or the version checking isnt
working, or wrong. Try to run these commands and post the output:
python -c 'import lxml; print lxml'
python -c 'import lxml.etree; print lxml.etree'
python -c 'import lxml.etree; print lxml.etree.LXML_VERSION'
-Josh
--------------------------------------------
Some problem with Python lxml wrappers? I don't know what to do. Have tried installing
libxml2, libxslt1.1, cython as previous mails in the list suggestes.. All saying "
is already the newest version".
Also "sudo apt-get -y install python-lxml" returns " is already the newest
version".
I will be thankful for advice concerning the other non-built components as
well. I am quite new in Linux so maybe i have missed something obvious?
Regards
Anton
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio