[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Python error building RPM on RedHat 7.3

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2004-07-10 22:07:11 CEST

On Sat, 10 Jul 2004, Russell Yanofsky wrote:

> David Summers wrote:
> > I'm trying to build the RedHat 7.3 RPM and here is the error I'm
> > getting:
> >
> > Creating build-outputs.mk...
> > Traceback (innermost last):
> > File "./gen-make.py", line 176, in ?
> > main(conf, gentype, skip_depends=skip, other_options=rest.list)
> > File "./gen-make.py", line 38, in main
> > gen_module = __import__(gen_modules[gentype][0])
> > File "build/generator/gen_make.py", line 9, in ?
> > import gen_base
> > File "build/generator/gen_base.py", line 642
> > class_pkg = build_path_join(*class_pkg_list)
> > ^
> > SyntaxError: invalid syntax
> > ERROR: gen-make.py failed
> >
> >
> > Any ideas? Is there something here that doesn't work with Python 2.2?
>
> That call syntax should be supported in python 2.2. Are you sure you are not
> using an earlier version of python?
>

RedHat 7.3 comes with both python 1.5.2 and python 2.2. My guess is that
the default is 1.5.2. Is python 2.2 a new requirement for the build?

How can I determine which version the build is using?

(This was working several weeks ago).

   Thanks!

-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 10 22:07:29 2004

This is an archived mail posted to the Subversion Dev mailing list.