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. Solaris 10 Sparc 64 configure fails
QtWS25 Last Chance

Solaris 10 Sparc 64 configure fails

Scheduled Pinned Locked Moved Installation and Deployment
13 Posts 2 Posters 3.5k Views
  • 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.
  • M Offline
    M Offline
    Michele31415
    wrote on last edited by
    #1

    I downloaded 5.4.0 on a Sun Blade 2500 64 bit Sparc machine running Solaris 10 Update 11.

    Using the instructions here: http://www.opencsw.org/manual/for-maintainers/buildfarm-setup.html I ran

    ./configure -prefix $MY_PREFIX -opensource -confirm-license -nomake tests \

    -R /opt/csw/lib/64 -R /opt/csw/X11/lib/64 -qt-xcb -platform solaris-g++-64 \    -verbose
    

    and got this error:

    ./configure: test: argument expected

    I submitted that as a bug to bugreports.qt.io (QTBUG-44136) but their only suggestion was to do "bash -x" first. That just gave me a dfifferent error.

    bash -x ./configure -prefix $MY_PREFIX -opensource -confirm-license -nomake tests \

    -R /opt/csw/lib/64 -R /opt/csw/X11/lib/64 -qt-xcb -platform solaris-g++-64 \    -verbose> >
    

    ++ dirname ./configure

    • srcpath=.
      ++ cd .
      ++ /bin/pwd
    • srcpath=/opt/qt-everywhere-opensource-src-5.4.0
    • configure=/opt/qt-everywhere-opensource-src-5.4.0/qtbase/configure
    • '[' '!' -e /opt/qt-everywhere-opensource-src-5.4.0/qtbase/configure ']'
    • mkdir -p qtbase
    • echo '+ cd qtbase'
    • cd qtbase
    • cd qtbase
    • echo '+ /opt/qt-everywhere-opensource-src-5.4.0/qtbase/configure -top-level -prefix' -opensource -confirm-license -nomake tests -R /opt/csw/lib/64 -R /opt/csw/X11/lib/64 -qt-xcb -platform solaris-g++-64 -verbose
    • /opt/qt-everywhere-opensource-src-5.4.0/qtbase/configure -top-level -prefix -opensource -confirm-license -nomake tests -R /opt/csw/lib/64 -R /opt/csw/X11/lib/64 -qt-xcb -platform solaris-g++-64 -verbose
    • exec /opt/qt-everywhere-opensource-src-5.4.0/qtbase/configure -top-level -prefix -opensource -confirm-license -nomake tests -R /opt/csw/lib/64 -R /opt/csw/X11/lib/64 -qt-xcb -platform solaris-g++-64 -verbose
      /opt/qt-everywhere-opensource-src-5.4.0/qtbase/configure: syntax error at line 266: `sdk=$' unexpected

    I have no idea what any of that means or how to fix it. Could some kind soul please help me get Qt installed? Thanks.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Michele31415
      wrote on last edited by
      #2

      Someone? Anyone? Could someone at least tell me what "'sdk=$' unexpected" means? Should I change it to sdk=euro, or maybe sdk=CHF?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        I may be the bearer of bad news but you are using there a platform that users of this forum probably don't have access to at all. Maybe solaris for x86 but even so I highly doubt it.

        Anyway, it looks like configure thinks he's doing a configuration for OS X

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Michele31415
          wrote on last edited by
          #4

          I guess I didn't realize that Solaris 10 was such an orphan. In any case I really could use all the help I can get. It's strange that qtbase/configure wanted to go into macSDify (line 261). I don't have BUILD_ON_MAC set or anything like that. Why is it doing this???

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            AFAIK Sparc stations where never very common and currently you can only get Sparc servers from Oracle (correct me if I'm wrong). There might be the Solaris 10 x86 images but I'm not sure you can run them on a standard computer/virtual machine (again If you have more infos about that, please share)

            Anyway, it sure is strange. You can call configure with -v to see more in details what happens during the configure process. It might help pinpoint why it thinks he's currently on OS X

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Michele31415
              wrote on last edited by
              #6

              I don't know why this board fails to post my replies. Anyway, if this goes through, I managed to find a binary package of Qt4 that installed just fine and should serve my needs.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Failure ? Did you had any error message ?

                You might also have posted while your thread was cleaned of spam. Unlucky timing...

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  Michele31415
                  wrote on last edited by
                  #8

                  I don't know - I was getting "unable to process your post at this time", where "this time" ended up being over a whole day. It seems to be working now though.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    IIRC, I've seen this when trying to add an answer to a thread in a long opened window. Reloading the thread completely solved that (but you might be experiencing something else)

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      Michele31415
                      wrote on last edited by
                      #10

                      Yes, indeed I like to keep a browser window open all the time and I keep a thread I'm monitoring open continuously in a tab in that window.

                      In any case, I'm going to abandon the effort to install Qt5 given that I found a pre-built Solaris 10 Sparc package for Qt4 (at http://bwachter.lart.info/sfw.xp/ if anyone cares). Thanks for reading.

                      1 Reply Last reply
                      0
                      • ? This user is from outside of this forum
                        ? This user is from outside of this forum
                        Guest
                        wrote on last edited by
                        #11
                        This post is deleted!
                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          Nice ! You could try asking the author if he has any plan for Qt 5 :)

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            Michele31415
                            wrote on last edited by
                            #13

                            "Nice ! You could try asking the author if he has any plan for Qt 5 :)"

                            Good idea - I just did.

                            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