Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2470 - qt-3.0.4 won't compile - wrong flags?
Summary: qt-3.0.4 won't compile - wrong flags?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
: 2537 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-05 13:03 UTC by Andreas Waschbuesch
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Waschbuesch 2002-05-05 13:03:22 UTC
$ emerge qt

Calculating world dependencies ...done!
>>> emerge x11-libs/qt-3.0.4 to /
>>> md5 ;-) qt-x11-free-3.0.4.tar.gz
>>> Unpacking source...
>>> Unpacking qt-x11-free-3.0.4.tar.gz
>>> Source unpacked.
nas
gif
-system-nas-sound: invalid command-line switch

Usage:  configure [-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)

 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 56, Exitcode 1
!!! (no error message)

!!! emerge aborting on  /usr/portage/x11-libs/qt/qt-3.0.4.ebuild .
Comment 1 Andreas Waschbuesch 2002-05-06 06:29:08 UTC
Just a note: commenting out the following line

"USE nas      && myconf="${myconf} -system-nas-sound""

works for me.
Comment 2 Dan Armak (RETIRED) gentoo-dev 2002-05-07 12:04:08 UTC
Fixed in 3.0.4-r1. The configure script of qt-3.0.4 is broken in this regard, I'll send trolltech a bug report with the fix. 
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-05-09 13:55:05 UTC
*** Bug 2537 has been marked as a duplicate of this bug. ***