From: Karsten O. <wid...@t-...> - 2007-05-16 00:23:05
|
Andrea Cogliati schrieb: > Guys, > > I'm trying to build GP 4.1.3 under Mac OS X 10.4 Tiger but I've got the > following error when running configure: > > checking for PCSCLITE... configure: WARNING: install pcsc-lite 1.2.9-beta7 > or later > checking for SCardEstablishContext in -lpcsclite... no > configure: error: SCardEstablishContext() not found, install pcsc-lite > 1.2.9-beta7 or later > > Googling around I've found that Tiger ships with an old and Apple customized > pcsc-lite lib so I can't install a different one. Any advise? Maybe the configure script is too script. Try the following: Download the source. There should be a file called reconf, if not check out the sources from CVS. You must have installed automake, autoconf, libtools. Usually you will have. In the file configure.in (maybe also only in CVS) there are should be the lines: <snip> dnl Check for pcsclite PKG_CHECK_MODULES(PCSCLITE, libpcsclite >= 1.2.9-beta7, [], [ if test -f /usr/local/lib/pkgconfig/libpcsclite.pc ; then AC_MSG_ERROR([install pkg-config or set PKG_CONFIG_PATH to pkgconfig directory]) else AC_MSG_WARN([install pcsc-lite 1.2.9-beta7 or later]) fi ]) AC_CHECK_LIB(pcsclite, SCardEstablishContext, [], [AC_MSG_ERROR([SCardEstablishContext() not found, install pcsc-lite 1.2.9-beta7 or later])]) CFLAGS="$CFLAGS $PCSCLITE_CFLAGS" AC_CHECK_HEADER(winscard.h, [], [AC_MSG_ERROR([winscard.h not found, install pcsc-lite 1.2.9-beta7 or later, or use CFLAGS=... ./configure])]) <snip> As workaround just remove these line so the check is not done anymore. Usually it should be libpcsclite.lib should be still on the default library path. If you some headers are not found (the ones where winscard.h resides) use CFLAGS=<path to winscard.h> Now run reconf (Maybe it cannot be executed because it is not marked as executable, under Linux chmod 755 reconf helps). The configure file should be rebuild and you can try again. Does this help or is the explaination too coarse? Regards, Karsten > > TIA, > > Andrea > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Globalplatform-users mailing list > Glo...@li... > https://lists.sourceforge.net/lists/listinfo/globalplatform-users |