Follow-up on building EFL

2 views
Skip to first unread message

Ademar de Souza Reis Jr.

unread,
Jan 29, 2008, 1:47:48 PM1/29/08
to amora...@googlegroups.com
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.

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!

Tomaz Noleto

unread,
Jan 29, 2008, 9:10:44 PM1/29/08
to amora...@googlegroups.com
Hello!

On Jan 29, 2008 2:47 PM, Ademar de Souza Reis Jr. <adema...@gmail.com> wrote:

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


This GIT repositories are "mirrors" which get updated from CVS in a hourly basis, so the build system (and the probably the entire code) is the same. BTW, there is a Web interface for GIT repos at http://staff.get-e.org/,  where you can see recent commits.

If I remember correctly, the only significant difference is that there is a 'build-all.sh' script on the top of python-efl dir in CVS, which is supposed to build and install the bindings in the right order. You could try it, anyway.
 


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

I don't know what exactly it means but everything is working fine here. :)

 


I'll try to use the upstream version (from the CVS) and let you know
of my results. 

Ok, thanks.

[]'z

- Tomaz
 

Ademar de Souza Reis Jr.

unread,
Jan 30, 2008, 10:26:49 AM1/30/08
to amora...@googlegroups.com
On Jan 30, 2008 12:10 AM, Tomaz Noleto <tno...@gmail.com> wrote:
> Hello!
>
>
> On Jan 29, 2008 2:47 PM, Ademar de Souza Reis Jr. <adema...@gmail.com>
> wrote:

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

Ademar de Souza Reis Jr.

unread,
Jan 30, 2008, 1:44:50 PM1/30/08
to amora...@googlegroups.com

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

Reply all
Reply to author
Forward
0 new messages