[okl4-developer] Unable to find package: libs/gstreamerwhen build example=posix
Frank Kaiser
frank.kaiser at opensynergy.com
Thu Oct 16 20:34:00 EST 2008
Hello, Geoffrey
I don't think that the observed error is a problem of Python2.5, but is
a problem of the statement in line 2959: infact there is the local
variable 'x' referenced w/o having been assigned. The difference between
Python2.5 and Python2.4 seems to be that Python2.4 does not parse the
'raise UserError' statement as long as the preceding 'if' condition
(line 2958) is not true, and therefore does not see the error. The
statement in question is a copy of the one in line 2964, but from the
content of the 'if' statement before, which is identical to the one in
line 2952, I derive that a copy of the 'raise UserError' statement at
line 2953 should be placed at line 2959.
When you newly install one of the main LINUX distributions on a
computer, you get Python2.5 by default, and there are applications
requiring that version. I see it as a shortcoming that you have to
install Python2.4 additionally, just because the OKL4 build system is
not fit for the actual Python version.
Regards
Frank
> -----Original Message-----
> From: developer-bounces at okl4.org [mailto:developer-bounces at okl4.org]
On Behalf
> Of Geoffrey Lee
> Sent: Thursday, October 16, 2008 9:48 AM
> To: Bob
> Cc: developer at okl4.org
> Subject: Re: [okl4-developer] Unable to find package:
libs/gstreamerwhen build
> example=posix
>
> On Thu, Oct 16, 2008 at 03:25:48PM +0800, Bob wrote:
> >
> > I have tar zxvf OKL4 2.1.1-patch.9, and try to build it again. And
still
> these error.
> >
> >
> > My Python is 2.5.2.Host machine is RedHat Enterprise 4.
>
> This is a problem with python 2.5, try python2.4, the python we use is
> python 2.4.4c1.
>
> -gl
> > ...
> > >> ./tools/build.py machine=ia32_pc99 project=iguana test_libs=all
simulate
> > >> always get this
> > >> tools/build.py:2959 Error: local variable 'x' referenced before
assignment
> > > ...
More information about the Developer
mailing list