I'm trying to install samba and for some resonds it installes qt aswell here on my machine. I've pastet the output here: make[3]: Entering directory `/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/sqldrivers/mysql' g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/main.o main.cpp g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/qsql_psql.o ../../../../src/sql/drivers/psql/qsql_psql.cpp g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/qsql_mysql.o ../../../../src/sql/drivers/mysql/qsql_mysql.cpp ../../../../src/sql/drivers/mysql/qsql_mysql.cpp:617: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. test -d ../../../sqldrivers/ || mkdir -p ../../../sqldrivers/ rm -f libqsqlpsql.so g++ -fno-exceptions -Wl,-rpath,/usr/qt/3/lib -shared -Wl,-rpath,/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/sqldrivers -o libqsqlpsql.so .obj/main.o .obj/qsql_psql.o -L/usr/lib/mysql -L/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/lib -L/usr/X11R6/lib -lpq -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread The bug is not reproduceable, so it is likely a hardware or OS problem make[3]: *** [.obj/qsql_mysql.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/sqldrivers/mysql' make[2]: *** [sub-mysql] Error 2 make[2]: *** Waiting for unfinished jobs.... mv -f libqsqlpsql.so ../../../sqldrivers/ make[3]: Leaving directory `/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/sqldrivers/psql' make[2]: Leaving directory `/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/sqldrivers' make[1]: *** [sub-sqldrivers] Error 2 make[1]: Leaving directory `/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src' make: *** [sub-plugins] Error 2 !!! ERROR: x11-libs/qt-3.3.0-r1 failed. !!! Function src_compile, Line 88, Exitcode 2 !!! (no error message) My make.conf look like this: CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" USE="mmx 3dnow 3dfx afs adns alsa apache2 avi berkdb crypt curl dedicated encode flash gd gdbm gif gnome gtk gtk2 gtkhtml imap imagemagick innodb jabber java jikes jpeg kde ldap mcal mmx mpeg msn mysql odbc pam pdflib perl png pnp postgres samba spell ssl sqlite tcpd truetype vhosts voodoo3 X xml xml2 xmms yahoo zlib" CXXFLAGS="${CFLAGS}" GENTOO_MIRRORS="ftp://mirror.pudas.net/gentoo http://ftp.easynet.nl/mirror/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mi rror/ http://212.219.247.18/sites/www.ibiblio.org/gentoo/" It's a fresh installed gentoo. I just installed it. First time I'm trying gentoo. Let me know if you need anything else from me. I'm also using my own compiled kernel with the optimize and stability patches that is available. Reproducible: Always Steps to Reproduce: 1. Install gentoo linux 2. Install openoffice (probably not nessesery, but it installed lots of other programs aswell) 3. Try to install samba Actual Results: Got the error that qt didn't want to compile. Probably the coredump with the mysql thing that caused the problem Expected Results: not coredumped and compiled :)
Can you reproduce this in the exact same place?
I did a emerge sync and now I get another error (I've also done emerge --update system; emerge --update world) g++ -fno-exceptions -Wl,-rpath,/usr/qt/3/lib -shared -Wl,-rpath,/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/sqldrivers -o libqsqlite.so .obj/smain.o .obj/qsql_sqlite.o .obj/attach.o .obj/auth.o .obj/btree.o .obj/btree_rb.o .obj/build.o .obj/copy.o .obj/date.o .obj/delete.o .obj/expr.o .obj/func.o .obj/hash.o .obj/insert.o .obj/main.o .obj/opcodes.o .obj/os.o .obj/pager.o .obj/parse.o .obj/pragma.o .obj/printf.o .obj/random.o .obj/select.o .obj/shell.o .obj/table.o .obj/tokenize.o .obj/trigger.o .obj/update.o .obj/util.o .obj/vacuum.o .obj/vdbe.o .obj/vdbeaux.o .obj/where.o -L/usr/lib/mysql -L/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/lib -L/usr/X11R6/lib -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread mv -f libqsqlite.so ../../../sqldrivers/ make[3]: Leaving directory `/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/sqldrivers/sqlite' make[2]: Leaving directory `/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src/sqldrivers' make[1]: *** [sub-sqldrivers] Error 2 make[1]: Leaving directory `/var/tmp/portage/qt-3.3.0-r1/work/qt-x11-free-3.3.0/plugins/src' make: *** [sub-plugins] Error 2 !!! ERROR: x11-libs/qt-3.3.0-r1 failed. !!! Function src_compile, Line 88, Exitcode 2 !!! (no error message)
USE="qt kde -gnome -gtk" fixes the roblem.. then it installes it without all the sexy addons I wanted :)