mpeylo / cmpossl

An OpenSSL-based implementation of the Certificate Management Protocol (CMP), defined in IETF RFCs 4210, 4211, and 6712. It is being extended according to the emerging RFCs 'CMP Updates' (CMPv3), 'CMP Algorithms', and 'Lightweight CMP Profile'.
https://github.com/mpeylo/cmpossl/wiki
Other
35 stars 13 forks source link

linux-x86_64 not supported #179

Closed harmin-parra closed 5 years ago

harmin-parra commented 5 years ago

Download the latest version of cmpossl execute cd cmpossl execute ./config

The output:

Operating system: x86_64-whatever-linux2 Global symbol "%skipdir" requires explicit package name at ./Configure line 1178. BEGIN not safe after errors--compilation aborted at ./Configure line 1590. Global symbol "%skipdir" requires explicit package name at ./Configure line 1178. BEGIN not safe after errors--compilation aborted at ./Configure line 1590. This system (linux-x86_64) is not supported. See file INSTALL for details.

mpeylo commented 5 years ago

I am not able to reproduce that. Could you send the exact command line in/output?

dems5uk4@buster:~/GIT/test$ git clone --depth 1 https://github.com/mpeylo/cmpossl.git 
Cloning into 'cmpossl'...
remote: Enumerating objects: 18593, done.
remote: Counting objects: 100% (18593/18593), done.
remote: Compressing objects: 100% (15560/15560), done.
remote: Total 18593 (delta 923), reused 14951 (delta 497), pack-reused 0
Receiving objects: 100% (18593/18593), 12.41 MiB | 3.05 MiB/s, done.
Resolving deltas: 100% (923/923), done.
dems5uk4@buster:~/GIT/test$ cd cmpossl/
dems5uk4@buster:~/GIT/test/cmpossl$ ./config
Operating system: x86_64-whatever-linux2
Configuring OpenSSL version 3.0.0-dev for target linux-x86_64
Using os-specific seed configuration
Creating configdata.pm
Creating Makefile

**********************************************************************
***                                                                ***
***   OpenSSL has been successfully configured                     ***
***                                                                ***
***   If you encounter a problem while building, please open an    ***
***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
***   and include the output from the following command:           ***
***                                                                ***
***       perl configdata.pm --dump                                ***
***                                                                ***
***   (If you are new to OpenSSL, you might want to consult the    ***
***   'Troubleshooting' section in the INSTALL file first)         ***
***                                                                ***
**********************************************************************
dems5uk4@buster:~/GIT/test/cmpossl$ git status
On branch cmp
Your branch is up to date with 'origin/cmp'.

nothing to commit, working tree clean
dems5uk4@buster:~/GIT/test/cmpossl$ git log -1
commit 290bf2cb7c40883c6349a78525198e0cedc0ee4f (grafted, HEAD -> cmp, origin/cmp, origin/HEAD)
Author: David von Oheimb <David.von.Oheimb@siemens.com>
Date:   Fri May 3 18:37:01 2019 +0200

    rename OSSL_CMP_ITAV_gen() to OSSL_CMP_ITAV_create(), move it, improve its doc
DDvO commented 5 years ago

To me this looks like a Perl incompatibility. @h-rueda, which version do you use? I'm pretty sure that you'd have the same effect with vanilla OpenSSL, right?

harmin-parra commented 5 years ago

OS: CentOS 7.6.1810 Perl : perl-5.16.3-294

harmin-parra commented 5 years ago

By the way, I am also unable to compile OpenSSL versions 1_1_1a, 1_1_1b and 1_1_1c

mpeylo commented 5 years ago

I fear there's nothing we can do about if the problem is the same with upstream OpenSSL.

With a quick search I also don't find any bug reports about compiling OpenSSL on that CentOS version, so it might make sense to check whether you have all needed build dependencies. On Debian I would get those quickly with "apt-get build-dep openssl" (the version I use includes 1.1.1b)" - there should be something similar for yum on CentOS.