CMake Error at thirdparty/nanodbc/CMakeLists.txt:148 (message): can not find a suitable odbc driver manager
Installing https://aur.archlinux.org/packages/nanodbc fixed this issue.
Git Clone URL: | https://aur.archlinux.org/kicad-git.git (read-only, click to copy) |
---|---|
Package Base: | kicad-git |
Description: | Electronic schematic and printed circuit board (PCB) design tools |
Upstream URL: | https://kicad.org/ |
Licenses: | GPL |
Conflicts: | kicad, kicad-bzr |
Provides: | kicad |
Submitter: | Chocobo |
Maintainer: | nickoe |
Last Packager: | nickoe |
Votes: | 67 |
Popularity: | 0.000012 |
First Submitted: | 2015-10-08 16:39 (UTC) |
Last Updated: | 2022-08-28 22:58 (UTC) |
CMake Error at thirdparty/nanodbc/CMakeLists.txt:148 (message): can not find a suitable odbc driver manager
Installing https://aur.archlinux.org/packages/nanodbc fixed this issue.
Adjustments for wxwidgets 3.2.0 needed:
+++ kicad-my/PKGBUILD 2022-07-16 23:05:02.381528329 +0200
@@ -1,13 +1,13 @@
# Maintainer: Nick Østergaard <oe.nick at gmail dot com>
pkgname=kicad-git
-pkgver=5.99.0.r12888.gc5e5d8e0d4
+pkgver=6.99.0.r2452.gdb4f2d9dd8
pkgrel=1
pkgdesc="Electronic schematic and printed circuit board (PCB) design tools"
arch=('i686' 'x86_64')
url="https://kicad.org/"
license=('GPL')
-depends=('glew' 'wxgtk3' 'desktop-file-utils' 'boost-libs' 'python'
+depends=('glew' 'wxwidgets-gtk3' 'desktop-file-utils' 'boost-libs' 'python'
'glm' 'curl' 'swig' 'python-wxpython' 'opencascade' 'ngspice>=27')
makedepends=('cmake' 'git' 'zlib' 'mesa' 'boost')
optdepends=('kicad-library: for footprints')
@@ -30,16 +30,8 @@
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DKICAD_USE_OCE=OFF \
- -DKICAD_USE_OCC=ON \
- -DBUILD_GITHUB_PLUGIN=ON \
- -DKICAD_SCRIPTING=ON \
- -DKICAD_SCRIPTING_MODULES=ON \
- -DKICAD_SCRIPTING_ACTION_MENU=ON \
- -DKICAD_SCRIPTING_PYTHON3=ON \
- -DKICAD_SCRIPTING_WXPYTHON=ON \
- -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 \
- -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold \
- -DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
+ -DKICAD_USE_EGL=ON \
+ -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold
make
}
@electro707, I am not awareof ny verison bump requirement from upstream, what I think you are facing is that you may have installed a wxpython version that requries wx 3.1, maybe oyu insalled wxpython 4.1?
Looks like, as of 2021-10-23, that KiCad requires WxWidgets 3.1.5:
CMake Error at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find wxWidgets: Found unsuitable version "3.0.5", but required is
at least "3.1.5" (found
-pthread;;;-lwx_gtk3u_gl-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_gtk3u_propgrid-3.0;-lwx_baseu_xml-3.0;-lwx_gtk3u_stc-3.0;-lwx_gtk3u_richtext-3.0)
Call Stack (most recent call first):
/usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:592 (_FPHSA_FAILURE_MESSAGE)
CMakeModules/FindwxWidgets.cmake:1019 (find_package_handle_standard_args)
CMakeLists.txt:876 (find_package)
But the non-AUR wxgtk3
package is using the stable wx release of 3.0.5
@f0x52, yes, I have now updated it
as per https://forum.kicad.info/t/warning-avoid-all-links-to-kicad-pcb-org-use-kicad-org/31521 the upstream url should probably be changed to kicad.org
Getting some warnings from CMake:
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_GITHUB_PLUGIN
KICAD_SCRIPTING
KICAD_SCRIPTING_ACTION_MENU
KICAD_SCRIPTING_MODULES
KICAD_SCRIPTING_PYTHON3
KICAD_SCRIPTING_WXPYTHON_PHOENIX
These have been removed and ON by default. See this post on the mailing list.
Hey, can you add -G Ninja
to the cmake options and then change make
to cmake --build .
then the make install line can become DESTDIR="${pkgdir}" cmake --build . -- install
makes the build go brrr
@haawda, thank you for testing, but I currently think the right thing to do is to get community/python-wxpython
downgraded.
I needed to use wxgtk3-dev from AUR instead of WXGTK3 and the fowllowing patch to build.
diff --git a/PKGBUILD b/PKGBUILD
index 0b23d76..36f51ce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,6 +31,7 @@ build() {
-DCMAKE_INSTALL_LIBDIR=lib \
-DKICAD_USE_OCE=OFF \
-DKICAD_USE_OCC=ON \
+ -DKICAD_USE_EGL=ON \
-DBUILD_GITHUB_PLUGIN=ON \
-DKICAD_SCRIPTING=ON \
-DKICAD_SCRIPTING_MODULES=ON \
Pinned Comments
nickoe commented on 2021-05-23 11:09 (UTC)
@haawda, thank you for testing, but I currently think the right thing to do is to get
community/python-wxpython
downgraded.See https://bugs.archlinux.org/task/70908