[PyKDE] internal error building sip4.0pre4

Phil Thompson phil at riverbankcomputing.co.uk
Tue Nov 25 19:41:01 GMT 2003


On Tuesday 25 November 2003 3:14 pm, michael ferraro wrote:
> 1.  -- FIRST  TRY --
>
> python configure.py -l "qt-mt" -p macx-g++
> Error: specs/macx-g++: environment variable 'TB' is not defined.

That's odd as macx-g++ is the default platform if Python reports sys.platform 
as darwin, so your first and second tries should be the same.

> 2.  -- SECOND TRY --
>
> [Wheezer:/Developer/sip-x11-gpl-snapshot-20031124] mef% python

It's a bug in the line continuation handling. It will be fixed in tonight's 
snapshot - or add the following around line 488 in configure.py...

    while line:
        # Handle line continuations.
        while len(line) > 1 and line[-2] == "\\":
            line = line[:-2]              # Add this line

            next = f.readline()

Phil




More information about the PyQt mailing list