Results 1 to 3 of 3

Thread: Qt 4,4 on Solaris 10 compilation error

  1. #1
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Question Qt 4,4 on Solaris 10 compilation error

    I am trying to build Qt 4.4.0 on Solaris 10. We have just upgraded our machines from Solaris 8 to Solaris 10 and I thought this would be a great time to upgrade Qt from 4.3.0 to 4.4.0. I have had to modify my configure script from when I installed 4.3.0 based on some compilation errors I was getting but now I am getting a compilation error that I cannot figure out what I need to modify in .configure to get it to compile correctly. My configure call looks like

    Qt Code:
    1. ./configure -I /opt/oracle/rdbms/public -L /opt/scim/oracle/lib32 -qt-gif -opengl -no-tablet -qt-libjpeg -qt-libpng -no-qt3support -nomake examples -qt-sql-oci -no-xmlpatterns -no-webkit -no-phonon
    To copy to clipboard, switch view to plain text mode 

    The first 2 times I tried to compile I errored out on compiling xmlpatterns so I disabled those. Then I errored out on webkit so I disabled no-webkit. When I looked in the help for ./configure I noticed it said you need a decent C++ compiler to compile xmlpatterns, webkit, and phonon so I also disabled phonon guessing I would error out on it too. Now am I getting an error complaining it cannot find -lQtWebKit which makes sense since I configured with -no-webkit. What else do I need to disable to be able to build. I am using solaris-cc if this helps any.

    ld: fatal: library -lQtWebKit: not found
    ld: fatal: File processing errors. No output written to browser
    *** Error code 1
    make: Fatal error: Command failed for target 'browser'
    Current working directory /tracker/Qt/qt-x11-commercial-src-4.4.0/demos/browser
    *** Error code 1
    make: Fatal error: Command failed for target 'sub-browser-make_default'
    Current working directory /tracker/Qt/qt-x11-commercial-src-4.4.0/demos
    *** Error code 1
    make: Fatal error: Command failed for target 'sub-demos-make_default-ordered'
    Thanks for your help!

  2. #2
    Join Date
    Jan 2006
    Location
    Third rock from the sun
    Posts
    106
    Thanks
    17
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4,4 on Solaris 10 compilation error

    What compiler are you using? Sun CC? The Supported Platforms says it supports Solaris 5.9 and up but the Supported Compilers says to use Sun Studio 9 or Sun Studio 10. You may want to upgrade to these compilers if possible. You may also want to disable the building of the examples if they are not needed.
    Last edited by Rayven; 27th June 2008 at 18:59. Reason: updated contents
    Every little child knows
    if you cant see dreams
    your eyes are blind

    Moxy Fruvous

  3. #3
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4,4 on Solaris 10 compilation error

    Once I added the lines -nomake demos and -nomake assistant, it compiled and built just fine and now I have Qt 4.4.0...now to fix some issues it has brought up...

Similar Threads

  1. nmake error during .pro compiling
    By mattia in forum Installation and Deployment
    Replies: 5
    Last Post: 18th June 2008, 10:15
  2. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 13:43
  3. QPSQL driver in windows
    By brevleq in forum Installation and Deployment
    Replies: 31
    Last Post: 14th December 2007, 12:57
  4. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 02:49
  5. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 12:19

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.