Menu

Getting WebChangeMonitor (WCM) to run on Linux Mint

2024-03-10
2024-03-24
  • Gitoffthelawn

    Gitoffthelawn - 2024-03-10

    I have been trying to get WebChangeMonitor (WCM) 24.02 working on a Linux Mint 21.3 box.

    For wxWidgets, I installed the libwxgtk3.0-gtk3-0v5 package.

    I did not install the libwxgtk-media3.0-gtk3-0v5 or libwxgtk-webview3.0-gtk3-0v5 packages, as they are not specified in the WCM README (and I currently am not using any other applications that use wxWidgets).

    For libcurl, the box has libcurl3-gnutls and libcurl4 packages installed.

    When I run WCM without any command line options, WCM yields an Illegal instruction error.

    Running WCM with the --help command line option successfully brings up the WCM help screen.

    How can I get WCM to run successfully on Linux Mint?

     
  • Morten MacFly

    Morten MacFly - 2024-03-14

    First of all, did you read and follow: build-linux.txt from SVN?
    Second, I don't use Linux Mint, but Ubuntu. There, I don't have an issue since many releases now.
    For Linux Mint I would need t setup a VM to try myself. Do you happen to know a well known Live-Distro I could use for this purpose? Which version of Linux Mint you use exactly?
    Thirdly, if you are familiar wit a debugger and the Code::Blocks IDE, you could try to debug into the application yourself using Code::Blocks, the "debug" Linux target under Linux and Gnu GDB.

     

    Last edit: Morten MacFly 2024-03-24
    • Gitoffthelawn

      Gitoffthelawn - 2024-03-15

      First of all, did you read and follow: build-linux.txt from SVN?

      Nope. I wasn't aware of it until your mention of it above. So I just read it.

      I had used your prebuilt binary. Besides that obvious difference, that file calls for installing the dev packages of wxWidgets and libcurl4, but I installed the regular packages.

      Second, I don't use Linux Mint, but Ubuntu. There, I don't have an issue since many releases now.

      That's good to hear. Linux Mint is based on Ubuntu. Most, but not all, apps released for Ubuntu will work on Mint.

      For Linux Mint I would need t setup a V t try myself. Do you happen to know a well known Live-Distro I could use for this purpose?

      I'm not sure if this qualifies as a Live-Distro in the sense you want, but the downloads from https://linuxmint.com/download.php will create a live distro on a USB stick.

      Which version of Linux Mint you use exactly?

      Linux Mint 21.3 "Virginia" Cinnamon Edition

      Thirdly, if you are familiar wit a debugger and the Code::Blocks IDE, you could try to debug into the application yourself using Code::Blocks, the "debug" Linux target under Linux and Gnu GDB.

      Unfortunately, I'm not currently familiar with Code::Blocks at all. I'm hoping to have time to take a look at it someday... been so busy recently.

       
      • Morten MacFly

        Morten MacFly - 2024-03-24

        Linux Mint 21.3 "Virginia" Cinnamon Edition

        Somehow, I did not get notified about the updates here. But thank you for the information. I will try to reproduce with this edition...

         
    • Gitoffthelawn

      Gitoffthelawn - 2024-03-24

      I'm still working on trying to get WCM running on Linux Mint (which is based on Ubuntu).

      Do you have either of the following packages installed?

      1. libwxgtk-media3.0-gtk3-0v5
      2. libwxgtk-webview3.0-gtk3-0v5

      Also, are you able to successfully run WCM on Ubuntu without any WCM command line options/parameters?

       
      • Morten MacFly

        Morten MacFly - 2024-03-24
        libwxgtk-media3.0-gtk3-0v5
        libwxgtk-webview3.0-gtk3-0v5
        

        For now, you should not need this. In the future you might need webview though... Currently, I am experimenting with it a little... So it may e subject to change. However, you will do nothing wrong if you install the wx extension completely.

         
    • Gitoffthelawn

      Gitoffthelawn - 2024-03-24

      I was able to build WCM from the sources in Linux Mint 21.3.

      There were over 1000 warnings in the build log.

      WCM will now run, but when it terminates, the following error is displayed in the terminal:

      Debug: 3 threads were not terminated by the application.

      After running WCM again, the error changes to :

      Debug: 5 threads were not terminated by the application.

      I'll post this report in the Bug Issues tracker for you.

       
      • Morten MacFly

        Morten MacFly - 2024-03-24

        There were over 1000 warnings in the build log.

        Without the build lo there is not much I can do. But I assume that most of the warning come from 3rd party libs where I cannot do much about it. For the threads: Such Debug warnings must not necessarily be an error in WCM nor WX... In the end, the threads definitely will be killed once the process is terminated. As during the thread-runtime all operations are in-memory only, you won't loose a information if that happens. (If that is of your concern.)

         

        Last edit: Morten MacFly 2024-03-24
        • Gitoffthelawn

          Gitoffthelawn - 2024-03-24

          I can upload the build log for you. Would you like it?

          Regarding the threads: Will there be a memory leak caused by the "non-terminated" threads? This post mentions a memory leak "in case off [sic] a stop program": https://forums.wxwidgets.org/viewtopic.php?p=98632#p98632

           

          Last edit: Gitoffthelawn 2024-03-24

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.