Hi,

I switched to Ubuntu and tried to build sigrok as described here:
https://sigrok.org/wiki/Building

I thaught I installed the prerequisites with "apt install", but I get an
error:

 [many lines omitted]
 checking for jni.h... no
 checking for LIBSIGROK... no
 configure: error: Package requirements (glib-2.0 >= 2.32.0
libserialport >= 0.1.1 libzip >= 0.10) were not met:

 No package 'glib-2.0' found

 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.

 Alternatively, you may set the environment variables LIBSIGROK_CFLAGS
 and LIBSIGROK_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 helge@Walrus:~/sigrok/sigrok-util/cross-compile/linux$

So I tried to get the missing glib-2.0 package. apt selected some
packages, but I can't say if it actually install anything:

 helge@Walrus:~/sigrok/sigrok-util/cross-compile/linux$ sudo apt install
glib-2.0
 [sudo] password for helge:
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Note, selecting 'libspice-client-glib-2.0-dev' for regex 'glib-2.0'
 Note, selecting 'libqt5glib-2.0-0' for regex 'glib-2.0'
 Note, selecting 'gir1.2-spice-client-glib-2.0' for regex 'glib-2.0'
 Note, selecting 'gir1.2-glib-2.0' for regex 'glib-2.0'
 Note, selecting 'libspice-client-glib-2.0-1' for regex 'glib-2.0'
 Note, selecting 'libspice-client-glib-2.0-8' for regex 'glib-2.0'
 Note, selecting 'libqtglib-2.0-0' for regex 'glib-2.0'
 gir1.2-glib-2.0 is already the newest version (1.46.0-3ubuntu1).
 gir1.2-spice-client-glib-2.0 is already the newest version (0.30-1).
 libqt5glib-2.0-0 is already the newest version (1.2.0-3).
 libqtglib-2.0-0 is already the newest version (1.2.0-3).
 libspice-client-glib-2.0-8 is already the newest version (0.30-1).
 libspice-client-glib-2.0-dev is already the newest version (0.30-1).
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 helge@Walrus:~/sigrok/sigrok-util/cross-compile/linux$

My Linux experience is very dated and I don't know what I have to do
here to get a running environment.

Best regards,
Helge



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

Reply via email to