16.09.2020, 22:59, "Helge Kruse" <helge.kr...@gmx.net>: > Am 13.09.2020 um 17:11 schrieb Pičugins Arsenijs: >> Hello! >> >> Do you *need* to cross-compile? That seems to be what you're doing. > > No. Not really necessary. >
If you want to compile on Ubuntu and then run everything on the same computer (and not on, say, some completely different CPU architecture), then you do *not* need the cross-compile script - that's for cases when you, say, want to compile everything on x86 and then run the result on an ARM CPU. >> I've been running self-compiled Pulseview for a couple of years now. >> I suggest you follow this page: >> https://sigrok.org/wiki/Linux#Building_.28manually.29 >> It's worked for me on Ubuntu 18.04. You will want to start a >> fresh install - remove all you've downloaded so far, so that results >> of the previous botched install do not interfere. > > Yes, good idea. I started with a new directory where the "git clone" > will create a fresh copy. > >> Also, you do not need to run separate apt install lines for so many >> packages, you can just do: >> sudo apt install libgtkmm-3.0-dev libglibmm autoconf-archive libsigrok-dev >> libglibmm-2.4-dev libqt5svg libqt5svg5-dev libboost1.58-all-dev > > Great! I did so: Nonono, that was just an example of a command-line you could use (as in, a better way to use apt-get), the package names are likely wrong since I re-typed them by hand. Please use the instructions on the page I've linked, the command I've written is an example for your personal use, for any future scenarios. > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Unable to locate package libglibmm > E: Unable to locate package libqt5svg > [...] > And then I continue with the lines from the building page: > $ git clone git://sigrok.org/pulseview > $ cd pulseview > $ cmake . > $ make > $ sudo make install > > Git clone runs perfectly. You need to compile all 5 projects on that page in the correct order - libserialport, libsigrok, libsigrokdecode, sigrok-cli and then pulseview. It's important to do them all in the right order because they depend on each other - as the output of your command suggests: > $ cmake . > -- Checking for module 'libsigrokcxx>=0.5.2' > -- > CMake Error at CMakeLists.txt:99 (message): > libsigrok C++ bindings missing, check libsigrok's 'configure' output > (missing dependencies?) > > -- Configuring incomplete, errors occurred! > See also "/home/helge/sigrok/pvlive/pulseview/CMakeFiles/CMakeOutput.log". As you can see, this output complains about missing libsigrok - something you would have by then if you were to compile the pre-requisite project before. I have a folder where I've cloned all 5 projects, and when I want to update each of the instances, I go into the folders one-by-one, git pull-ing, recompiling and reinstalling each one of the projects. That helps me keep my Pulseview install as up-to-date with new features as it can be. > Regards, > Helge Cheers! Arsenijs _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel