Seems to be some wrong configure-/compile-option switch ... $ emerge qt Calculating dependencies ...done! >>> emerge x11-libs/qt-3.0.5 to / >>> md5 ;-) qt-x11-free-3.0.5.tar.gz >>> md5 ;-) qt-copy-3.0.4-onthespot.patch >>> Unpacking source... >>> Unpacking qt-x11-free-3.0.5.tar.gz patching file src/kernel/qinputcontext_x11.cpp patching file src/kernel/qapplication_x11.cpp Hunk #1 succeeded at 5160 (offset -78 lines). >>> Source unpacked. nas gif -nas-sound: invalid command-line switch Usage: configure [-buildkey key] [-prefix dir] [-docdir dir] [-headerdir dir] [-libdir dir] [-bindir dir] [-plugindir dir ] [-datadir dir] [-debug] [-release] [-qt-gif] [-no-gif] [-sm] [-no-sm] [-stl] [-no-stl] [-qt-zlib] [-system-zlib] [-qt-libpng] [-system-libpng] [-no-jpeg] [-system-jpeg] [-no-thread] [-thread] [-Istring] [-lstring] [-Lstring] [-Rstring] [-disable-<module>] [-with-<module setting>] [-without-<module setting>] Installation options: These are optional, but you may specify install directories. -prefix dir ........ This will install everything relative dir (default /usr/local/qt) You may use these to separate different parts of the install: -bindir dir ........ Executables will be installed to dir (default PREFIX/bin) -libdir dir ........ Libraries will be installed to dir (default PREFIX/lib) -docdir dir ........ Documentation will be installed to dir (default PREFIX/doc) -headerdir dir ..... Headers will be installed to dir (default PREFIX/include) -plugindir dir ..... Plugins will be installed to dir (default PREFIX/plugins) -datadir dir ....... Data used by Qt programs will be installed to dir (default PREFIX) You may use these options to turn on strict plugin loading. -buildkey key ...... Build the Qt library and plugins using the specified key. When the library loads plugins, it will only load those that have a matching key. The defaults (*) are usually acceptable. If marked with a plus (+) a test for that feature has not been done yet, but will be evaluated later, the plus simply denotes the default value. Here is a short explanation of each option: * -release ........... Compile and link Qt with debugging turned off. -debug ............. Compile and link Qt with debugging turned on. * -shared ............ Create and use a shared Qt library (libqt.so). -static ............ Create and use a static Qt library (libqt.a). * -no-gif ............ Do not compile in GIF reading support. -qt-gif ............ Compile in GIF reading support. See src/kernel/qgif.h * -qt-zlib ........... Use the zlib bundled with Qt. -system-zlib ....... Use zlib from the operating system See http://www.info-zip.org/pub/infozip/zlib -profile ........... Enable profiling with gprof (adds -pg options) -no-g++-exceptions . Disable exceptions on platforms using the GNU C++ compiler by using the -fno-exceptions flag. -platform target ... The operating system and compiler you are building on (linux-g++). -xplatform target .. The target platform when cross-compiling. See the PLATFORMS file for a list of supported operating systems and compilers. -Dstring ........... Add an explicit define to the preprocessor. -Istring ........... Add an explicit include path. -Lstring ........... Add an explicit library path. -Rstring ........... Add an explicit dynamic library runtime search path. -lstring ........... Add an explicit library. -disable-<module> ......... Disables a module where module is one of: styles tools kernel widgets dialogs iconview workspace network canvas table xml opengl sql -qt-sql-<driver> .......... Enable a SQL <driver> in the Qt Library, by default none are turned on. -plugin-sql-<driver> ...... Enable SQL <driver> as a plugin to be linked to at run time. -no-sql-<driver> .......... Disable SQL <driver> entirely. Possible values for <driver>: [ mysql odbc psql ] Auto-Detected on this system: [ ] -qt-style-<style> ......... Enable a GUI <style> in the Qt Library, by default all available are on. -plugin-style-<style> ..... Enable GUI <style> as a plugin to be linked to at run time. -no-style-<style> ......... Disable GUI <style> entirely. -no-thread ......... Do not compile threading support. * -thread ............ Compile threading support. * -no-stl ............ Do not compile STL support. -stl ............... Compile STL support. -verbose .............. Print verbose information about each step of the -v .................... configure process. -help ................. Print help and usage information. -h .................... Print help and usage information. Image Formats: -plugin-imgfmt-<format> Enable format (png, jpeg, or mng) to be linked to at runtime. Uses specified lib<format>. -qt-imgfmt-<format> ... Enable format (png, jpeg, or mng) to be linked into Qt. Uses specified lib<format>. -no-imgfmt-<format> ... Fully disable format (png, jpeg, or mng) from Qt. Third Party Image Loading Libraries: * -qt-libpng ......... Use the libpng bundled with Qt. -system-libpng ..... Use libpng from the operating system. See http://www.libpng.org/pub/png * -qt-libjpeg ........ Use the libjpeg bundled with Qt. -system-libjpeg .... Use jpeglib from the operating system. See http://www.ijg.org * -qt-libmng ......... Use the libmng bundled with Qt. -system-libmng ..... Use libmng from the operating system. See http://www.libmng.com Qt/X11 only: * -no-nas-sound ...... Do not compile in NAS sound support. -system-nas-sound .. Use NAS libaudio from the operating system. See http://radscan.com/nas.html -no-sm ............. Do not support X Session Management. * -sm ................ Support X Session Management, links in -lSM -lICE. -no-xinerama ....... Do not compile Xinerama (multihead) support. * -xinerama .......... Compile Xinerama support. Requires X11/extensions/Xinerama.h and libXinerama. -no-xrender ........ Do not compile XRender support. * -xrender ........... Compile XRender support. Requires X11/extensions/Xrender.h and libXrender. -no-xft ............ Do not compile XftFreeType (anti-aliased font) support. * -xft ............... Compile XftFreeType support. Requires X11/Xft/XftFreetype.h and libXft. -no-tablet ......... Do not compile Tablet support. * -tablet ............ Compile Tablet support. Requires IRIX with wacom.h and libXi or XFree86 with X11/extensions/XInput.h and libXi. -no-xkb ............ Do not compile XKB (X KeyBoard extension) support. * -xkb ............... Compile XKB support. !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 62, Exitcode 1 !!! (no error message) !!! emerge aborting on /usr/portage/x11-libs/qt/qt-3.0.5.ebuild .
Line 57 of the ebuild script: the configure switch should be "-system-nas-sound". I corrected this over here and qt compiles. Greets - Andrew
That's right, fixing here. (It changed between versions of qt).