After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787192 - MSys2/Jhbuild fails to find swig in gnucash configure step
MSys2/Jhbuild fails to find swig in gnucash configure step
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: Build system
git-master
Other Windows
: Normal normal
: future
Assigned To: gnucash-core-maint
gnucash-core-maint
Depends on:
Blocks:
 
 
Reported: 2017-09-02 19:32 UTC by Geert Janssens
Modified: 2018-06-29 23:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Geert Janssens 2017-09-02 19:32:51 UTC
This is after having completed
* setup-mingw64.ps1 -target_dir d:\gcdev64
* started jhbuild as suggested
* skipped over build and install steps of googletest

The gnucash configure step fails with the following error:
*** Configuring gnucash *** [15/17]
cmake -DCMAKE_INSTALL_PREFIX=/d/gcdev64/inst -DCMAKE_INSTALL_LIBDIR=lib -G 'MSYS Makefiles' -DCMAKE_PREFIX_PATH=c:/gcdev64/msys2 -DPERL_EXECUTABLE=/usr/bin/perl -DGNC_DBD_DIR=$PREFIX/lib/dbd -DHTMLHELP_DIR=$PREFIX/hh -DGTEST_ROOT=$SRCROOT/googletest/googletest -DGMOCK_ROOT=$SRCROOT/googletest/googlemock  /d/gcdev64/src/gnucash-git
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: D:/gcdev64/msys2/mingw32/bin/gcc.exe
-- Check for working C compiler: D:/gcdev64/msys2/mingw32/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: D:/gcdev64/msys2/mingw32/bin/g++.exe
-- Check for working CXX compiler: D:/gcdev64/msys2/mingw32/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: D:/gcdev64/msys2/usr/bin/git.exe (found version "2.13.3")
-- Found PkgConfig: D:/gcdev64/msys2/mingw32/bin/pkg-config.exe (found version "0.29.2")
-- Checking for module 'glib-2.0>=2.40'
--   Found glib-2.0, version 2.52.3
-- Checking for module 'gio-2.0'
--   Found gio-2.0, version 2.52.3
-- Checking for module 'gobject-2.0>=2.20'
--   Found gobject-2.0, version 2.52.3
-- Checking for module 'gmodule-2.0>=2.20'
--   Found gmodule-2.0, version 2.52.3
-- Checking for module 'gthread-2.0>=2.20'
--   Found gthread-2.0, version 2.52.3
-- Checking for module 'libxml-2.0>=2.7.0'
--   Found libxml-2.0, version 2.9.4
-- Checking for module 'libxslt'
--   Found libxslt, version 1.1.29
-- Checking for module 'webkitgtk-3.0'
--   Found webkitgtk-3.0, version 2.4.11
-- Checking for module 'gtk+-3.0>=3.10.0'
--   Found gtk+-3.0, version 3.22.18
-- Checking for module 'zlib'
--   Found zlib, version 1.2.11
-- Looking for htmlhelp.h and htmlhelp.a
CMake Error at D:/gcdev64/msys2/mingw32/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find SWIG (missing: SWIG_DIR)
Call Stack (most recent call first):
  D:/gcdev64/msys2/mingw32/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
  D:/gcdev64/msys2/mingw32/share/cmake-3.9/Modules/FindSWIG.cmake:63 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:247 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "D:/gcdev64/build/gnucash-git/CMakeFiles/CMakeOutput.log".
*** Error during phase configure of gnucash: ########## Error running cmake -DCMAKE_INSTALL_PREFIX=/d/gcdev64/inst -DCMAKE_INSTALL_LIBDIR=lib -G 'MSYS Makefiles' -DCMAKE_PREFIX_PATH=c:/gcdev64/msys2 -DPERL_EXECUTABLE=/usr/bin/perl -DGNC_DBD_DIR=$PREFIX/lib/dbd -DHTMLHELP_DIR=$PREFIX/hh -DGTEST_ROOT=$SRCROOT/googletest/googletest -DGMOCK_ROOT=$SRCROOT/googletest/googlemock  /d/gcdev64/src/gnucash-git *** [15/17]

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
choice:

This is on a Windows 7 Professional 64-bit system building the 32bit version of gnucash.
Comment 1 John Ralls 2018-06-29 23:59:08 UTC
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=787192. Please continue processing the bug there and please update any external references or bookmarks.