Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] kdebindings . . .

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Jason Flatt <jason AT flattfamily.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] kdebindings . . .
  • Date: Wed, 9 Mar 2005 06:41:25 -0800

On Tuesday 08 March 2005 10:10 am, Eric Sandall wrote:
> Quoting Jason Flatt <jason AT flattfamily.com>:
> <snip>
>
> > Okay, it seems I was correct on that assumption. Here's the bug I filed
> > with KDE:
> > http://bugs.kde.org/show_bug.cgi?id=101077
> >
> > I'll be submitting a patch to Bugzilla momentarily.
>
> I notice in the bug that you're trying KDE 3.4.0-rc1, not the "stable"
> that's in test/stable. Does kdebindings 3.3.2 also fail this way for you or
> just their latest?
>
> -sandalle

I just tried it to verify. It has the same problem, in that QTDIR is set to
the includes variable:

Making all in python
make[3]: Entering directory `/usr/src/kdebindings-3.3.2/python'
cd sip && export QTDIR=/usr/include/ && /usr/bin/python configure.py
-b /usr/bin -d /usr/lib/python2.3/site-packages -e `echo
-I/usr/include/python2.3 | sed s/-I//` -l qt-mt -v /usr/share/sip/
Error: qglobal.h could not be found in /usr/include//include.
This is SIP 4.0.1 for Python 2.3 on linux2.
make[3]: *** [sipdone] Error 1
make[3]: Leaving directory `/usr/src/kdebindings-3.3.2/python'

After applying my patch, however, it displays the problem from one of the
other KDE bugs, http://bugs.kde.org/show_bug.cgi?id=93041:

Making all in python
make[3]: Entering directory `/usr/src/kdebindings-3.3.2/python'
cd sip && export QTDIR=/usr && /usr/bin/python configure.py -b /usr/bin
-d /usr/lib/python2.3/site-packages -e `echo -I/usr/include/python2.3 | sed
s/-I//` -l qt-mt -v /usr/share/sip/
Error: qglobal.h could not be found in /usr/include.
This is SIP 4.0.1 for Python 2.3 on linux2.
make[3]: Leaving directory `/usr/src/kdebindings-3.3.2/python'
make[3]: *** [sipdone] Error 1

You can actually see in that KDE bug report the same problem, where QTDIR is
set incorrectly:

Making all in python
make[2]: Entering directory `/usr/src/kdebindings-3.3.1/python'
cd sip && export QTDIR=/usr/include/ && /usr/bin/python configure.py
-b /usr/bin -d /usr/lib/python2.3/site-packages -e `echo
-I/usr/include/python2.3 | sed s/-I//` -l qt-mt -v /usr/share/sip/
This is SIP 4.0.1 for Python 2.3.4 on linux2.
Error: qglobal.h could not be found in /usr/include//include.
make[2]: *** [sipdone] Error 1
make[2]: Leaving directory `/usr/src/kdebindings-3.3.1/python'

When I checked the CVS history for that file, it seems to have been that way
since it's inception.

I am currently working on a new patch that includes fixes for both problems,
and I will submit it in a new bug for the Test and Stable spells as soon as I
can.


--
Jason Flatt
Father of five: http://www.flattfamily.com/
Linux user: http://www.sourcemage.org/ - http://www.lvlug.org/




Archive powered by MHonArc 2.6.24.

Top of Page