Am 16.09.2020 um 22:12 schrieb Pičugins Arsenijs:
>
> 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.

Ah, okay. That's the true store. It would be great, if one can read this
in the wiki. Anyway, I give it a try.

- libserial can be compiled
- libsigrok throws an error:

echo "  CXXLD   " bindings/cxx/libsigrokcxx.la;/bin/bash ./libtool
--silent --tag=CXX --silent  --mode=link g++ -std=c++11 -Wall -Wextra
-std=c++11 -I/usr/include/glibmm-2.4
-I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0
-I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -g -O2 -version-info
4:0:0 -no-undefined  -o bindings/cxx/libsigrokcxx.la -rpath
/usr/local/lib bindings/cxx/classes.lo libsigrok.la -lm -lglibmm-2.4
-lgobject-2.0 -lglib-2.0 -lsigc-2.0
ar: `u' modifier ignored since `D' is the default (see `U')

I see that the script libtool uses the options "cru" in that incovation.
The installed version of ar is "GNU ar (GNU Binutils for Ubuntu) 2.26.1"
ar --help doesn't list an option with a capitalized U.

I changed the libtool to pass the options "crU" to ar. This makes the
project compiling. I wouldn't recommend that, but it works. Strange.

- The same applies to libsigrokdecode.

I skipped sigrok-cli for the moment, since I am focussed on PulseView.
No I got an environment, that I can use for some work on.


BTW: Each 'Building' block of commands line misses a '$ cd ..' as last
line. This can be deduced, but that line would make it round.


Best Regards,
Helge


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

Reply via email to