Re: (cmake) Could NOT find LibSoup: Found unsuitable version "" ...
On 03/06/2022 18:51, Albretch Mueller wrote: On 6/3/22, Eduardo M KALINOWSKI wrote: Debian has debug symbols for most (if not all) packages, but they're in a different repository. See https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols Are you saying that debian keeps "instrumented" binary versions of their packages ready for debugging!? I checked and it doesn't seem to be the case (and/or I am making some mistake) No. It has, in that repository, packages with only the symbols, that gdb can then use, as if the executables and libraries had debug symbols included. gdb should be already set up to automatically find the symbols in the locations that the -dbg[sym] packages install them. $ apt-cache search webkit2 dbg $ $ apt-cache search webkit dbg python3-pyqt5.qtwebchannel-dbg - Python 3 bindings for Qt5's Webchannel module (debug extension) python3-pyqt5.qtwebkit-dbg - Python 3 bindings for Qt5's WebKit module (debug extensions) $ $ sudo apt install webkit-dbgsym ... E: Unable to locate package webkit-dbgsym $ sudo apt install webkit2-dbgsym ... E: Unable to locate package webkit2-dbgsym $ lbrtchx You have python installed, which is an extra complication layer (and one about which I know very little). But for debugging C/C++ programs, you'd need to find the package that contains the actual library you want debugged, and install the corresponding -dbgsym package. Hint: library packages are name lib. For example, there's libqt5webkit5 - Web content engine library for Qt libwebkit2gtk-4.0-37 - Web content engine library for GTK ... and others (and other versions). Unfortunately, I don't use Webkit or Python, so can't help much more here. But look for installed packages related to webkit, and search for the corresponding -dbgsym packages. Note that probably there won't be -dbgsym packages for the python bindings, since these are just python code, not object files (libraries, executables). -- Caution: Write-protection will not prevent a cartridge being erased by bulk-erasure or degaussing. -- HP Ultrium tape drive user's guide, page 12 Eduardo M KALINOWSKI edua...@kalinowski.com.br
Re: (cmake) Could NOT find LibSoup: Found unsuitable version "" ...
On 6/3/22, Eduardo M KALINOWSKI wrote: > On 03/06/2022 14:02, Albretch Mueller wrote: >> Basically, I am trying to compile WebKit2 (on WSL! ;-)) with >> debugging symbols included in order to teach my students how to debug, > > Debian has debug symbols for most (if not all) packages, but they're in > a different repository. See > https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols Debian doesn't stop to amaze me. Last time it did was with apt-clone, but apparently that was another case of debian/software documentation kept in good faith! Are you saying that debian keeps "instrumented" binary versions of their packages ready for debugging!? I checked and it doesn't seem to be the case (and/or I am making some mistake) Not having to instrument WebKit2 would be time saving, but I would like for us as a class to be able to compile a relatively large and involved piece of software. As part of my explaining I thought of a "Linux(/Debian) for kids" kind of book but not as some sort of coloring book, but more like a carpentry one. I did follow the steps on that link: Microsoft Windows [Version 10.0.19043.1706] (c) Microsoft Corporation. All rights reserved. C:\Users\...> C:\Users\...> C:\Users\...> C:\Users\...>wsl --user <...> $ date Fri 03 Jun 2022 03:18:54 PM CDT $ $ ls -l /etc/apt/sources.list -rw-r--r-- 1 root root 229 Aug 18 2021 /etc/apt/sources.list $ sudo vim /etc/apt/sources.list [sudo] password for <...>: ... $ ls -l /etc/apt/sources.list -rw-r--r-- 1 root root 480 Jun 3 15:17 /etc/apt/sources.list $ cat /etc/apt/sources.list deb http://deb.debian.org/debian bullseye main deb http://deb.debian.org/debian bullseye-updates main deb http://security.debian.org/debian-security bullseye-security main deb http://ftp.debian.org/debian bullseye-backports main # https://wiki.debian.org/HowToGetABacktrace deb http://deb.debian.org/debian-debug/ bullseye-debug main # https://wiki.debian.org/HowToGetABacktrace (for security updates) deb http://deb.debian.org/debian-debug/ bullseye-proposed-updates-debug main $ still I don't see anything really, just some python code to sniff qtwebkit-dbg file formats? (which shoud mean that you should at least be able to find qtwebkit, right?): $ apt-cache search webkit2 dbg $ $ apt-cache search webkit dbg python3-pyqt5.qtwebchannel-dbg - Python 3 bindings for Qt5's Webchannel module (debug extension) python3-pyqt5.qtwebkit-dbg - Python 3 bindings for Qt5's WebKit module (debug extensions) $ $ sudo apt install webkit-dbgsym ... E: Unable to locate package webkit-dbgsym $ sudo apt install webkit2-dbgsym ... E: Unable to locate package webkit2-dbgsym $ lbrtchx
Re: (cmake) Could NOT find LibSoup: Found unsuitable version "" ...
On Fri 03 Jun 2022 at 12:02:29 (-0500), Albretch Mueller wrote: > On 6/3/22, David Wright wrote: > > On Fri 03 Jun 2022 at 11:01:30 (+0300), Anssi Saari wrote: > >> Albretch Mueller writes: > >> > >> > ... Could NOT find LibSoup: Found unsuitable version "", > > The problem lies between these quotes, it would appear: ↑↑ > > I don't know if you are trying to bring humor into the problematic, > but that was literally part of the error message. On the one side > cmake doesn't seem to be able to even find what the installed version > of libsoup is while on the other apt-get tells me: > ... > libsoup2.4-dev is already the newest version (2.72.0-2). Yes, because I can contribute nothing as to why the internal version number isn't detected. Nor could I add any help beyond that already given at the time, that of installing the -dev. I was merely pointing out that your installed version is new enough. AIUI, there are two distinct sequence numbers for libsoup; not distinctive enough to have been noticed. Cheers, David.
Re: (cmake) Could NOT find LibSoup: Found unsuitable version "" ...
On 03/06/2022 14:02, Albretch Mueller wrote: Basically, I am trying to compile WebKit2 (on WSL! ;-)) with debugging symbols included in order to teach my students how to debug, Debian has debug symbols for most (if not all) packages, but they're in a different repository. See https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols . -- By all means marry: If you get a good wife, you'll become happy; if you get a bad one, you'll become a philosopher. -- Socrates Eduardo M KALINOWSKI edua...@kalinowski.com.br
Re: (cmake) Could NOT find LibSoup: Found unsuitable version "" ...
On 6/3/22, David Wright wrote: > On Fri 03 Jun 2022 at 11:01:30 (+0300), Anssi Saari wrote: >> Albretch Mueller writes: >> >> > ... Could NOT find LibSoup: Found unsuitable version "", > The problem lies between these quotes, it would appear: ↑↑ I don't know if you are trying to bring humor into the problematic, but that was literally part of the error message. On the one side cmake doesn't seem to be able to even find what the installed version of libsoup is while on the other apt-get tells me: ... libsoup2.4-dev is already the newest version (2.72.0-2). ... Preparing to unpack .../libsoup-gnome2.4-dev_2.72.0-2_amd64.deb ... Unpacking libsoup-gnome2.4-dev:amd64 (2.72.0-2) ... Setting up gir1.2-soup-2.4:amd64 (2.72.0-2) ... Setting up libpsl-dev:amd64 (0.21.0-1.2) ... Setting up libsoup2.4-dev:amd64 (2.72.0-2) ... Setting up libsoup-gnome2.4-dev:amd64 (2.72.0-2) ... and yes, cmake/webkit would not even swallow that version, but there should be a way to work around that problem. >> Maybe start with what it is you're trying to accomplish? Why do you want >> to compile webkit2 yourself? Basically, I am trying to compile WebKit2 (on WSL! ;-)) with debugging symbols included in order to teach my students how to debug, because after having worked them into at least pretending they had fallen in love with the concept of Mathematical function, they have asked me "but, what is it good for?" I have chosen WSL as my way to move them away from Windows "gracefully" and also partially for “political” (school would not install Linux), as well as economical reasons (some of my kiddos don't even have an actual computer at home); so that makes the whole situation even better in a "give me the tired ..." way. Why WebKit? Because, I want for them (high schoolers) to have "a real taste of reality". Kids tend to see society as this big impenetrable thing, but, again, the concept of mathematical function will serve them as compass throughout their life. Kids nowadays also need to see colors and things moving on a screen, preferably their cell phone's from them to be able to "believe" it. With WebKit’s minibrowser they could (I can tutor them to) do something on their own. Working with kids have made me a better person and something I have understood is that you have to brake down whatever you are explaining to them into pieces they can understand, relate to. A natural part of being an adult is forgetting that. Most so-called "tutorials" out there mean absolutely nothing to most kids. lbrtchx
Re: (cmake) Could NOT find LibSoup: Found unsuitable version "" ...
On Fri 03 Jun 2022 at 11:01:30 (+0300), Anssi Saari wrote: > Albretch Mueller writes: > > > ... Could NOT find LibSoup: Found unsuitable version "", The problem lies between these quotes, it would appear: ↑↑ > > but required is at least "2.54.0" (found LIBSOUP_INCLUDE_DIRS-NOTFOUND) > > Hm. Debian Bullseye packages libsoup 2.4 so even if you had it installed > (and the development package too which has the stuff cmake looks for) > that test would still fail. But: > > libsoup2.4-1 is already the newest version (2.72.0-2). > > libsoup2.4-1 set to manually installed. 2.72.0 is way beyond 2.54.0. > Maybe start with what it is you're trying to accomplish? Why do you want > to compile webkit2 yourself? In my experience compiling complex software > requires knowledge about many topics and tools and can be quite > frustrating and time consuming. Cheers, David.
Re: (cmake) Could NOT find LibSoup: Found unsuitable version "" ...
Albretch Mueller writes: > ... Could NOT find LibSoup: Found unsuitable version "", but required > is at least "2.54.0" (found LIBSOUP_INCLUDE_DIRS-NOTFOUND) Hm. Debian Bullseye packages libsoup 2.4 so even if you had it installed (and the development package too which has the stuff cmake looks for) that test would still fail. Maybe start with what it is you're trying to accomplish? Why do you want to compile webkit2 yourself? In my experience compiling complex software requires knowledge about many topics and tools and can be quite frustrating and time consuming.
Re: (cmake) Could NOT find LibSoup: Found unsuitable version "" ...
On Thu, Jun 02, 2022 at 05:04:16PM -0500, Albretch Mueller wrote: > even though I have installed libsoup or probably I should install it > as part of some other package? I couldn't make sense of that problem: > > > https://packages.debian.org/search?suite=bullseye=all=any=all=LibSoup > > Why would that be happening at all? > > The error log is also telling me about "OptionsGTK", but I couldn't > make sense of it either. > > > https://packages.debian.org/search?suite=bullseye=all=any=all=OptionsGTK > > Could those kinds of problems relate to installing some relatively > heavy duty software (webkit2) on WSL? > ~ > ... Could NOT find LibSoup: Found unsuitable version "", but required > is at least "2.54.0" (found LIBSOUP_INCLUDE_DIRS-NOTFOUND) > CMake Error at Source/cmake/OptionsGTK.cmake:211 (message): > libsoup is required. > Call Stack (most recent call first): > Source/cmake/WebKitCommon.cmake:220 (include) > CMakeLists.txt:20 (include) > > > -- Configuring incomplete, errors occurred! > See also > "/mnt/e/cmllpz/LklWb/org/webkitgtk/releases/webkitgtk-2.36.3/CMakeFiles/CMakeOutput.log". > $ > > > sudo apt-get install libsoup2.4-1 --assume-yes > Reading package lists... > Building dependency tree... > Reading state information... > libsoup2.4-1 is already the newest version (2.72.0-2). > libsoup2.4-1 set to manually installed. > 0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded. Sorry, your description is pretty incomplete to follow. It'd be nice if you started describing /what/ you are trying to do. Given that "cmake" hint, I'll guess you are trying to compile something. If that's the case, you will have to install the corresponding -dev package, that would be: libsoup2.4-dev (you'll need libsoup-2.4 too, but you've got that already). HTH -- t signature.asc Description: PGP signature