Re: [E-devel] Python-Efl doesn't compile

2016-10-25 Thread Andrew Williams
Thanks for that. Everything was working fine except the Python lookups as root due to profile.d or whatever alternatives seemingly not contributing to the sudo environment. It would benefit from more investigation but for now it's working with Python-efl as well. Cheers, Andy On Tue, 25 Oct 2016

Re: [E-devel] Python-Efl doesn't compile

2016-10-25 Thread Jérémy Zurcher
On Tuesday 25 October 2016 10:41, Al Poole wrote : > > > > > > With a distro maintainer hat on a script like this shouldn't install to > > /usr by default that will cause alot of issues with package managers etc > > so either /usr/local or /opt is the correct place, at the same time this > >

Re: [E-devel] Python-Efl doesn't compile

2016-10-25 Thread Simon Lees
On 10/25/2016 08:11 PM, Al Poole wrote: >> >> >> With a distro maintainer hat on a script like this shouldn't install to >> /usr by default that will cause alot of issues with package managers etc >> so either /usr/local or /opt is the correct place, at the same time this >> means that the

Re: [E-devel] Python-Efl doesn't compile

2016-10-25 Thread Al Poole
> > > With a distro maintainer hat on a script like this shouldn't install to > /usr by default that will cause alot of issues with package managers etc > so either /usr/local or /opt is the correct place, at the same time this > means that the script probably needs to make some symlinks into /etc

Re: [E-devel] Python-Efl doesn't compile

2016-10-25 Thread Simon Lees
On 10/25/2016 07:22 PM, Davide Andreoli wrote: > 2016-10-25 1:08 GMT+02:00 Simon Lees : > >> >> >> On 10/25/2016 08:58 AM, Andrew Williams wrote: >>> That could work but it may have needed lots more env passed in. On IRC >> dave >>> pointed out that sudo -E should work, and it

Re: [E-devel] Python-Efl doesn't compile

2016-10-25 Thread Al Poole
Yeah, Each system should have a prefix that best suits it. Between OS and even Linux distributions prefix changes could be difficult to accommodate, at least completely. I don't suppose the prefix matters so much if EFLer fully respects that. Maybe it should be down to the judgement of those

Re: [E-devel] Python-Efl doesn't compile

2016-10-25 Thread Andrew Williams
Hi, Actually this is not caused by efler - default is /usr/local and that also is not in default path so the same problem exists with a vanilla setup. One of the design requirements for efler was that it is isolated and so can be easily removed if needed - thus a prefix. Is saves confusion with

Re: [E-devel] Python-Efl doesn't compile

2016-10-25 Thread Davide Andreoli
2016-10-25 1:08 GMT+02:00 Simon Lees : > > > On 10/25/2016 08:58 AM, Andrew Williams wrote: > > That could work but it may have needed lots more env passed in. On IRC > dave > > pointed out that sudo -E should work, and it did :) > > > While it works it also adds additional

Re: [E-devel] Python-Efl doesn't compile

2016-10-25 Thread Davide Andreoli
2016-10-25 0:27 GMT+02:00 Andrew Williams : > By way of an additional apology Python-efl can now be installed / managed > from efler. > > I have not got any of the great Python apps in there yet as it's currently > only capable of using the e.org git - is there any reason

Re: [E-devel] Python-Efl doesn't compile

2016-10-25 Thread Massimo Maiurana
One python app that worth installing is econnman, which is the only one I use :) Bye Massimo Il 25 ottobre 2016 00:27:07 CEST, Andrew Williams ha scritto: >By way of an additional apology Python-efl can now be installed / >managed >from efler. > >I have not got any of

Re: [E-devel] Python-Efl doesn't compile

2016-10-24 Thread Simon Lees
On 10/25/2016 08:58 AM, Andrew Williams wrote: > That could work but it may have needed lots more env passed in. On IRC dave > pointed out that sudo -E should work, and it did :) > While it works it also adds additional security risks due to the potential for environment variable injection so

Re: [E-devel] Python-Efl doesn't compile

2016-10-24 Thread Andrew Williams
By way of an additional apology Python-efl can now be installed / managed from efler. I have not got any of the great Python apps in there yet as it's currently only capable of using the e.org git - is there any reason why egitu etc are available only on GitHub? Thanks for the help, Andy On Mon,

Re: [E-devel] Python-Efl doesn't compile

2016-10-24 Thread Andrew Williams
That could work but it may have needed lots more env passed in. On IRC dave pointed out that sudo -E should work, and it did :) On Mon, 24 Oct 2016 at 20:46, Massimo Maiurana wrote: > Uh? > > I usually install in /opt/e17 via sudo just exporting >

Re: [E-devel] Python-Efl doesn't compile

2016-10-24 Thread Massimo Maiurana
Uh? I usually install in /opt/e17 via sudo just exporting PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/e17/lib/pkgconfig, maybe you can set something similar in your scripts. Bye Massimo Andrew Williams ha scritto il 24/10/2016 alle 20:59: > Hi, > > The sudo python setup.py install does not work as

Re: [E-devel] Python-Efl doesn't compile

2016-10-24 Thread Davide Andreoli
2016-10-24 20:56 GMT+02:00 Massimo Maiurana : > Davide Andreoli ha scritto il 24/10/2016 alle 19:16: > > 2016-10-23 21:35 GMT+02:00 Massimo Maiurana : > > > >> Davide Andreoli ha scritto il 23/10/2016 alle 21:19: > >>> Hi > >>> this is somehow related to a

Re: [E-devel] Python-Efl doesn't compile

2016-10-24 Thread Andrew Williams
Hi, The sudo python setup.py install does not work as sodos pkgconfig cannot find efl it seems... Andy On Mon, 24 Oct 2016 at 18:26, Davide Andreoli wrote: > 2016-10-23 21:42 GMT+02:00 Andrew Williams : > > > My apologies you are quite right - it

Re: [E-devel] Python-Efl doesn't compile

2016-10-24 Thread Massimo Maiurana
Davide Andreoli ha scritto il 24/10/2016 alle 19:16: > 2016-10-23 21:35 GMT+02:00 Massimo Maiurana : > >> Davide Andreoli ha scritto il 23/10/2016 alle 21:19: >>> Hi >>> this is somehow related to a commit I have done some days ago to cleanup >>> compiler warnings. >>> >>> It

Re: [E-devel] Python-Efl doesn't compile

2016-10-24 Thread Davide Andreoli
2016-10-23 21:42 GMT+02:00 Andrew Williams : > My apologies you are quite right - it is building just fine. Sorry for > that, my info was out of date > :) > I can't get it installed however - perhaps you can help? Regular user > cannot write to site-packages but sudo does

Re: [E-devel] Python-Efl doesn't compile

2016-10-24 Thread Davide Andreoli
2016-10-23 21:35 GMT+02:00 Massimo Maiurana : > Davide Andreoli ha scritto il 23/10/2016 alle 21:19: > > Hi > > this is somehow related to a commit I have done some days ago to cleanup > > compiler warnings. > > > > It build fine here, seems you have a more strict compiler

Re: [E-devel] Python-Efl doesn't compile

2016-10-23 Thread Andrew Williams
My apologies you are quite right - it is building just fine. Sorry for that, my info was out of date I can't get it installed however - perhaps you can help? Regular user cannot write to site-packages but sudo does not have efl paths setup. Is it possible to make it work like the main build so

Re: [E-devel] Python-Efl doesn't compile

2016-10-23 Thread Massimo Maiurana
Davide Andreoli ha scritto il 23/10/2016 alle 21:19: > Hi > this is somehow related to a commit I have done some days ago to cleanup > compiler warnings. > > It build fine here, seems you have a more strict compiler than mine :/ > The error is: > cc1: some warnings being treated as errors > >

Re: [E-devel] Python-Efl doesn't compile

2016-10-23 Thread Davide Andreoli
2016-10-22 16:18 GMT+02:00 Andrew Williams : > I'm pretty sure the python bindings have not been updated in a while. As > our development moves on so quickly these unmaintained portions fall behind > fast. > really sure? did you follow the git commit list? maybe you missed

Re: [E-devel] Python-Efl doesn't compile

2016-10-23 Thread Davide Andreoli
Hi this is somehow related to a commit I have done some days ago to cleanup compiler warnings. It build fine here, seems you have a more strict compiler than mine :/ The error is: cc1: some warnings being treated as errors there is a warning: "error: format not a string literal and no format

Re: [E-devel] Python-Efl doesn't compile

2016-10-22 Thread Andrew Williams
I'm pretty sure the python bindings have not been updated in a while. As our development moves on so quickly these unmaintained portions fall behind fast. If we can resolve this then I will be able to pop python-efl and the apps that rely on it into the Efler app installer :) Andrew On Sat, 22

[E-devel] Python-Efl doesn't compile

2016-10-22 Thread Massimo Maiurana
I don't know if it's something wrong in my setup, but lately I'm not able to build Python bindings anymore. I attach the build log to preserve its lines length. -- Massimo Maiurana Ragusa (RG) fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary