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.

> 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:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libglibmm
E: Unable to locate package libqt5svg

Reading the web page you referenced I assume your proposed line is out
of date and libqtsbf5 is not necessary anymore. So I try the apt-get
without the missing packages. This results in

The following NEW packages will be installed:
  gir1.2-atspi-2.0 gir1.2-gtk-3.0 libatk-bridge2.0-dev libatkmm-1.6-1v5
libatkmm-1.6-dev libatspi2.0-dev libcairomm-1.0-1v5 libcairomm-1.0-dev
libdbus-1-dev libepoxy-dev libgmp-dev libgmpxx4ldbl libgtk-3-dev
libgtkmm-3.0-1v5 libgtkmm-3.0-dev libpangomm-1.4-1v5 libpangomm-1.4-dev
libxtst-dev nettle-dev x11proto-record-dev

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.

$ 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".

I would assume that a ./configure could be missing. But there is neither
the configure script nor any hint in the manual at the sigrok website.

> and  so on. Saves a lot of time and effort.
Well. I get the result. Above.

I would prefere the manual step because the cross-compile script fetches
the sources each time. I plan to make some modifications. I will have to
look how to just compile...


Regards,
Helge



_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to