OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[Muscle] Autoconf problem & small patch

From: Evaldo Gardenali (evaldogardenali.biz)
Date: Thu Jul 21 2005 - 19:32:03 CDT


Hi!

I am running into some problem when trying to build PC/SC-Lite. I am
packaging it for NetBSD, so I need to re-run the autotools.

I have these in my environment:
===> Required installed package libtool-base>=1.5.18nb1:
libtool-base-1.5.18nb3 found
===> Required installed package automake>=1.9: automake-1.9.6 found
===> Required installed package autoconf>=2.58: autoconf-2.59nb1 found
===> Required installed package gmake>=3.78: gmake-3.80nb4 found

I am downloading this:
http://alioth.debian.org/download.php/975/pcsc-lite-1.2.9-beta7.tar.gz

then I am running this:
aclocal && autoheader && libtoolize --automake && \
automake --copy --add-missing && autoconf

and I get these error messages:
configure.in:67: error: possibly undefined macro: AC_DEFINE
       If this token and others are legitimate, please use m4_pattern_allow.
       See the Autoconf documentation.
configure.in:70: error: possibly undefined macro: AC_MSG_ERROR
configure.in:287: error: possibly undefined macro: AS_AC_EXPAND

I would like further details of which versions of each tools are used
with this package.

I got to generate files with a hack (downgraded autoconf, skipped
running aclocal), and then I can verify the following patch to be okay.
This patch creates the $DESTDIR/include/PCSC directory, which seems to
be missing, causing the installation to fail for non-gnu 'install' utility.

--- src/Makefile.am.orig 2005-02-24 09:44:10.000000000 -0300
+++ src/Makefile.am
-86,3 +86,6 tokenparser.c: tokenparser.l

  EXTRA_DIST = README_INTERNALS.txt dyn_win32.c thread_win32.c
winscard_scf.c

+install-data-local:
+ ${INSTALL} -d ${DESTDIR}${includedir}/PCSC

I have other 2 patches for correctly handling pathnames in NetBSD, which
require running the autotools too.

Thanks,
Evaldo Gardenali

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle