• OS108
  • Problems installing Wine on OS108 (NetBSD 9.0)

Hello everyone

I'm having trouble installing Wine on NetBSD 9.0. I've tried the alternatives below:

1) Installation by pkgin - The program does not exist in the repository
2) Compile by PKGSRC in the /usr/pkgsrc/emulators/wine directory, but the dependencies that must be installed by the program directly affect the Mate-Desktop dependencies. And they present the following errors according to the attached screenshot.
And to try to get around these errors I tried the following alternatives.

  • I used the "make update" command inside the /usr/pkgsrc/emulators/wine directory. I did this procedure 2 times, and the 2 times gave a problem already expected because this command is risky to be executed. And after that, Mate-Desktop didn't go up any more.

  • I reinstalled OS108, logged in as root and compiled Wine in the /usr/pkgsrc/emulators/wine directory. And after 10 hours of compiling, he compiled without any error. Then I ran the mate.sh script that normally installed the graphical environment, but I believe that during the installation it must have updated these packages and so it didn't work.

3) I did some research on Google, but there is not much material on the subject.
4) I talked to the Telegram users of OS108, and I was informed by @Jay that there was a port wine in the GSoC project.

I would like to know if there is any way to install Wine on OS108, or if there is any other emulator that can emulate Windows .exe files. I thought about using virtual machines like QEMU, but I don't have enough hardware for that.

I thank you in advance for your assistance.

hug

    wlfaws I have no clue which repo OS108 is currently using for the pkgin binaries.
    Also, you didn't mention which pkgsrc tarball you used but,...

    ...what's happening here is a mismatch between the pkgs versions in the binary-repo (if you prefer pkgin) and the source-repo (pkgsrc).
    You should use binaries compiled against the same source code version, i.e. if you're using a Q-release of binaries, you should use the same Q-tarball of pkgsrc.

    Also, you didn't need to reinstall the OS, you could simply clean-up the mismatched pkgs.

    Disclaimer: I don't use wine but, as explained above, the problem you're having is not specific to wine.

    Edit: Let us know if you need help fixing your repos. If so, provide the URL inside /usr/pkg/etc/pkgin/repositories.conf and your physical location (country or even continent will be enough).
    The binaries for 2020Q2 are not out yet, but maybe in a week or so they should hit the repos.

      pin

      Hello Pin

      good night

      All right?

      Thank you for your assistance.

      About pkgin

      I am attaching a print screen of the path /usr/pkg/etc/pkgin/repositories.conf. pkgin is aimed at the repository http://www.ki.nu/pkgsrc/packages/current/NetBSD-9.0/All.

      About pkgsrc

      Pkgsrc I installed this way:

      $ sudo ftp ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz

      $ sudo tar -xzf pkgsrc.tar.gz -C /usr

      Update as root

      cd /usr/pkgsrc && cvs update -dP

      Thank you very much

      • pin replied to this.

        wlfaws
        Exactly what I was expecting. The ki-repo hasen't been updated since Februry 22 and you're trying to combine it with pkgsrc-current.
        Hence, version mismatching.

        You could try the current build in https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.0_current/All/ but, it will be a hunt trying to find the corresponding tarball of pkgsrc, since this build was done on May 26.

        As I see it, right now you have two choices:
        1) Sync with 2020Q1
        2) Wait a few days (weeks?) until the 2020Q2 builds are uploaded

        What would you like to do? I will provide instructions depending on your choice.

        Btw, I can reply in portuguese if that would be helpful?

        Ola, Pin
        Bom dia
        Tudo bem?

        Para mim seria otimo falar em portugues, porque meu ingles e so padrao tecnico de informatica, e eu uso tratudor do google. Mas eu vou de segunda opção mesmo, eu posso esperar tranquilamente sair as novas atualizações.
        Muito obrigado pelo auxilio
        Abraço

          wlfaws Então esperamos até que o pkgsrc-2020Q2 seja lançado. Não sei quanto vai demorar, mas quando sair eu escrevo aqui o que voçê tem que fazer.
          Até breve, espero.

            Mesma coisa por aqui, esperando o 2020Q2, o wine aqui é necessário para um aplicativo bem safadinho: Winbox.

              wlfaws Os binários 2020Q2 já estão disponiveis, aqui o que eu faria...

              Descarrega a imagem mais recente de NetBSD-9.0_STABLE aqui,
              https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/images/

              Depois com a imagem numa USB faz um update/upgrade da base como eu descrevi em
              https://www.unitedbsd.com/d/110-upgrading-netbsd-using-sysinst

              Quando acabar o update re-inicia o computador e entra como root e da consola edita o ficheiro /usr/pkg/etc/pkgin/repositories.conf mudando o URL que tiver para
              https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.0_2020Q2/All/

              Guarda as modificacoes e faz

              # pkgin update
              # pkgin full-upgrade
              # pkgin autoremove
              # pkgin clean
              # pkgin install wine

              Sai de root e entra como o usuario normal.

              Boa sorte 🙂

                pin , Tudo instala, inclusive o wine. Porém, o wine do pkgsrc não roda, terá que ser o do wip/wine64, e seguir o Howto onde se usa o Current e modificar o kernel para usar LDT e desligar o SVS.

                  cleberalves @pin Ja compilei o kernel do Fedora Linux 14 na epoca, mas estive olhando este tutorial que o Cleber Alves esta falando,mas não sei qual kernel baixar. Se alguem puder me dar um auxilio. E quanto a compilação eu busco os tutoriais do NetBSD.
                  Muito obrigado

                  Baixe o HEAD (cvs up -A -dP). Aqui na minha ultima instalação foi o que usei para poder usar o Wine. Use o GUIDE como vosso Guia. 😃

                    cleberalves Voce poderia me passar qual tutorial utilizou para compilar seu kernel, pois não estou encontrando nada relevante na internet sobre o Kernel Head e (cvs up -A -dP). E a unica experiencia que tive com compilação de Kernel foi somente quando usava o Fedora Linux. E de fato o NetBSD e um sistema bem mais complexo. Fico grato por qualquer ajuda.
                    Abraço

                      8 days later
                      13 days later