Comments (7)
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.
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.
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
andflex
, 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.
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/pkcs11-tools-master$ sudo make install
[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:
make: *** No rule to make target 'install'. Stop.
from pkcs11-tools.
Hi @jordigarcia71,
now you have deployed all dependencies, proceed as follows:
$ ./bootstrap.sh
$ ./configure
$ make
$ sudo make install
Theinstall
rule does not imply to build the package, you have to build separately first.
Let me know if you still encounter problems,
from pkcs11-tools.
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.
Alright, enjoy the tool!
from pkcs11-tools.
Related Issues (20)
- "configure.ac:47: error: possibly undefined macro: AC_MSG_WARN" on CentOS 7.8 HOT 5
- Compilation failed HOT 5
- rpmbuild: fails because of missing pkcs11_ossl.h in the tar.gz and INSTALL.md has a typo HOT 2
- Issue when autoreconf -vfi is run from bootstrap.sh HOT 1
- C_WrapKey using AES key to wrap ED448 and ED25519 fails for CKM_AES_KEY_WRAP_PAD with CKR_KEY_NOT_WRAPPABLE HOT 2
- p11mkcert Make failed HOT 3
- bootstrapping failed. HOT 2
- Some wrong names for hashes and MGF in the manual HOT 4
- issues with eddsa after keygen HOT 9
- p11keygen ignores some of unknown argument HOT 2
- build failure on Linux HOT 9
- ubuntu 22.04 Compilation error HOT 2
- bootstrap error Ubuntu 22.04 HOT 3
- AES support HOT 1
- p11req -X option results in malloc failure HOT 4
- Failing compilation on Ubuntu 22.04 HOT 3
- memory leak found with commands p11req and p11mkcert
- invalid mechanisms reported by p11slotinfo, on MIPS/Linux platform
- Support for more MACing options with `p11kcv`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkcs11-tools.