PDA

View Full Version : problem compiling QT 3.1.1 on Linux 7.1



Dragonbane
01-25-2003, 01:09 AM
Getting segmentation fault when compiling QT 3.1.1. The ./configure -thread --prefix=/opt/qt-x11-free-3.1.1 runs with no errors. (using useseq's noobs install guide). Here's what I get when doing gmake:

cd src && gmake
gmake[2]: Entering directory `/usr/qt-x11-free-3.1.1/src'
g++3 -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/usr/qt-x11-free-3.1.1/mkspecs/linux-g++ -I. -I../../include/freetype2 -I3rdparty/libpng -I3rdparty/zlib -I../include -I../../X11R6/include -I../../X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qtaddons_x11.o kernel/qtaddons_x11.cpp
/usr/qt-x11-free-3.1.1/bin/moc kernel/qapplication_x11.cpp -o .moc/release-shared-mt/qapplication_x11.moc
g++3 -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/usr/qt-x11-free-3.1.1/mkspecs/linux-g++ -I. -I../../include/freetype2 -I3rdparty/libpng -I3rdparty/zlib -I../include -I../../X11R6/include -I../../X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qapplication_x11.o kernel/qapplication_x11.cpp
g++3 -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/usr/qt-x11-free-3.1.1/mkspecs/linux-g++ -I. -I../../include/freetype2 -I3rdparty/libpng -I3rdparty/zlib -I../include -I../../X11R6/include -I../../X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qclipboard_x11.o kernel/qclipboard_x11.cpp
In file included from kernel/qt_x11.h:143,
from kernel/qclipboard_x11.cpp:58:
../../X11R6/include/X11/Xft/Xft.h:127: Internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
gmake[2]: *** [.obj/release-shared-mt/qclipboard_x11.o] Error 1
gmake[2]: Leaving directory `/usr/qt-x11-free-3.1.1/src'
gmake[1]: *** [sub-src] Error 2
gmake[1]: Leaving directory `/usr/qt-x11-free-3.1.1'
gmake: *** [init] Error 2
[root@localhost qt-x11-free-3.1.1]#


Any ideas pls? I searched and located a couple of articles that said it may be hardware related. Using a 200 mhz laptop with 64 meg ram. I was able to get SEQ to compile and work fine using qt 2.3.2 but I want to upgrade to 3.1.1 so I don't have to mess with it in the future.

Dedpoet
01-26-2003, 09:28 AM
Using a 200 mhz laptop with 64 meg ram.

I am fairly confident that this is your problem. 64MB is enough to compile and run Seq, but you are going to have issues compiling something as big as Qt on this hardware. If a RAM upgrade is not an option (and on an old laptop, it often isn't), make yourself a giant swap partition. I don't know what you have for swap now, but if you can give yourself 512MB, it would probably help.