Re: [E-devel] e17 on on MacOS-X 10.5 - wiki updated

2010-04-20 Thread Vincent Torri


On Mon, 19 Apr 2010, Dave Ray wrote:

 Btw, another question: did you try to compile and test elementary ?

so ?


 I am not sure that evas configure was the problem. The problem may have been 
 with ecore all along. At the time, I was working in brute-force mode. I will 
 re-check this. e17 definitely threw an error about software X11 in evas but 
 it wasn't clear if the problem was from evas or ecore's default config.

anyway, please launch ./configure (without ana option) and paste in 
pastebin:

1) the informations at the end of configure execution
2) config.log

thank you

Vincent

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 on on MacOS-X 10.5 - wiki updated

2010-04-20 Thread Dave Ray
I just retested the default config for evas, on MacOS-X.
...
Software X11...: yes (Xlib: yes) (XCB: no)

And the default config for ecore:
...
Ecore_X..: no
...
Ecore_Evas...: yes
Software X11...: no

So it looks like I was wrong about evas needing to specify the  
simple_X11 flag in the config.
Looks like ecore needs the optional flags set.

I'll update the wiki, but have one more test to do:

I'm setting up a fresh OS install without the legacy of apps and libs  
on my main system, so that I can repeat the whole install process on a  
clean system. I'm sure I'll have some additional changes. I'll report  
what I find and update the wiki from that. I'll also use the order you  
recommended.

Dave


On Apr 19, 2010, at 1:08 PM, Vincent Torri wrote:



 On Mon, 19 Apr 2010, Dave Ray wrote:

 1) are you *sure* that e_dbus must be compiled *before* eina and  
 ecore ?

 No, definitely not. Some of the libs have an order dependency, some  
 not. I would like to be more explicit but couldn't find  
 documentation on the dependencies of all the libs, or the order to  
 compile. This list was the result of trial and error.

 order:

 eina
 eet
 evas
 ecore
 embryo
 edje
 efreet
 e_dbus
 e17

 efree, e_dbus and edje depend only on ecore (and its deps) so they  
 can be compiled in any order after ecore has been installed.

 embryo does not depend on anything but is usually compiled just  
 before edje, as only edje is using it.

 Btw, another question: did you try to compile and test elementary ?

 2) why do you need --enable-simple-x11 when configuring evas ?

 e17 threw an error that software-X11 was not compiled into  
 ecore_evas.

 I added this flag to evas initially, and then got a different e17  
 error that ecore was missing ecore_evas_software_X11. So I added  
 the flag to ecore as well.

 EFL can be used without X11 in principle, to develop Cocoa apps  
 without X11. So it's not unreasonable for software_X11 to be off by  
 default. That's just a guess why I had to set the flag manually.

 if you just run evas configure (without any flag), in the configure  
 output, is the software Xlib enabled ? If not, paste in pastebin the  
 config.h file. There is a problem that must be fixed. The detection  
 should be automatic (see line 118 of evas configure.ac)

 The logic about Xlib in evas and ecore:

 a) evas builds the Xlib engine as a shared lib

 b) ecore builds ecore-x for the different functions about X  
 programming and ecore-evas Xlib part checks if
  i) the Xlib evas engine is installed
  ii) ecore-x is built.

 So if the Xlib evas engine or ecore-x are not built, ecore-evas will  
 not have the Xlib support and e17 will not work.

 3) About the prerequiqites, you say that one must download them.  
 Where ? In the official web site of these libraries ?

 Yes. Should I provide links to those?

 well, see how i did for Windows:

 http://trac.enlightenment.org/e/wiki/EFLWindowsXP

 Vincent


--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 on on MacOS-X 10.5 - wiki updated

2010-04-20 Thread Dave Ray
You had asked if I tried to compile elementary on MacOS-X.

The elementary package from the Dec 2009 snapshot is a single  
directory containing the usual autogen.sh, etc. The configure script  
finishes without error, but it fails on make:
...
In file included from ./Elementary.h:70,
  from elm_main.c:15:
/usr/local/include/Ecore_Job.h:44: error: conflicting types for  
'Ecore_Job'
/usr/local/include/Ecore.h:155: error: previous declaration of  
'Ecore_Job' was here
...

The elementary package in the current svn contains four  
subdirectories: calculator, converter, phonebook, sticky-notes. I  
tried to run ./autogen.sh in calculator, and it fails the configure  
script:
...
checking for working alloca.h... yes
checking for alloca... yes
checking for __attribute__... yes
./configure: line 11279: syntax error near unexpected token  
`ELEMENTARY,'
./configure: line 11279: `PKG_CHECK_MODULES(ELEMENTARY, elementary)'

