Friday, September 29, 2017

Laptop installation

Dual-booted Fedora 26, ran the F26 update. I observed something that I had already seen in two of my VMs, so I suspect a bug in F26, specifically that you lose networking the first time you run dnf udpate. I thougbt this might be some kind of VM bug, but since this time I saw that with a normal Lenovo laptop, I think the bug is really in Fedora itself.

I have reserved partitions for a triple boot, but all my USB keys are full of interesting stuff, and the only one I have left is only 1G. So I had to download the boot-only image for RHEL 7.4.

spice-gtk development

While I have no trouble from the Linux VM, my macOS build of spice-gtk now complains about

Wrong JPEG library version: library is 80, caller expects 90

Did not really investigate yet, but that's next on my to-do list.

Trying to solve that using PKG_CONFIG_PATH instead of manually setting CPPFLAGS:

export PKG_CONFIG_PATH=/usr/local/opt/jpeg-turbo/lib/pkgconfig:/usr/local/opt/libjpeg-turbo/lib/pkgconfig:/usr/local/Cellar/openssl/1.0.2l/lib/pkgconfig:$PKG_CONFIG_PATH

Also, missing gstreamer plugins, adding that to my brew list:

brew install pkg-config pixman gtk+3 gstreamer gstreamermm libjpeg-turbo gst-plugins-good gst-plugins-bad gst-libav

Despite having it in my PKG_CONFIG_PATH, I still don't get libjpeg-turboin that case, instead:

  CC       channel-display-mjpeg.lo

channel-display-mjpeg.c:117:2: error: "You should consider building with libjpeg-turbo" [-Werror,-W#warnings] #warning "You should consider building with libjpeg-turbo" ^ 1 error generated.

Curious to see if just not using libjpeg-turbo (and associated libjpeg.8.dylib (instread of .9) can work. Just commenting the warning out, the rest builds fine, but I still get the "Wrong JPEG library version"