Today I tried to run the python-evas demos and amora for maemo, but
after facing more errors I'm almost giving up and downloading the full
CVS of the project (in the hope that the build-system from there will
be more mature/robust). But before this I'll report my last findings
in the hope someone may find it useful. BTW, I'm referring to the
building EFL howto on the wiki[1].
The demos (and amora) are failing with the following error:
Traceback (most recent call last):
File "./01-app_launcher.py", line 3, in <module>
import ecore
File "/home/ademar/documents/projects/python-efl/python-ecore/ecore/__init__.py",
line 3, in <module>
import c_ecore
ImportError: No module named c_ecore
Something went very wrong with the installation, and one sign of it is
that there are references to my $HOME inside the installed files,
which surely don't look right:
[root@localhost site-packages]# pwd
/usr/lib/python2.5/site-packages
[root@localhost site-packages]# cat python-ecore.egg-link
/home/ademar/documents/projects/python-efl/python-ecore
I'll try to use the upstream version (from the CVS) and let you know
of my results.
Thanks,
- Ademar
1. http://groups.google.com/group/amora-devel/web/building-efl
--
Ademar de Souza Reis Jr. <ade...@ademar.org>
http://www.ademar.org/
http://blog.ademar.org/
^[:wq!
Hi there.
Today I tried to run the python-evas demos and amora for maemo, but
after facing more errors I'm almost giving up and downloading the full
CVS of the project (in the hope that the build-system from there will
be more mature/robust).
But before this I'll report my last findings
in the hope someone may find it useful. BTW, I'm referring to the
building EFL howto on the wiki[1].
The demos (and amora) are failing with the following error:
Traceback (most recent call last):
File "./01-app_launcher.py", line 3, in <module>
import ecore
File "/home/ademar/documents/projects/python-efl/python-ecore/ecore/__init__.py",
line 3, in <module>
import c_ecore
ImportError: No module named c_ecore
Something went very wrong with the installation, and one sign of it is
that there are references to my $HOME inside the installed files,
which surely don't look right:
[root@localhost site-packages]# pwd
/usr/lib/python2.5/site-packages
[root@localhost site-packages]# cat python-ecore.egg-link
/home/ademar/documents/projects/python-efl/python-ecore
I'll try to use the upstream version (from the CVS) and let you know
of my results.
<snip>
> >
> > The demos (and amora) are failing with the following error:
> >
> > Traceback (most recent call last):
> > File "./01-app_launcher.py", line 3, in <module>
> > import ecore
> > File
> "/home/ademar/documents/projects/python-efl/python-ecore/ecore/__init__.py",
> > line 3, in <module>
> > import c_ecore
> > ImportError: No module named c_ecore
> >
> > Something went very wrong with the installation, and one sign of it is
> > that there are references to my $HOME inside the installed files,
> > which surely don't look right:
> >
> > [root@localhost site-packages]# pwd
> > /usr/lib/python2.5/site-packages
> > [root@localhost site-packages]# cat python-ecore.egg-link
> > /home/ademar/documents/projects/python-efl/python-ecore
>
> tnoleto@tnoleto-desktop:/usr/lib/python2.5/site-packages$ cat
> python-ecore.egg-link
> /home/tnoleto/development/e17-git/python-efl-test/python-ecore
ouch!
>
> I don't know what exactly it means but everything is working fine here. :)
Just out of curiosity, what happens if you delete (or change, as in
"make clean")
the source directory? (no, I didn't do that)
Well, I finally managed to fix it. Now it's working. There are two problems:
1. For some reason python was refusing to load the libraries from
/usr/local/lib. I had to use LD_LIBRARY_PATH or add it to
/etc/ld.so.conf manually.
2. Instead of installing the module, it's adding the .egg-link to
site-packages, referencing the source-directory. Maybe it's because
it's considered a development version...
Anyway, it's kind of working now. I can run maemo/amora and the demos :-)
Thanks,
- Ademar