That's as far as I've gotten on elementary.


Dave


On Apr 19, 2010, at 1:08 PM, Vincent Torri wrote:

 Btw, another question: did you try to compile and test elementary ?

--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 on on MacOS-X 10.5 - wiki updated

2010-04-20 Thread Vincent Torri


On Tue, 20 Apr 2010, Dave Ray wrote:

 I just retested the default config for evas, on MacOS-X.
 ...
 Software X11...: yes (Xlib: yes) (XCB: no)

good.

 And the default config for ecore:
 ...
 Ecore_X..: no
 ...
 Ecore_Evas...: yes
 Software X11...: no

that one is normal, i've disabled X11 by default on darwin. So you have to 
pass the options you used.

 I'll update the wiki, but have one more test to do:

 I'm setting up a fresh OS install without the legacy of apps and libs on my 
 main system, so that I can repeat the whole install process on a clean 
 system. I'm sure I'll have some additional changes. I'll report what I find 
 and update the wiki from that. I'll also use the order you recommended.

thank you

Vincent

--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 on on MacOS-X 10.5 - wiki updated

2010-04-20 Thread Vincent Torri


On Tue, 20 Apr 2010, Dave Ray wrote:

 You had asked if I tried to compile elementary on MacOS-X.

 The elementary package from the Dec 2009 snapshot is a single directory 
 containing the usual autogen.sh, etc. The configure script finishes without 
 error, but it fails on make:
 ...
 In file included from ./Elementary.h:70,
from elm_main.c:15:
 /usr/local/include/Ecore_Job.h:44: error: conflicting types for 'Ecore_Job'
 /usr/local/include/Ecore.h:155: error: previous declaration of 'Ecore_Job' 
 was here

use only the svn code. Also, you have an olf ecore-job installed. 
ecore-job have been integrated into ecore 'core'. So Ecore_Job.h and all 
the ecore_job libs must be removed.

 The elementary package in the current svn contains four subdirectories: 
 calculator, converter, phonebook, sticky-notes. I tried to run ./autogen.sh 
 in calculator, and it fails the configure script:
 ...
 checking for working alloca.h... yes
 checking for alloca... yes
 checking for __attribute__... yes
 ./configure: line 11279: syntax error near unexpected token `ELEMENTARY,'
 ./configure: line 11279: `PKG_CHECK_MODULES(ELEMENTARY, elementary)'

you need first elementary that is in TMP/st/elementary.

Vincent

--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 on on MacOS-X 10.5 - wiki updated

2010-04-19 Thread Dave Ray
Wiki for Mac-OS X has been totally re-written.

http://trac.enlightenment.org/e/wiki/MACOSX

Is there a way to delete the old attachments from the wiki that are  
linked to non-existent files?



On Apr 19, 2010, at 2:54 AM, Vincent Torri wrote:


 Have you written a wiki guide on how you did it all? Would be awesome
 for the community to have that.. I imagine Manowarriror would like
 that once his Mac is fixed. :)

 look in the wiki first...

 http://trac.enlightenment.org/e/wiki/MACOSX

 though it must be improved

 Vincent


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 on on MacOS-X 10.5 - wiki updated

2010-04-19 Thread Vincent Torri


On Mon, 19 Apr 2010, Dave Ray wrote:

 Wiki for Mac-OS X has been totally re-written.

thank you.

 http://trac.enlightenment.org/e/wiki/MACOSX

I'll manage the formatting / layout of the wiki. Though, some questions:

1) are you *sure* that e_dbus must be compiled *before* eina and ecore ?
2) why do you need --enable-simple-x11 when configuring evas ?
3) About the prerequiqites, you say that one must download them. Where ? 
In the official web site of these libraries ?

 Is there a way to delete the old attachments from the wiki that are
 linked to non-existent files?

It seems that it is a problem with the wiki. I don't know much trac. Maybe 
someone should ask in #trac

thank you for updating the wiki !

Vincent

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 on on MacOS-X 10.5 - wiki updated

2010-04-19 Thread Dave Ray
On Apr 19, 2010, at 12:18 PM, Vincent Torri wrote:

 http://trac.enlightenment.org/e/wiki/MACOSX

 I'll manage the formatting / layout of the wiki. Though, some  
 questions:

 1) are you *sure* that e_dbus must be compiled *before* eina and  
 ecore ?

No, definitely not. Some of the libs have an order dependency, some  
not. I would like to be more explicit but couldn't find documentation  
on the dependencies of all the libs, or the order to compile. This  
list was the result of trial and error.

 2) why do you need --enable-simple-x11 when configuring evas ?

e17 threw an error that software-X11 was not compiled into ecore_evas.

I added this flag to evas initially, and then got a different e17  
error that ecore was missing ecore_evas_software_X11. So I added the  
flag to ecore as well.

EFL can be used without X11 in principle, to develop Cocoa apps  
without X11. So it's not unreasonable for software_X11 to be off by  
default. That's just a guess why I had to set the flag manually.

 3) About the prerequiqites, you say that one must download them.  
 Where ? In the official web site of these libraries ?

Yes. Should I provide links to those?

 Is there a way to delete the old attachments from the wiki that are
 linked to non-existent files?

 It seems that it is a problem with the wiki. I don't know much trac.  
 Maybe someone should ask in #trac

I haven't looked at them, but I'm not sure if they are relevant in the  
current iteration of the wiki.

-Dave

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 on on MacOS-X 10.5 - wiki updated

2010-04-19 Thread Vincent Torri


On Mon, 19 Apr 2010, Dave Ray wrote:

 1) are you *sure* that e_dbus must be compiled *before* eina and ecore ?

 No, definitely not. Some of the libs have an order dependency, some not. I 
 would like to be more explicit but couldn't find documentation on the 
 dependencies of all the libs, or the order to compile. This list was the 
 result of trial and error.

order:

eina
eet
evas
ecore
embryo
edje
efreet
e_dbus
e17

efree, e_dbus and edje depend only on ecore (and its deps) so they can be 
compiled in any order after ecore has been installed.

embryo does not depend on anything but is usually compiled just before 
edje, as only edje is using it.

Btw, another question: did you try to compile and test elementary ?

 2) why do you need --enable-simple-x11 when configuring evas ?

 e17 threw an error that software-X11 was not compiled into ecore_evas.

 I added this flag to evas initially, and then got a different e17 error that 
 ecore was missing ecore_evas_software_X11. So I added the flag to ecore as 
 well.

 EFL can be used without X11 in principle, to develop Cocoa apps without X11. 
 So it's not unreasonable for software_X11 to be off by default. That's just a 
 guess why I had to set the flag manually.

if you just run evas configure (without any flag), in the configure 
output, is the software Xlib enabled ? If not, paste in pastebin the 
config.h file. There is a problem that must be fixed. The detection should 
be automatic (see line 118 of evas configure.ac)

The logic about Xlib in evas and ecore:

a) evas builds the Xlib engine as a shared lib

b) ecore builds ecore-x for the different functions about X programming 
and ecore-evas Xlib part checks if
   i) the Xlib evas engine is installed
   ii) ecore-x is built.

So if the Xlib evas engine or ecore-x are not built, ecore-evas will not 
have the Xlib support and e17 will not work.

 3) About the prerequiqites, you say that one must download them. Where ? In 
 the official web site of these libraries ?

 Yes. Should I provide links to those?

well, see how i did for Windows:

http://trac.enlightenment.org/e/wiki/EFLWindowsXP

Vincent

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 on on MacOS-X 10.5 - wiki updated

2010-04-19 Thread Dave Ray

On Apr 19, 2010, at 1:08 PM, Vincent Torri wrote:

 order:

 eina
 eet
 evas
 ecore
 embryo
 edje
 efreet
 e_dbus
 e17

 efree, e_dbus and edje depend only on ecore (and its deps) so they  
 can be compiled in any order after ecore has been installed.

 embryo does not depend on anything but is usually compiled just  
 before edje, as only edje is using it.

OKay, good, I will update the wiki with this.

 Btw, another question: did you try to compile and test elementary ?

 2) why do you need --enable-simple-x11 when configuring evas ?

 e17 threw an error that software-X11 was not compiled into  
 ecore_evas.

 I added this flag to evas initially, and then got a different e17  
 error that ecore was missing ecore_evas_software_X11. So I added  
 the flag to ecore as well.

 EFL can be used without X11 in principle, to develop Cocoa apps  
 without X11. So it's not unreasonable for software_X11 to be off by  
 default. That's just a guess why I had to set the flag manually.

 if you just run evas configure (without any flag), in the configure  
 output, is the software Xlib enabled ? If not, paste in pastebin the  
 config.h file. There is a problem that must be fixed. The detection  
 should be automatic (see line 118 of evas configure.ac)

I am not sure that evas configure was the problem. The problem may  
have been with ecore all along. At the time, I was working in brute- 
force mode. I will re-check this. e17 definitely threw an error about  
software X11 in evas but it wasn't clear if the problem was from evas  
or ecore's default config.

-Dave



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel