[GNC] fail to build libchipcard on MINGW32, build for windows installer

Hai Liang Wang hailiang.hl.wang at gmail.com
Mon Aug 12 22:43:24 EDT 2024


hi, Folks

Come to a problem with run `TARGET=gnucash-stable jhbuild -f jhbuildrc
build ` on MINGW32 environment.
The error trace is below.

*checking if gwenhywfar test desired... yes*
*checking for Gwenhywfar version >=4.99.8.0... found 5.11.2.0*
*checking whether local installation mode is wanted... yes*
*checking data search dir... share/chipcard*
*checking locale search dir... share/locale*
*checking cfg search dir... etc/chipcard*
*checking for dpkg-architecture... no*
*checking for multiarch paths... not found*
*checking for PCSCLITE... no*
*configure: error: Package requirements (libpcsclite) were not met:*

*Package 'libpcsclite' not found*

*Consider adjusting the PKG_CONFIG_PATH environment variable if you*
*installed software in a non-standard prefix.*

*Alternatively, you may set the environment variables PCSCLITE_CFLAGS*
*and PCSCLITE_LIBS to avoid the need to call pkg-config.*
*See the pkg-config man page for more details.*
* [1m*** Error during phase configure of libchipcard: ########## Error
running /c/gcdev64/gnucash/stable/src/libchipcard-5.1.6/configure --prefix
/c/gcdev64/gnucash/stable/inst --disable-Werror --enable-local-install
PKG_CONFIG='pkg-config --dont-define-prefix' --build=x86_64-w64-mingw64
*** [4/14] [m *
---

Attached the full log.

So, what is the proper way to install *libpcsclite *on MINGW32 machine?
On the homepage, https://pcsclite.apdu.fr/, pcsclite does not support
MINGW32, right?

Cheers.
Hai Liang W.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.2024081310-2.log
Type: application/octet-stream
Size: 9720 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20240813/3a2169f4/attachment-0001.obj>


More information about the gnucash-user mailing list