From twzgerald at gmail.com Wed Mar 29 07:39:33 2017 From: twzgerald at gmail.com (Thotheolh Tay) Date: Wed, 29 Mar 2017 15:39:33 +0800 Subject: [Pcsclite-muscle] Building CCID from Github encounters error Message-ID: Hi, I have cloned the CCID repository and have automake, flex and installed build-essential on an Ubuntu machine. I tried to do sudo ./bootstrap and encountered errors. Attached in the email is the output file. Regards, Tay. -- ,----------------------------------------------------------, PGP Secure Email Key ID:6FBFC19D 7721 3E54 FA6D B79D AFE6 AC45 8885 F995 6FBF C19D '----------------------------------------------------------' -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bootstrap.log Type: application/octet-stream Size: 4334 bytes Desc: not available URL: From ludovic.rousseau at gmail.com Wed Mar 29 08:23:25 2017 From: ludovic.rousseau at gmail.com (Ludovic Rousseau) Date: Wed, 29 Mar 2017 10:23:25 +0200 Subject: [Pcsclite-muscle] Building CCID from Github encounters error In-Reply-To: References: Message-ID: 2017-03-29 9:39 GMT+02:00 Thotheolh Tay : > Hi, > Hello, > > I have cloned the CCID repository and have automake, flex and installed > build-essential on an Ubuntu machine. > > I tried to do sudo ./bootstrap and encountered errors. > Do NOT use sudo for this step. > > Attached in the email is the output file. > Your log contains: ./bootstrap: line 13: libtoolize: command not found So install libtoolize and it should work. Bye -- Dr. Ludovic Rousseau -------------- next part -------------- An HTML attachment was scrubbed... URL: From twzgerald at gmail.com Wed Mar 29 08:50:51 2017 From: twzgerald at gmail.com (Thotheolh Tay) Date: Wed, 29 Mar 2017 16:50:51 +0800 Subject: [Pcsclite-muscle] Building CCID from Github encounters error In-Reply-To: References: Message-ID: Hi, The libtoolize was already installed with version 2.4.6. Running 'which libtoolize' shows 'usr/bin/libtoolize'. On Wed, Mar 29, 2017 at 4:23 PM, Ludovic Rousseau < ludovic.rousseau at gmail.com> wrote: > 2017-03-29 9:39 GMT+02:00 Thotheolh Tay : > >> Hi, >> > > Hello, > > >> >> I have cloned the CCID repository and have automake, flex and installed >> build-essential on an Ubuntu machine. >> >> I tried to do sudo ./bootstrap and encountered errors. >> > > Do NOT use sudo for this step. > > >> >> Attached in the email is the output file. >> > > Your log contains: > ./bootstrap: line 13: libtoolize: command not found > > So install libtoolize and it should work. > > Bye > > -- > Dr. Ludovic Rousseau > > _______________________________________________ > Pcsclite-muscle mailing list > Pcsclite-muscle at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle > -- ,----------------------------------------------------------, PGP Secure Email Key ID:6FBFC19D 7721 3E54 FA6D B79D AFE6 AC45 8885 F995 6FBF C19D '----------------------------------------------------------' -------------- next part -------------- An HTML attachment was scrubbed... URL: From maximilian.stein at secunet.com Wed Mar 29 14:27:55 2017 From: maximilian.stein at secunet.com (Maximilian Stein) Date: Wed, 29 Mar 2017 16:27:55 +0200 Subject: [Pcsclite-muscle] Building CCID from Github encounters error In-Reply-To: References: Message-ID: On 29.03.2017 09:39, Thotheolh Tay wrote: > Hi, Hello > Attached in the email is the output file. > I think the line aclocal: error: aclocal: file 'm4/ax_pthread.m4' does not exist points to the real problem. In the repo there are two "files" in the directory m4. But these are only links as follows: m4/as-ac-expand.m4 -> ../PCSC/m4/as-ac-expand.m4 m4/ax_pthread.m4 -> ../PCSC/m4/ax_pthread.m4 So currently building CCID from scratch from the git repo requires you to have the PCSC git repo inside the same top level directory, and it has to be named PCSC (default). If you clone the PCSC repo as well to the appropriate location, it should work fine. I'm not too experienced with all the autotools. And I understand that there is a certain relationship between pcsc-lite and libccid versions. But maybe it would be nice if the CCID and PCSC repos could be bootstrapped and built independently (using only the info from pkg-config e.g.). Cheers Maximilian Stein From ludovic.rousseau at gmail.com Wed Mar 29 16:22:19 2017 From: ludovic.rousseau at gmail.com (Ludovic Rousseau) Date: Wed, 29 Mar 2017 18:22:19 +0200 Subject: [Pcsclite-muscle] Building CCID from Github encounters error In-Reply-To: References: Message-ID: 2017-03-29 16:27 GMT+02:00 Maximilian Stein : > On 29.03.2017 09:39, Thotheolh Tay wrote: > > Hi, > Hello > > > Attached in the email is the output file. > > > I think the line > aclocal: error: aclocal: file 'm4/ax_pthread.m4' does not exist > points to the real problem. > > In the repo there are two "files" in the directory m4. But these are > only links as follows: > > m4/as-ac-expand.m4 -> ../PCSC/m4/as-ac-expand.m4 > m4/ax_pthread.m4 -> ../PCSC/m4/ax_pthread.m4 > > So currently building CCID from scratch from the git repo requires you > to have the PCSC git repo inside the same top level directory, and it > has to be named PCSC (default). If you clone the PCSC repo as well to > the appropriate location, it should work fine. > > > I'm not too experienced with all the autotools. And I understand that > there is a certain relationship between pcsc-lite and libccid versions. > But maybe it would be nice if the CCID and PCSC repos could be > bootstrapped and built independently (using only the info from > pkg-config e.g.). > > I also saw this line. The best is to copy the git line _exactly_ as indicated in [1]. Bye [1] https://pcsclite.alioth.debian.org/ccid.html#git -- Dr. Ludovic Rousseau -------------- next part -------------- An HTML attachment was scrubbed... URL: