Giter Club home page Giter Club logo

Comments (7)

keldonin avatar keldonin commented on August 28, 2024

Hi @jordigarcia71 ,

This is likely because you haven't deployed all required dependencies. AC_MSG_WARN is usually an indication that pkg-config or autoconf-archive is not deployed.

Please check https://github.com/Mastercard/pkcs11-tools/blob/master/docs/INSTALL.md#pre-requisites for deploying all pre-requisites (there is a command to deploy the dependencies on Ubuntu),

$ sudo apt-get install autoconf-archive autoconf automake libtool pkg-config

then follow instructions at https://github.com/Mastercard/pkcs11-tools/blob/master/docs/INSTALL.md#installation .

Let me know if you still encounter issues. If that be the case, please post the whole process in this thread, to help resolution.

Thank you,

from pkcs11-tools.

jordigarcia71 avatar jordigarcia71 commented on August 28, 2024

Hi Eric,

Thanks a lot for the very rapid response.
You're right that I had not gone through all the pre-requisites. I think I did it well now, however when running 'make install'
it responds "make: *** No rule to make target 'install'. Stop."

What may I be missing? Find all my steps on the attachment. Thanks again
Error building pkcs11-tools-master.txt

from pkcs11-tools.

keldonin avatar keldonin commented on August 28, 2024

Hi @jordigarcia71,

it seems you are missing a couple of other dependencies, on Ubuntu:

  • you need libssl-dev, to have the OpenSSL header files present on your system - this is what is actually blocking you
  • it is also recommended (although not mandatory) that you install bison and flex, so the parser for wrapped files is recreated from source.

To install these dependencies, just execute the command:

$ sudo apt-get install libssl-dev bison flex

Try this and let me know of the outcome. If successful, I'll adjust the install page accordingly.

Regards,

from pkcs11-tools.

jordigarcia71 avatar jordigarcia71 commented on August 28, 2024

Hi @keldonin ,

Unfortunately the same message persists, after running the command to install libssl-dev, bison, and flex (even if trying a 'make install' after restarting the system). Any idea? Thank you!

jordi@jordi-VirtualBox:/pkcs11-tools-master$ sudo apt-get install libssl-dev bison flex
[sudo] password for jordi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfprint-2-tod1 libllvm10
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libfl-dev libfl2
Suggested packages:
bison-doc flex-doc libssl-doc
The following NEW packages will be installed
bison flex libfl-dev libfl2 libssl-dev
0 to upgrade, 5 to newly install, 0 to remove and 97 not to upgrade.
Need to get 2.573 kB of archives.
After this operation, 11,2 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://es.archive.ubuntu.com/ubuntu focal/main amd64 flex amd64 2.6.4-6.2 [317 kB]
Get:2 http://es.archive.ubuntu.com/ubuntu focal/main amd64 bison amd64 2:3.5.1+dfsg-1 [657 kB]
Get:3 http://es.archive.ubuntu.com/ubuntu focal/main amd64 libfl2 amd64 2.6.4-6.2 [11,5 kB]
Get:4 http://es.archive.ubuntu.com/ubuntu focal/main amd64 libfl-dev amd64 2.6.4-6.2 [6.316 B]
Get:5 http://es.archive.ubuntu.com/ubuntu focal-updates/main amd64 libssl-dev amd64 1.1.1f-1ubuntu2.3 [1.582 kB]
Fetched 2.573 kB in 5s (497 kB/s)
Selecting previously unselected package flex.
(Reading database ... 215493 files and directories currently installed.)
Preparing to unpack .../flex_2.6.4-6.2_amd64.deb ...
Unpacking flex (2.6.4-6.2) ...
Selecting previously unselected package bison.
Preparing to unpack .../bison_2%3a3.5.1+dfsg-1_amd64.deb ...
Unpacking bison (2:3.5.1+dfsg-1) ...
Selecting previously unselected package libfl2:amd64.
Preparing to unpack .../libfl2_2.6.4-6.2_amd64.deb ...
Unpacking libfl2:amd64 (2.6.4-6.2) ...
Selecting previously unselected package libfl-dev:amd64.
Preparing to unpack .../libfl-dev_2.6.4-6.2_amd64.deb ...
Unpacking libfl-dev:amd64 (2.6.4-6.2) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../libssl-dev_1.1.1f-1ubuntu2.3_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.1f-1ubuntu2.3) ...
Setting up flex (2.6.4-6.2) ...
Setting up libssl-dev:amd64 (1.1.1f-1ubuntu2.3) ...
Setting up libfl2:amd64 (2.6.4-6.2) ...
Setting up bison (2:3.5.1+dfsg-1) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
Setting up libfl-dev:amd64 (2.6.4-6.2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
jordi@jordi-VirtualBox:
/pkcs11-tools-master$ sudo make install
make: *** No rule to make target 'install'. Stop.

from pkcs11-tools.

keldonin avatar keldonin commented on August 28, 2024

Hi @jordigarcia71,

now you have deployed all dependencies, proceed as follows:

$ ./bootstrap.sh
$ ./configure
$ make
$ sudo make install

Theinstallrule does not imply to build the package, you have to build separately first.

Let me know if you still encounter problems,

from pkcs11-tools.

jordigarcia71 avatar jordigarcia71 commented on August 28, 2024

Hi @keldonin

Just to let you know this time it worked perfectly!
Thanks a lot for your very rapid and precise answer :-)

Regards
Jordi

from pkcs11-tools.

keldonin avatar keldonin commented on August 28, 2024

Alright, enjoy the tool!

from pkcs11-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.