View this page "Building EFL"

1 view
Skip to first unread message

Tomaz Noleto

unread,
Jan 20, 2008, 9:55:37 PM1/20/08
to Amora Developers
Hi guys,

I have just set this page with the steps required to build the basics
of Enlightenment Foundation Libraries. For the ones who will try it,
please report if the howto is ok or if you get stucked in any part
that is not well described.

http://groups.google.com/group/amora-devel/web/building-efl

br,

- Tomaz

caval...@gmail.com

unread,
Jan 22, 2008, 8:30:53 AM1/22/08
to Amora Developers
Tomaz

Well done, dude! I will make a clean installing of
_insert_random_distro
and try to follow the instructions to see if they work.

Regards


Adenilson

Ademar de Souza Reis Jr.

unread,
Jan 22, 2008, 3:14:11 PM1/22/08
to amora...@googlegroups.com
On Jan 21, 2008 12:55 AM, Tomaz Noleto <tno...@gmail.com> wrote:
>
> Hi guys,

Hi Tomaz.

>
> I have just set this page with the steps required to build the basics
> of Enlightenment Foundation Libraries. For the ones who will try it,
> please report if the howto is ok or if you get stucked in any part
> that is not well described.

Thanks for the howto. I've managed to get to the last part, but now
I'm stuck with an error when building python-ecore:

[ademar@localhost python-ecore]$ ./build.sh /usr
running build_ext
cythoning ecore/ecore.c_ecore.pyx to ecore/ecore.c_ecore.c

Error converting Pyrex file to C:
------------------------------------------------------------
...
^
------------------------------------------------------------

/home/ademar/documents/projects/python-efl/python-ecore/ecore/ecore.c_ecore.pyx:1:8:
'evas.python.pxd' not found
building 'ecore.c_ecore' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
-fexceptions -fomit-frame-pointer -march=i586 -mtune=generic
-fasynchronous-unwind-tables -g -fPIC -I/usr/local/include -Iinclude
-I///usr/include/python2.5 -I/usr/include/python2.5 -c
ecore/ecore.c_ecore.c -o
build/temp.linux-i686-2.5/ecore/ecore.c_ecore.o
ecore/ecore.c_ecore.c:1:2: error: #error Do not use this file, it is
the result of a failed Pyrex compilation.
error: command 'gcc' failed with exit status 1
[ademar@localhost python-ecore]$

Any ideas?

Thanks,
- Ademar

--
Ademar de Souza Reis Jr. <ade...@ademar.org>
http://www.ademar.org/
http://blog.ademar.org/

^[:wq!

Tomaz Noleto

unread,
Jan 22, 2008, 9:14:01 PM1/22/08
to amora...@googlegroups.com
Hi Ademar,



On Jan 22, 2008 4:14 PM, Ademar de Souza Reis Jr. <adema...@gmail.com> wrote:

On Jan 21, 2008 12:55 AM, Tomaz Noleto <tno...@gmail.com> wrote:
>
> Hi guys,

Hi Tomaz.

>
> I have just set this page with the steps required to build the basics
> of Enlightenment Foundation Libraries. For the ones who will try it,
> please report if the howto is ok or if you get stucked in any part
> that is not well described.

Thanks for the howto. I've managed to get to the last part, but now
I'm stuck with an error when building python-ecore: 

[ademar@localhost python-ecore]$ ./build.sh /usr
running build_ext
cythoning ecore/ecore.c_ecore.pyx to ecore/ecore.c_ecore.c

Error converting Pyrex file to C:
------------------------------------------------------------
...
      ^
------------------------------------------------------------

/home/ademar/documents/projects/python-efl/python-ecore/ecore/ecore.c_ecore.pyx:1:8:
'evas.python.pxd' not found

It seems that python-ecore could not find python-evas. Have you installed python-evas without any problems (does your user 'ademar' have write permission to /usr)?

Anyway, there is a README file in python-ecore that points this exact error in the troubleshooting section. It might help you.

[]'z

- Tomaz

 

building 'ecore.c_ecore' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
-fexceptions -fomit-frame-pointer -march=i586 -mtune=generic
-fasynchronous-unwind-tables -g -fPIC -I/usr/local/include -Iinclude
-I///usr/include/python2.5 -I/usr/include/python2.5 -c
ecore/ecore.c_ecore.c -o
build/temp.linux-i686-2.5/ecore/ecore.c_ecore.o
ecore/ecore.c_ecore.c:1:2: error: #error Do not use this file, it is
the result of a failed Pyrex compilation.
error: command 'gcc' failed with exit status 1
[ademar@localhost python-ecore]$

Any ideas?

Thanks,
 - Ademar

--
Ademar de Souza Reis Jr. < ade...@ademar.org>
http://www.ademar.org/
http://blog.ademar.org/

^[:wq!






--
Tomaz Noleto
tno...@gmail.com

Ademar de Souza Reis Jr.

unread,
Jan 23, 2008, 7:49:22 AM1/23/08
to amora...@googlegroups.com

Oh, sorry for that. I forgot to mention I tried running it as root as
well. Same error.

>
> Anyway, there is a README file in python-ecore that points this exact error
> in the troubleshooting section. It might help you.

Apparently the problem is that the clean target doesn't remove
ecore/ecore.c_ecore.c. I don't remember the details, but I think I run
build.sh using sudo and the compilation broke somewhere. Then I tried
to rebuild it and was always getting this same error. Today I tried a
fresh git-clone and everything went fine, both as standard user (it
failed on the install part, as expected) and as root... :-)

Thanks for your help anyway. :-)

Luiz Irber

unread,
Mar 18, 2008, 1:13:45 PM3/18/08
to Amora Developers
Hi! I was trying to run the amora client in a desktop and noticed that
you forgot to build e_dbus and python-e_dbus. The instructions are the
same as above, but you have to get two more git repositories:

$ git clone http://staff.get-e.org/e17/libs/e_dbus.git/
$ git clone http://staff.get-e.org/e17/proto/python-efl/python-e_dbus.git/

And they must be built after ecore.

Luiz Irber

On Jan 23, 9:49 am, "Ademar de Souza Reis Jr." <ademar.r...@gmail.com>
wrote:
> On Jan 23, 2008 12:14 AM, Tomaz Noleto <tnol...@gmail.com> wrote:
>
>
>
> > Hi Ademar,
>
> > On Jan 22, 2008 4:14 PM, Ademar de Souza Reis Jr. <ademar.r...@gmail.com>
> > wrote:

caval...@gmail.com

unread,
Mar 18, 2008, 3:46:36 PM3/18/08
to Amora Developers
Luiz

Thanks a lot for the report. At the time the webpage was written, the
client was not using the edbus bindings (this was written later).

I already fixed the webpage, it should be fine now.


Regards


Adenilson

Click on http://groups.google.com/group/amora-devel/web/building-efl -
or copy & paste it into your browser's address bar if that doesn't
work.
Reply all
Reply to author
Forward
0 new messages