Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Build issue on SunOS 5.10
Qt 6.11 is out! See what's new in the release blog

Build issue on SunOS 5.10

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 4.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi all.
    I'm trying to build Qt 4.7 SunOS 5.10. My configure is :
    @configure -prefix /foo
    -no-qt3support
    -no-multimedia
    -no-phonon
    -no-webkit
    -no-svg
    -no-javascript-jit
    -no-declarative
    -no-gui
    -no-opengl
    -no-openvg
    -no-xvideo
    -no-xshape
    -no-mitshm
    -no-xinput
    -no-fontconfig
    -no-xrender
    -no-xrandr
    -no-xfixes
    -no-xcursor
    -no-xinerama
    -no-xsync
    -no-sm
    -no-gtkstyle
    -no-xkb
    -no-glib
    @

    The build failes while building QMake with the error (after 10-20 segfaults): Basic XLib functionality test failed!
    Ok, my Xlib may be outdated, but I don't need any support for the X11 (I only need QCore module). How can I make it work?
    Thank you for your help!

    [EDIT: command line formatting, Volker]

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      You could tray to disable the XLib check in the configure script. It is just a shell script. The code is around line 5530.

      I have no guarantee that anything will work then - you'll just have to try.

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Hi Volker, thank you for you reply. Just did It, but it fails latter. I've try something else: I've switched to solaris-g++ mkspec. The Xlib error is gone, but now I've an ugly (and barely understandable to me) ld error:
        @ld: fatal: relocations remain against allocatable but non-writable sections@
        My only hope is to try to build my own GNU ld (http://www.gnu.org/directory/binutils.html).
        Any other idea would be appreciated...

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Ok, I did it, just had to recompile zlib with g++ to solve the linker issue. It still does no work with SunStudio 12 which is tier2 supported. I have no clue of what may be broken though...

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved