Building CCID from Github encounters error

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Building CCID from Github encounters error

Thotheolh Tay
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
'----------------------------------------------------------'

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle

bootstrap.log (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building CCID from Github encounters error

Ludovic Rousseau
2017-03-29 9:39 GMT+02:00 Thotheolh Tay <[hidden email]>:
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
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: Building CCID from Github encounters error

Thotheolh Tay
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 <[hidden email]> wrote:
2017-03-29 9:39 GMT+02:00 Thotheolh Tay <[hidden email]>:
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
[hidden email]
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
'----------------------------------------------------------'

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: Building CCID from Github encounters error

Stein, Maximilian
In reply to this post by Thotheolh Tay
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

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: Building CCID from Github encounters error

Ludovic Rousseau


2017-03-29 16:27 GMT+02:00 Maximilian Stein <[hidden email]>:
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


--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle