Re: [Interest] Forcing version of python when building on CentOS6, also, versions for flex and bison

2015-02-14 Thread Simon Matthews


On Fri, 13 Feb 2015, Harri Pasanen wrote:

 On 13/02/2015 05:30, Simon Matthews wrote:

 In my quest to build Qt5 with WebKit on CentOS5, I have come across
 another problem. As stated, the build requires python 2.6 or later. The
 default version of Python on CentOS 5 is 2.4. There is a Python26 package
 available and I have installed this.


 I wonder what would the build require from python that is in python 2.6
 but not in python 2.4?

There were only a very few places where this was an issue. When building 
without ICU (and hence, without WebKit), the build was successful with 
Python 2.4

It would probably take only a couple of small patches to make the code 
compatible with python 2.4.

Simon
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Forcing version of python when building on CentOS6, also, versions for flex and bison

2015-02-12 Thread Thiago Macieira
On Thursday 12 February 2015 20:30:45 Simon Matthews wrote:
 In my quest to build Qt5 with WebKit on CentOS5, I have come across
 another problem. As stated, the build requires python 2.6 or later. The
 default version of Python on CentOS 5 is 2.4. There is a Python26 package
 available and I have installed this.
 
 The python26 package installs the executable into /usr/bin/python26. How
 do I make the build process use this? I have tried aliasing: alias
 python=python26
 however, the build still seems to use python 2.4 (/usr/bin/python). There
 doesn't seem to be a configuration option to set the python binary.

Alias doesn't apply to the search paths. Try creating a dir with a symlink 
python - /usr/bin/python26 and set that in PATH before /usr/bin.

Though that might not be enough, as several scripts search directly for 
/usr/bin/python. You may have to change your default system-wide.


-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] Forcing version of python when building on CentOS6, also, versions for flex and bison

2015-02-12 Thread Simon Matthews


In my quest to build Qt5 with WebKit on CentOS5, I have come across 
another problem. As stated, the build requires python 2.6 or later. The 
default version of Python on CentOS 5 is 2.4. There is a Python26 package 
available and I have installed this.

The python26 package installs the executable into /usr/bin/python26. How 
do I make the build process use this? I have tried aliasing: alias 
python=python26
however, the build still seems to use python 2.4 (/usr/bin/python). There 
doesn't seem to be a configuration option to set the python binary.

Also, what are the minimum versions of flex and bison? I think that the 
build will need a newer version of flex (am looking at some errors right 
now that imply this) and perhaps a newer version of bison.

I found that I need to enable opengl in order for the build of WebKit to 
be successful and now dealing with new issues.

Simon

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Forcing version of python when building on CentOS6, also, versions for flex and bison

2015-02-12 Thread Harri Pasanen
On 13/02/2015 05:30, Simon Matthews wrote:

 In my quest to build Qt5 with WebKit on CentOS5, I have come across
 another problem. As stated, the build requires python 2.6 or later. The
 default version of Python on CentOS 5 is 2.4. There is a Python26 package
 available and I have installed this.


I wonder what would the build require from python that is in python 2.6 
but not in python 2.4?

Just curious, being a regular user of python.

Harri
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest