Sunday, November 14, 2021

[SOLVED] /usr/bin/mingw32-cmake: line 84: fg: no job control (Midori cross-compiling error)

Issue

I'm trying to compile Midori Web Browser for Windows on Fedora 22. For that purpose I'm following this tutorial.

I installed these dependencies except faenza-icon-theme:

yum install gcc vala intltool
yum install libsoup-devel webkitgtk3-devel sqlite-devel
yum install mingw{32,64}-webkitgtk3 mingw{32,64}-glib-networking mingw{32,64}-gdb mingw{32,64}-gstreamer-plugins-good
yum install faenza-icon-theme p7zip mingw32-nsis greybird-gtk3-theme

Later I installed faenzai-icon-theme via using a third party rpm.

I downloaded source:

bzr branch lp:midori
cd midori
mkdir _mingw32
cd _mingw32

But at this step:

mingw32-cmake .. -DUSE_ZEITGEIST=0 -DUSE_GTK3=1 -DCMAKE_INSTALL_PREFIX=/usr/i686-w64-mingw32/sys-root/mingw -DCMAKE_VERBOSE_MAKEFILE=0

I'm getting an error:

/usr/bin/mingw32-cmake: line 84: fg: no job control

I don't know how to solve this problem and the meaning of this error. I made a research on internet but nothing came up.


Solution

FWIW: I had the same error message trying to build a project of mine. It went away after

yum install cmake 

Both mingw32-cmake and mingw64-cmake need cmake to function. (Actually, make that dnf install cmake nowadays.)



Answered By - Roberto