Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
I'm trying to build wxWidgets 3.1.0 on Linux Mint 18.2 using version 5.4 of GCC. I've installed the libwebkit2gtk-4.0-dev package since I'm building the library with support for GTK3. The configure and make commands complete without any errors, but there is no webview library in the libs folder.
The configure and make commands complete without any errors
Have a look in config.log, or scroll through the 'configure' output. It will probably tell you that --enable-webviewwebkit failed because of some missing dependency.
That doesn't make 'configure' fail though, so ../configure && make -j will still build the rest of wx3.1.
Turns out I hadn't installed the correct version of libwekitgtk. The message in the output didn't say which version it was looking for so it took a few tries to find the correct version.