View previous topic :: View next topic |
Author |
Message |
cheater512 Tux's lil' helper
Joined: 03 Nov 2003 Posts: 145 Location: Australia
|
Posted: Sun Nov 07, 2004 4:42 am Post subject: Compiling Qt with MySQL freezes |
|
|
I am trying to recompile Qt with MySQL support so I can use MythTV but half way through it freezes on a particular file.
I havent been able to get it past:
Quote: | g++ -c -pipe -I/usr/include/mysql -fno-exceptions -Wall -W -O2 -march=pentium3 -D_REENTERANT -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/released-shared-mt/parser.o ../shared/parser.cpp |
I am using Qt 3.3.3 and MySQL 4.0.20-r1 and the 2.6.8-r3 Kernel.
Does anyone know what could cause this or how to fix it?
I've left it on for 9 hours and it was still on parser.cpp |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sun Nov 07, 2004 8:06 am Post subject: |
|
|
Bad RAM, insufficient RAM causing desperation swapping, overheating CPU, and approximatively two hundred other possible causes. My bets are on insufficient RAM or faulty hardware. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
cheater512 Tux's lil' helper
Joined: 03 Nov 2003 Posts: 145 Location: Australia
|
Posted: Sun Nov 07, 2004 9:46 am Post subject: Tip: Styles can be applied quickly to selected text. |
|
|
Whoa! Never thought of that.
I have 512mb of ram so thats not a problem and everything else works fine.
Could be a heating problem. I just got my new TV card (Thats what MythTV is for) and it had to go next to my old TNT2 M64 without a fan.
I'm trying to compile it without MySQL support. If it doenst work I'll fiddle with the cards. |
|
Back to top |
|
|
cheater512 Tux's lil' helper
Joined: 03 Nov 2003 Posts: 145 Location: Australia
|
Posted: Sun Nov 07, 2004 11:51 am Post subject: |
|
|
Ok I've fiddled my cards around so now the heat producing ones have space around them.
Now its freezing on moc_qmotifstyle.cpp. My computer still works fine. It just stops compiling but looks like its still going.
I havent had any problems except this one so I dont think there is any hardware failure. |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sun Nov 07, 2004 12:53 pm Post subject: |
|
|
From what I've seen compiling C++ files (especially ones that include a lot of the QT headers) is one of the highest loads a typical desktop machine will ever experience, so it's quite normal and to be expected that hardware faults (especially faulty RAM chips) get exposed only during such compile procedures.
I'd emerge memtest86 (make sure /boot is mounted before starting that emerge) and run it to check whether the RAM is OK. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
cheater512 Tux's lil' helper
Joined: 03 Nov 2003 Posts: 145 Location: Australia
|
Posted: Thu Nov 11, 2004 6:53 am Post subject: |
|
|
Interesting. It worked fine just then WITH MySql.
I dont think it was a hardware problem. |
|
Back to top |
|
|
|