kdebndings-3.5.5 - compilation taking toooooo long !!

Dan Nicholson dbn.lists at gmail.com
Fri Dec 1 19:32:47 PST 2006

On 12/1/06, Kevin Williams <kevkim55 at gmail.com> wrote:
> I have been trying to compile kdebindings-3.5.5 since the last two
> days. It configures fine and when  I run make I can see the normal
> messages as "make" progresses. At one point it looks like it is stuck
> but, doing a process listing shows something else.
> It is trying to compile the file
> /kdebindings-3.5.5/python/pyqt/qt/sipqtpart0.cpp.  A "wc -l" on this
> file returned 454706 !! Size ? 9.6MB !! It seems to be generated on
> the fly as the folder 'qt' itself doesn't exist in the source tree.
> Seems like it is trying to process it thru'  "cc1plus" and feeding it
> to "as".

Crazy! I googled a bit on sipqtpart0.cpp and found some interesting
links. Apparently, this file is created by concatenating all the C++
source files into a single file and then trying to process. This takes
a _long_ time on gcc-4, but used to be short on gcc-3.


There's a patch at the end there. You could backport that to
gcc-4.0.3, but the other thing you can do is make the build system for
kdebindings not concatenate the files and process them one at a time.
That's mentioned here:


I did not test this, but try out the following sed. Basically, you
need to remove the -c from the configure.py command for pyqt and
change the -c to -i for the configure.py command for pykde (if I'm
reading the options correctly).

sed -i.bak \
    -e '/configure.*pyqt/s/-c//' \
    -e '/configure.*pykde/s/-c/-i/' \

Let me know if that helped and maybe we can get something in the book.


More information about the blfs-support mailing list