Results 1 to 5 of 5

Thread: configure on leapard fails

  1. #1
    Join Date
    Feb 2006
    Posts
    23
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default configure on leapard fails

    hi, i'm trying to configure qt 4.4.1 (i know it's not the latest version...) on os x 10.5. i do:

    ./configure -qt-zlib -qt-gif -qt-libtiff -qt-libmng -qt-libjpeg -qt-libpng -universal -sdk /Developer/SDKs/MacOSX10.5.sdk

    the machine is an intel mac, running os x 10.5.6. i updated xcode to 3.1.2 and have set the gcc,g++,c++,cc links to point to gcc-4.2

    i think the link step for qmake fails (g++ -o "/Users/.../Desktop/qt-mac-commercial-src-4.4.1/bin/qmake" ....) and i get:

    *************
    Undefined symbols for architecture i386:
    "operator new[](unsigned long)", referenced from:
    operator<<(QDataStream&, QString const&)in qstring.o
    (and much much much more objct files...)
    ld: symbol(s) not found for architecture ppc
    ************

    any ideas?

    regards,

    sepp

  2. #2
    Join Date
    Feb 2006
    Posts
    23
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default configure on leopard fails...

    i tried again on the same machine and used qt-mac-commercial-src-4.4.3, same effect...

    any ideas?

  3. #3
    Join Date
    Jan 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: configure on leapard fails

    Don't know much about the -universal option, but I think you need to use the MacOSX10.4u.sdk. It seems to be the option that is always used in other packages that are universal. In fact, I'll go as far as to say that the 'u' actually stands for universal.

    If that fails, try a plain vanilla configure (no options).

    A.

  4. #4
    Join Date
    Feb 2006
    Posts
    23
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: configure on leapard fails

    Quote Originally Posted by asgr View Post
    Don't know much about the -universal option, but I think you need to use the MacOSX10.4u.sdk. It seems to be the option that is always used in other packages that are universal. In fact, I'll go as far as to say that the 'u' actually stands for universal.

    If that fails, try a plain vanilla configure (no options).

    A.
    the official 'installing qt on mac os x' site states, that the -sdk option is only needed if the developer machine is a powerPC. Mine is an intel mac, i tried both, with and without -sdk option, both fail.

    furthermode, even a plain ./configure fails with the same effect. i even tried both compilers, that is, gcc-4.0 and gcc-4.2, same effect...

  5. #5
    Join Date
    Jan 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: configure on leapard fails

    Blimey,

    Did you do a 'make confclean' before running configure again?
    Sometimes the configure script uses previously accumulated values.

    A.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.