Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646726 - sci-geosciences/opencpn-4.8.0-r1 - CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES)
Summary: sci-geosciences/opencpn-4.8.0-r1 - CMake Error at /usr/share/cmake/Modules/Fi...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-02-06 01:54 UTC by Walter
Modified: 2018-03-16 22:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walter 2018-02-06 01:54:29 UTC
Emerging I got these errors (I have the 'gps' and 'opengl' USE flags enabled)...

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindwxWidgets.cmake:953 (find_package_handle_standard_args)
  CMakeLists.txt:408 (FIND_PACKAGE)

... however I have wxWidgets installed already.

*  app-eselect/eselect-wxwidgets
      Latest version available: 20140423
      Latest version installed: 20140423
      Size of files: 16 KiB
      Homepage:      https://www.gentoo.org
      Description:   Eselect module and wrappers for wxWidgets
      License:       GPL-2

# eselect wxwidgets list
Available wxWidgets profiles:
  [1]   gtk2-unicode-3.0 *

The bug seems very similar to #642734 which was resolved by https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c98d03ea71aad91fdc6aa610dfbfcd9c0bb17f

... ie. the fix is:
 - add 'setup-wxwidgets' to src_prepare()
 - add 'x11-libs/wxGTK:${WX_GTK_VER}"' to DEPEND
 - define WX_GTK_VER eg. WX_GTK_VER="3.0"
 - add 'wxwidgets' to inherit
Comment 1 Marc Schiffbauer gentoo-dev 2018-03-16 22:02:14 UTC
Hi Walter,

all this is already in the ebuild, we called need-wxwidgets() before which is the same (but deprecated).

Is this still a problem for you in 4.8.2?