That worked !! Thanks very much for the help ! :-) Oh ! The sed script worked like a charm as a visual check into the file configure.pyc confirmed it.
I didn't try the patch as that would require re-compilation of gcc which is not what I want at the moment. Now, the kdebindings build is in progress, three hours gone by and I believe it might take few hours more ! At least it is not trying to compile one huge file containing 454706 lines of code ! I would get back if I face any problems though, I feel the need shouldn't arise. Thanks again. Kevin On Friday 01 December 2006 22:32, Dan Nicholson wrote: > On 12/1/06, Kevin Williams <[EMAIL PROTECTED]> 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. > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21304 > > 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: > > http://mats.gmd.de/pipermail/pykde/2005-December/011661.html > > 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/' \ > python/Makefile.in > > Let me know if that helped and maybe we can get something in the book. > > -- > Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
