• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Help with compile...

    Scheduled Pinned Locked Moved
    Technical Help
    2
    18
    451
    Loading More Posts
    • 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.
    • I
      insec404 @jonas
      last edited by

      @jonas Okay I fixed all that and kdsinglesingleapplicationstuff etc etc now I am faced with two that i cannot get passed

      fatal error: 'qtsparkle-qt6/Updater' file not found

      include <qtsparkle-qt6/Updater>

      ld: library not found for -lintl
      clang: error: linker command failed with exit code 1 (use -v to see invocation)

      jonasJ 1 Reply Last reply Reply Quote 0
      • jonasJ
        jonas @insec404
        last edited by jonas

        @insec404 said in Help with compile...:

        qtsparkle

        Please share the exact commands you used to build. If you modify the source code, check that it actually builds with a unmodified source first.
        It's hard for me to understand how you got to to where you have these errors, QtSparkle shouldn't even be there on macOS, it's used for Windows only.

        The linker error should be easy to fix by setting LIBRARY_PATH to where the intl library is.

        I 1 Reply Last reply Reply Quote 0
        • I
          insec404 @jonas
          last edited by

          @jonas I got tired of trying to compile it so i bought it but omg it wont work.. the app opens and then closes..
          please tell me how to fix this.

          I 1 Reply Last reply Reply Quote 0
          • I
            insec404 @insec404
            last edited by

            @insec404 nevermind i ran it with this command and it opened

            sudo /Applications/Strawberry.app/Contents/MacOS/Strawberry

            any way to get it to open without that?

            I 1 Reply Last reply Reply Quote 0
            • I
              insec404 @insec404
              last edited by

              @insec404 /Applications/Strawberry.app/Contents/MacOS/Strawberry
              01:57:55.178 WARN unknown KDSingleApplication: unable to make the primary instance listen on kdsingleapp-luziferischerordendesdunklenundbosenhollenfeuerclubs-Strawberry: QLocalServer::listen: Name error
              01:57:55.180 INFO main:166 Strawberry is already running - activating existing window (1)
              01:58:00.181 WARN unknown Connection timed out
              01:58:00.181 ERROR main:169 Could not send message to primary instance.

              jonasJ 1 Reply Last reply Reply Quote 0
              • jonasJ
                jonas @insec404
                last edited by

                @insec404

                A reboot of the mac should probably fix that error.

                Run the following command to make sure Strawberry is unblocked:

                sudo xattr -d com.apple.quarantine /Applications/strawberry.app
                

                The first time you start, right click on Strawberry in Finder, and click open.

                If you get the "Apple can’t check app for malicious software" error, unblock the app in System settings:

                https://support.apple.com/en-gu/guide/mac-help/mchleab3a043/mac

                I 1 Reply Last reply Reply Quote 0
                • I
                  insec404 @jonas
                  last edited by

                  @jonas I've rebooted a lot...
                  I deleted reinstalled, got rid of all the compiling stuff leftovers etc

                  the command you gave me returns this
                  sudo xattr -d com.apple.quarantine /Applications/strawberry.app

                  xattr: /Applications/strawberry.app: No such xattr: com.apple.quarantine

                  I don't get it, its the same issue

                  /Applications/Strawberry.app/Contents/MacOS/Strawberry
                  02:18:23.497 WARN unknown KDSingleApplication: unable to make the primary instance listen on kdsingleapp-luziferischerordendesdunklenundbosenhollenfeuerclubs-Strawberry: QLocalServer::listen: Name error
                  02:18:23.497 INFO main:166 Strawberry is already running - activating existing window (1)
                  02:18:28.498 WARN unknown Connection timed out
                  02:18:28.498 ERROR main:169 Could not send message to primary instance.

                  jonasJ 1 Reply Last reply Reply Quote 0
                  • jonasJ
                    jonas @insec404
                    last edited by

                    @insec404
                    Try

                    rm $TMPDIR/kdsingleapp-*
                    
                    I 1 Reply Last reply Reply Quote 0
                    • I
                      insec404 @jonas
                      last edited by

                      @jonas rm $TMPDIR/kdsingleapp-*

                      zsh: no matches found: /var/folders/_7/cf6d1xpx2l5cnfl3kw0kr8l40000gn/T//kdsingleapp-*

                      I 1 Reply Last reply Reply Quote 0
                      • I
                        insec404 @insec404
                        last edited by

                        @insec404 I've been working with a.i. to try and figure it out too but so far no luck..

                        jonasJ 1 Reply Last reply Reply Quote 0
                        • jonasJ
                          jonas @insec404
                          last edited by

                          @insec404
                          The issue occurs because of the length of the username, on macOS the max socket name length is 46 characters, 23 characters is used for "kdsingleapp-" and "-Strawberry", so that leaves the username size to max 23 characters. Your username is 52 characters.
                          I'll have to create a new release to fix this, probably exclude the username when it's too long and use only the UID.

                          I 1 Reply Last reply Reply Quote 0
                          • I
                            insec404 @jonas
                            last edited by

                            @jonas yeah i made a new account and it worked flawlessly.. if i changed my username would it work? I think i can not sure

                            I 1 Reply Last reply Reply Quote 0
                            • I
                              insec404 @insec404
                              last edited by

                              @insec404 oh nvm i cant change my username, thanks for taking the time to respond.
                              I hope the new build comes out soon.
                              Thanks again!

                              I 1 Reply Last reply Reply Quote 0
                              • I
                                insec404 @insec404
                                last edited by

                                @insec404 oh if you can release the beta build to me that would be great also, keep me updated.

                                jonasJ 1 Reply Last reply Reply Quote 0
                                • jonasJ
                                  jonas @insec404
                                  last edited by

                                  https://github.com/strawberrymusicplayer/strawberry/issues/1603

                                  I 1 Reply Last reply Reply Quote 0
                                  • I
                                    insec404 @jonas
                                    last edited by

                                    @jonas Issue Resolved, sorry to post on all three but just in case anyone else was wondering
                                    This fixed the issue with the long username!
                                    Thanks again Jonas!

                                    1 Reply Last reply Reply Quote 1
                                    • First post
                                      Last post
                                    Powered by NodeBB | Contributors