Page 1 of 1
[REPO] emesene-1.5 awesome
Posted: 1. Sep 2009, 12:36
by stillborn
Re: emesene-1.5 awesome
Posted: 1. Sep 2009, 19:06
by gapan
Correct flags are not used. This is a weird case, because there is nothing you can do in your build files. You need to edit a system file:
/usr/lib/python2.6/config/Makefile and change the
Code: Select all
OPT= -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
line to
Code: Select all
OPT= -DNDEBUG -g -fwrapv -O2 -march=i486 -mtune-i686 -Wall -Wstrict-prototypes
That way, every similarly weird app you build from then on, will be built with correct flags.
Also pygtk and pycairo should be added to the dep file too.
Re: emesene-1.5 awesome
Posted: 1. Sep 2009, 20:04
by gapan
Oh, also arch should be i486, not noarch!
Re: emesene-1.5 awesome
Posted: 2. Sep 2009, 06:19
by stillborn
gapan wrote:Correct flags are not used. This is a weird case, because there is nothing you can do in your build files. You need to edit a system file:
/usr/lib/python2.6/config/Makefile and change the
Code: Select all
OPT= -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
line to
Code: Select all
OPT= -DNDEBUG -g -fwrapv -O2 -march=i486 -mtune-i686 -Wall -Wstrict-prototypes
That way, every similarly weird app you build from then on, will be built with correct flags.
Also pygtk and pycairo should be added to the dep file too.
It won't build if I change the python config file.
Re: emesene-1.5 awesome
Posted: 2. Sep 2009, 06:24
by gapan
I see, leave it like this then.
Re: emesene-1.5 awesome
Posted: 2. Sep 2009, 09:27
by stillborn
Dep file fixed.
. Also very good information here in these threads
Re: emesene-1.5 awesome
Posted: 2. Sep 2009, 16:10
by gapan
You forgot to include pygobject in the dep file (because I forgot to tell you about it).
Also, you didn't change the arch to i486.
And, it really is not a good idea to create the dep file inside the buildscript. Just remove that part altogether.
Re: [REPO] emesene-1.5 awesome
Posted: 5. Sep 2009, 19:31
by stillborn
Re-built with correct flags this time, first post edited.
Re: [REPO] emesene-1.5 awesome
Posted: 5. Sep 2009, 20:36
by gapan
Uploaded!
Re: [REPO] emesene-1.5 awesome
Posted: 10. Sep 2009, 00:12
by stillborn