Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./configure --prefix="/usr/local": No package 'libpcre2-8' found #177

Open
vitaly-zdanevich opened this issue Apr 17, 2019 · 2 comments
Open

Comments

@vitaly-zdanevich
Copy link
Contributor

Trying to run this on Amazon Linux, because I hope to run some open source TTS on AWS Lambda.

Steps:

  1. Spin fresh instance on AWS free tier on this image.
  2. Follow the instructions on README.md

My full steps on the fresh instance:


       __|  __|_  )
       _|  (     /   Amazon Linux AMI
      ___|\___|___|

https://aws.amazon.com/amazon-linux-ami/2017.03-release-notes/
21 package(s) needed for security, out of 55 available
Run "sudo yum update" to apply all updates.
Amazon Linux version 2018.03 is available.
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
[ec2-user@ip-172-31-94-27 ~]$ 
[ec2-user@ip-172-31-94-27 ~]$ 
[ec2-user@ip-172-31-94-27 ~]$ 
[ec2-user@ip-172-31-94-27 ~]$ 
[ec2-user@ip-172-31-94-27 ~]$ 
[ec2-user@ip-172-31-94-27 ~]$ 
[ec2-user@ip-172-31-94-27 ~]$ 
[ec2-user@ip-172-31-94-27 ~]$ 
[ec2-user@ip-172-31-94-27 ~]$ 
[ec2-user@ip-172-31-94-27 ~]$ 
[ec2-user@ip-172-31-94-27 ~]$ ls
[ec2-user@ip-172-31-94-27 ~]$ sudo yum install gcc make pkg-config automake libtool libasound2-dev
Failed to set locale, defaulting to C
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main                                                                                                                                                                            | 2.1 kB  00:00:00     
amzn-updates                                                                                                                                                                         | 2.5 kB  00:00:00     
Package 1:make-3.82-21.10.amzn1.x86_64 already installed and latest version
No package pkg-config available.
No package libasound2-dev available.
Resolving Dependencies
--> Running transaction check
---> Package automake.noarch 0:1.13.4-3.15.amzn1 will be installed
--> Processing Dependency: autoconf >= 2.65 for package: automake-1.13.4-3.15.amzn1.noarch
--> Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.15.amzn1.noarch
--> Processing Dependency: perl(TAP::Parser) for package: automake-1.13.4-3.15.amzn1.noarch
---> Package gcc.noarch 0:4.8.5-1.22.amzn1 will be installed
--> Processing Dependency: gcc48 >= 4.8.5 for package: gcc-4.8.5-1.22.amzn1.noarch
---> Package libtool.x86_64 0:2.4.2-20.4.8.5.32.amzn1 will be installed
--> Running transaction check
---> Package autoconf.noarch 0:2.69-11.9.amzn1 will be installed
--> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.9.amzn1.noarch
--> Processing Dependency: perl(Data::Dumper) for package: autoconf-2.69-11.9.amzn1.noarch
---> Package gcc48.x86_64 0:4.8.5-28.142.amzn1 will be installed
--> Processing Dependency: libgcc48(x86-64) = 4.8.5 for package: gcc48-4.8.5-28.142.amzn1.x86_64
--> Processing Dependency: cpp48(x86-64) = 4.8.5-28.142.amzn1 for package: gcc48-4.8.5-28.142.amzn1.x86_64
--> Processing Dependency: libgomp(x86-64) >= 4.8.5-28.142.amzn1 for package: gcc48-4.8.5-28.142.amzn1.x86_64
--> Processing Dependency: libgcc(x86-64) >= 4.8.5-28.142.amzn1 for package: gcc48-4.8.5-28.142.amzn1.x86_64
--> Processing Dependency: glibc-devel(x86-64) >= 2.2.90-12 for package: gcc48-4.8.5-28.142.amzn1.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc48-4.8.5-28.142.amzn1.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc48-4.8.5-28.142.amzn1.x86_64
--> Processing Dependency: libgomp.so.1()(64bit) for package: gcc48-4.8.5-28.142.amzn1.x86_64
---> Package perl-Test-Harness.noarch 0:3.28-3.6.amzn1 will be installed
---> Package perl-Thread-Queue.noarch 0:3.02-2.5.amzn1 will be installed
--> Running transaction check
---> Package cpp48.x86_64 0:4.8.5-28.142.amzn1 will be installed
---> Package glibc-devel.x86_64 0:2.17-260.175.amzn1 will be installed
--> Processing Dependency: glibc-headers = 2.17-260.175.amzn1 for package: glibc-devel-2.17-260.175.amzn1.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-260.175.amzn1.x86_64
---> Package libgcc48.x86_64 0:4.8.3-9.111.amzn1 will be updated
---> Package libgcc48.x86_64 0:4.8.5-28.142.amzn1 will be an update
---> Package libgomp.x86_64 0:6.4.1-1.45.amzn1 will be installed
---> Package libmpc.x86_64 0:1.0.1-3.3.amzn1 will be installed
---> Package m4.x86_64 0:1.4.16-9.10.amzn1 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.14.amzn1 will be installed
---> Package perl-Data-Dumper.x86_64 0:2.145-3.5.amzn1 will be installed
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.17-260.175.amzn1 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-260.175.amzn1.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-260.175.amzn1.x86_64
--> Running transaction check
---> Package kernel-headers.x86_64 0:4.14.109-80.92.amzn1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
 Package                                            Arch                                    Version                                                     Repository                                     Size
============================================================================================================================================================================================================
Installing:
 automake                                           noarch                                  1.13.4-3.15.amzn1                                           amzn-main                                     718 k
 gcc                                                noarch                                  4.8.5-1.22.amzn1                                            amzn-main                                     4.1 k
 libtool                                            x86_64                                  2.4.2-20.4.8.5.32.amzn1                                     amzn-main                                     737 k
Installing for dependencies:
 autoconf                                           noarch                                  2.69-11.9.amzn1                                             amzn-main                                     915 k
 cpp48                                              x86_64                                  4.8.5-28.142.amzn1                                          amzn-updates                                  6.7 M
 gcc48                                              x86_64                                  4.8.5-28.142.amzn1                                          amzn-updates                                   18 M
 glibc-devel                                        x86_64                                  2.17-260.175.amzn1                                          amzn-updates                                  1.2 M
 glibc-headers                                      x86_64                                  2.17-260.175.amzn1                                          amzn-updates                                  758 k
 kernel-headers                                     x86_64                                  4.14.109-80.92.amzn1                                        amzn-updates                                  1.2 M
 libgomp                                            x86_64                                  6.4.1-1.45.amzn1                                            amzn-main                                     204 k
 libmpc                                             x86_64                                  1.0.1-3.3.amzn1                                             amzn-main                                      53 k
 m4                                                 x86_64                                  1.4.16-9.10.amzn1                                           amzn-main                                     263 k
 mpfr                                               x86_64                                  3.1.1-4.14.amzn1                                            amzn-main                                     237 k
 perl-Data-Dumper                                   x86_64                                  2.145-3.5.amzn1                                             amzn-main                                      49 k
 perl-Test-Harness                                  noarch                                  3.28-3.6.amzn1                                              amzn-main                                     314 k
 perl-Thread-Queue                                  noarch                                  3.02-2.5.amzn1                                              amzn-main                                      17 k
Updating for dependencies:
 libgcc48                                           x86_64                                  4.8.5-28.142.amzn1                                          amzn-updates                                  155 k

Transaction Summary
============================================================================================================================================================================================================
Install  3 Packages (+13 Dependent packages)
Upgrade             (  1 Dependent package)

Total download size: 31 M
Is this ok [y/d/N]: y
Downloading packages:
(1/17): gcc-4.8.5-1.22.amzn1.noarch.rpm                                                                                                                                              | 4.1 kB  00:00:00     
(2/17): automake-1.13.4-3.15.amzn1.noarch.rpm                                                                                                                                        | 718 kB  00:00:00     
(3/17): autoconf-2.69-11.9.amzn1.noarch.rpm                                                                                                                                          | 915 kB  00:00:00     
(4/17): glibc-devel-2.17-260.175.amzn1.x86_64.rpm                                                                                                                                    | 1.2 MB  00:00:00     
(5/17): cpp48-4.8.5-28.142.amzn1.x86_64.rpm                                                                                                                                          | 6.7 MB  00:00:01     
(6/17): glibc-headers-2.17-260.175.amzn1.x86_64.rpm                                                                                                                                  | 758 kB  00:00:00     
(7/17): libgcc48-4.8.5-28.142.amzn1.x86_64.rpm                                                                                                                                       | 155 kB  00:00:00     
(8/17): kernel-headers-4.14.109-80.92.amzn1.x86_64.rpm                                                                                                                               | 1.2 MB  00:00:00     
(9/17): libmpc-1.0.1-3.3.amzn1.x86_64.rpm                                                                                                                                            |  53 kB  00:00:00     
(10/17): libgomp-6.4.1-1.45.amzn1.x86_64.rpm                                                                                                                                         | 204 kB  00:00:00     
(11/17): m4-1.4.16-9.10.amzn1.x86_64.rpm                                                                                                                                             | 263 kB  00:00:00     
(12/17): mpfr-3.1.1-4.14.amzn1.x86_64.rpm                                                                                                                                            | 237 kB  00:00:00     
(13/17): perl-Data-Dumper-2.145-3.5.amzn1.x86_64.rpm                                                                                                                                 |  49 kB  00:00:00     
(14/17): perl-Test-Harness-3.28-3.6.amzn1.noarch.rpm                                                                                                                                 | 314 kB  00:00:00     
(15/17): gcc48-4.8.5-28.142.amzn1.x86_64.rpm                                                                                                                                         |  18 MB  00:00:02     
(16/17): perl-Thread-Queue-3.02-2.5.amzn1.noarch.rpm                                                                                                                                 |  17 kB  00:00:00     
(17/17): libtool-2.4.2-20.4.8.5.32.amzn1.x86_64.rpm                                                                                                                                  | 737 kB  00:00:00     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                        13 MB/s |  31 MB  00:00:02     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mpfr-3.1.1-4.14.amzn1.x86_64                                                                                                                                                            1/18 
  Installing : libmpc-1.0.1-3.3.amzn1.x86_64                                                                                                                                                           2/18 
  Installing : cpp48-4.8.5-28.142.amzn1.x86_64                                                                                                                                                         3/18 
  Installing : libgomp-6.4.1-1.45.amzn1.x86_64                                                                                                                                                         4/18 
  Installing : perl-Data-Dumper-2.145-3.5.amzn1.x86_64                                                                                                                                                 5/18 
  Updating   : libgcc48-4.8.5-28.142.amzn1.x86_64                                                                                                                                                      6/18 
  Installing : perl-Test-Harness-3.28-3.6.amzn1.noarch                                                                                                                                                 7/18 
  Installing : perl-Thread-Queue-3.02-2.5.amzn1.noarch                                                                                                                                                 8/18 
  Installing : m4-1.4.16-9.10.amzn1.x86_64                                                                                                                                                             9/18 
  Installing : autoconf-2.69-11.9.amzn1.noarch                                                                                                                                                        10/18 
  Installing : automake-1.13.4-3.15.amzn1.noarch                                                                                                                                                      11/18 
  Installing : kernel-headers-4.14.109-80.92.amzn1.x86_64                                                                                                                                             12/18 
  Installing : glibc-headers-2.17-260.175.amzn1.x86_64                                                                                                                                                13/18 
  Installing : glibc-devel-2.17-260.175.amzn1.x86_64                                                                                                                                                  14/18 
  Installing : gcc48-4.8.5-28.142.amzn1.x86_64                                                                                                                                                        15/18 
  Installing : libtool-2.4.2-20.4.8.5.32.amzn1.x86_64                                                                                                                                                 16/18 
  Installing : gcc-4.8.5-1.22.amzn1.noarch                                                                                                                                                            17/18 
  Cleanup    : libgcc48-4.8.3-9.111.amzn1.x86_64                                                                                                                                                      18/18 
  Verifying  : kernel-headers-4.14.109-80.92.amzn1.x86_64                                                                                                                                              1/18 
  Verifying  : libtool-2.4.2-20.4.8.5.32.amzn1.x86_64                                                                                                                                                  2/18 
  Verifying  : gcc-4.8.5-1.22.amzn1.noarch                                                                                                                                                             3/18 
  Verifying  : m4-1.4.16-9.10.amzn1.x86_64                                                                                                                                                             4/18 
  Verifying  : perl-Thread-Queue-3.02-2.5.amzn1.noarch                                                                                                                                                 5/18 
  Verifying  : libmpc-1.0.1-3.3.amzn1.x86_64                                                                                                                                                           6/18 
  Verifying  : automake-1.13.4-3.15.amzn1.noarch                                                                                                                                                       7/18 
  Verifying  : autoconf-2.69-11.9.amzn1.noarch                                                                                                                                                         8/18 
  Verifying  : glibc-devel-2.17-260.175.amzn1.x86_64                                                                                                                                                   9/18 
  Verifying  : cpp48-4.8.5-28.142.amzn1.x86_64                                                                                                                                                        10/18 
  Verifying  : perl-Test-Harness-3.28-3.6.amzn1.noarch                                                                                                                                                11/18 
  Verifying  : libgcc48-4.8.5-28.142.amzn1.x86_64                                                                                                                                                     12/18 
  Verifying  : perl-Data-Dumper-2.145-3.5.amzn1.x86_64                                                                                                                                                13/18 
  Verifying  : libgomp-6.4.1-1.45.amzn1.x86_64                                                                                                                                                        14/18 
  Verifying  : mpfr-3.1.1-4.14.amzn1.x86_64                                                                                                                                                           15/18 
  Verifying  : glibc-headers-2.17-260.175.amzn1.x86_64                                                                                                                                                16/18 
  Verifying  : gcc48-4.8.5-28.142.amzn1.x86_64                                                                                                                                                        17/18 
  Verifying  : libgcc48-4.8.3-9.111.amzn1.x86_64                                                                                                                                                      18/18 

Installed:
  automake.noarch 0:1.13.4-3.15.amzn1                                 gcc.noarch 0:4.8.5-1.22.amzn1                                 libtool.x86_64 0:2.4.2-20.4.8.5.32.amzn1                                

Dependency Installed:
  autoconf.noarch 0:2.69-11.9.amzn1                 cpp48.x86_64 0:4.8.5-28.142.amzn1                    gcc48.x86_64 0:4.8.5-28.142.amzn1                 glibc-devel.x86_64 0:2.17-260.175.amzn1          
  glibc-headers.x86_64 0:2.17-260.175.amzn1         kernel-headers.x86_64 0:4.14.109-80.92.amzn1         libgomp.x86_64 0:6.4.1-1.45.amzn1                 libmpc.x86_64 0:1.0.1-3.3.amzn1                  
  m4.x86_64 0:1.4.16-9.10.amzn1                     mpfr.x86_64 0:3.1.1-4.14.amzn1                       perl-Data-Dumper.x86_64 0:2.145-3.5.amzn1         perl-Test-Harness.noarch 0:3.28-3.6.amzn1        
  perl-Thread-Queue.noarch 0:3.02-2.5.amzn1        

Dependency Updated:
  libgcc48.x86_64 0:4.8.5-28.142.amzn1                                                                                                                                                                      

Complete!
[ec2-user@ip-172-31-94-27 ~]$ 
[ec2-user@ip-172-31-94-27 ~]$ 
[ec2-user@ip-172-31-94-27 ~]$ 
[ec2-user@ip-172-31-94-27 ~]$ git clone https://github.com/MycroftAI/mimic1.git
-bash: git: command not found
[ec2-user@ip-172-31-94-27 ~]$ sudo yum install git
Failed to set locale, defaulting to C
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:2.14.5-1.60.amzn1 will be installed
--> Processing Dependency: perl-Git = 2.14.5-1.60.amzn1 for package: git-2.14.5-1.60.amzn1.x86_64
--> Processing Dependency: perl(Term::ReadKey) for package: git-2.14.5-1.60.amzn1.x86_64
--> Processing Dependency: perl(Git::I18N) for package: git-2.14.5-1.60.amzn1.x86_64
--> Processing Dependency: perl(Git) for package: git-2.14.5-1.60.amzn1.x86_64
--> Processing Dependency: perl(Error) for package: git-2.14.5-1.60.amzn1.x86_64
--> Running transaction check
---> Package perl-Error.noarch 1:0.17020-2.9.amzn1 will be installed
---> Package perl-Git.noarch 0:2.14.5-1.60.amzn1 will be installed
---> Package perl-TermReadKey.x86_64 0:2.30-20.9.amzn1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
 Package                                             Arch                                      Version                                                Repository                                       Size
============================================================================================================================================================================================================
Installing:
 git                                                 x86_64                                    2.14.5-1.60.amzn1                                      amzn-updates                                     12 M
Installing for dependencies:
 perl-Error                                          noarch                                    1:0.17020-2.9.amzn1                                    amzn-main                                        33 k
 perl-Git                                            noarch                                    2.14.5-1.60.amzn1                                      amzn-updates                                     69 k
 perl-TermReadKey                                    x86_64                                    2.30-20.9.amzn1                                        amzn-main                                        33 k

Transaction Summary
============================================================================================================================================================================================================
Install  1 Package (+3 Dependent packages)

Total download size: 12 M
Installed size: 29 M
Is this ok [y/d/N]: y
Downloading packages:
(1/4): perl-Error-0.17020-2.9.amzn1.noarch.rpm                                                                                                                                       |  33 kB  00:00:00     
(2/4): perl-TermReadKey-2.30-20.9.amzn1.x86_64.rpm                                                                                                                                   |  33 kB  00:00:00     
(3/4): perl-Git-2.14.5-1.60.amzn1.noarch.rpm                                                                                                                                         |  69 kB  00:00:00     
(4/4): git-2.14.5-1.60.amzn1.x86_64.rpm                                                                                                                                              |  12 MB  00:00:01     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                       7.0 MB/s |  12 MB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:perl-Error-0.17020-2.9.amzn1.noarch                                                                                                                                                    1/4 
  Installing : perl-TermReadKey-2.30-20.9.amzn1.x86_64                                                                                                                                                  2/4 
  Installing : perl-Git-2.14.5-1.60.amzn1.noarch                                                                                                                                                        3/4 
  Installing : git-2.14.5-1.60.amzn1.x86_64                                                                                                                                                             4/4 
  Verifying  : git-2.14.5-1.60.amzn1.x86_64                                                                                                                                                             1/4 
  Verifying  : 1:perl-Error-0.17020-2.9.amzn1.noarch                                                                                                                                                    2/4 
  Verifying  : perl-Git-2.14.5-1.60.amzn1.noarch                                                                                                                                                        3/4 
  Verifying  : perl-TermReadKey-2.30-20.9.amzn1.x86_64                                                                                                                                                  4/4 

Installed:
  git.x86_64 0:2.14.5-1.60.amzn1                                                                                                                                                                            

Dependency Installed:
  perl-Error.noarch 1:0.17020-2.9.amzn1                              perl-Git.noarch 0:2.14.5-1.60.amzn1                              perl-TermReadKey.x86_64 0:2.30-20.9.amzn1                             

Complete!
[ec2-user@ip-172-31-94-27 ~]$ git clone https://github.com/MycroftAI/mimic1.git
Cloning into 'mimic1'...
remote: Enumerating objects: 2876, done.
remote: Total 2876 (delta 0), reused 0 (delta 0), pack-reused 2876
Receiving objects: 100% (2876/2876), 711.72 MiB | 46.47 MiB/s, done.
Resolving deltas: 100% (2007/2007), done.
Checking out files: 100% (418/418), done.
[ec2-user@ip-172-31-94-27 ~]$ cd mimic1/
[ec2-user@ip-172-31-94-27 mimic1]$ ./dependencies.sh --prefix="/usr/local"
/usr/bin/pkg-config
Have PCRE2? [no]
--2019-04-17 12:11:39--  ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.23.zip
           => 'pcre2-10.23.zip'
Resolving ftp.csx.cam.ac.uk (ftp.csx.cam.ac.uk)... 131.111.8.115
Connecting to ftp.csx.cam.ac.uk (ftp.csx.cam.ac.uk)|131.111.8.115|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/software/programming/pcre ... done.
==> SIZE pcre2-10.23.zip ... 2250332
==> PASV ... done.    ==> RETR pcre2-10.23.zip ... done.
Length: 2250332 (2.1M) (unauthoritative)

pcre2-10.23.zip                                    100%[================================================================================================================>]   2.15M  2.99MB/s    in 0.7s    

2019-04-17 12:11:42 (2.99 MB/s) - 'pcre2-10.23.zip' saved [2250332]

pcre2-10.23.zip: OK
Archive:  pcre2-10.23.zip
   creating: pcre2-10.23/
  inflating: pcre2-10.23/LICENCE     
  inflating: pcre2-10.23/PrepareRelease  
  inflating: pcre2-10.23/RunTest.bat  
  inflating: pcre2-10.23/132html     
  inflating: pcre2-10.23/CMakeLists.txt  
  inflating: pcre2-10.23/Makefile.am  
  inflating: pcre2-10.23/compile     
  inflating: pcre2-10.23/depcomp     
  inflating: pcre2-10.23/config.sub  
  inflating: pcre2-10.23/libpcre2-16.pc.in  
  inflating: pcre2-10.23/Makefile.in  
  inflating: pcre2-10.23/README      
   creating: pcre2-10.23/cmake/
  inflating: pcre2-10.23/cmake/FindReadline.cmake  
  inflating: pcre2-10.23/cmake/FindEditline.cmake  
  inflating: pcre2-10.23/cmake/FindPackageHandleStandardArgs.cmake  
  inflating: pcre2-10.23/cmake/COPYING-CMAKE-SCRIPTS  
  inflating: pcre2-10.23/aclocal.m4  
  inflating: pcre2-10.23/config.guess  
  inflating: pcre2-10.23/configure   
  inflating: pcre2-10.23/CleanTxt    
  inflating: pcre2-10.23/install-sh  
  inflating: pcre2-10.23/RunGrepTest.bat  
  inflating: pcre2-10.23/pcre2-config.in  
   creating: pcre2-10.23/m4/
  inflating: pcre2-10.23/m4/ltsugar.m4  
  inflating: pcre2-10.23/m4/libtool.m4  
  inflating: pcre2-10.23/m4/ltversion.m4  
  inflating: pcre2-10.23/m4/ltoptions.m4  
  inflating: pcre2-10.23/m4/pcre2_visibility.m4  
  inflating: pcre2-10.23/m4/ax_pthread.m4  
  inflating: pcre2-10.23/m4/lt~obsolete.m4  
  inflating: pcre2-10.23/COPYING     
  inflating: pcre2-10.23/INSTALL     
  inflating: pcre2-10.23/ChangeLog   
  inflating: pcre2-10.23/libpcre2-posix.pc.in  
  inflating: pcre2-10.23/HACKING     
  inflating: pcre2-10.23/test-driver  
  inflating: pcre2-10.23/missing     
  inflating: pcre2-10.23/configure.ac  
  inflating: pcre2-10.23/ar-lib      
  inflating: pcre2-10.23/config-cmake.h.in  
   creating: pcre2-10.23/testdata/
  inflating: pcre2-10.23/testdata/testoutput21  
  inflating: pcre2-10.23/testdata/testoutput2  
  inflating: pcre2-10.23/testdata/testoutputEBC  
  inflating: pcre2-10.23/testdata/testoutput18  
  inflating: pcre2-10.23/testdata/greplist  
  inflating: pcre2-10.23/testdata/testinput21  
  inflating: pcre2-10.23/testdata/testoutput3A  
  inflating: pcre2-10.23/testdata/testoutput20  
  inflating: pcre2-10.23/testdata/grepoutput8  
  inflating: pcre2-10.23/testdata/testoutput16  
  inflating: pcre2-10.23/testdata/testinput17  
  inflating: pcre2-10.23/testdata/testoutput23  
  inflating: pcre2-10.23/testdata/testoutput4  
  inflating: pcre2-10.23/testdata/testinput8  
  inflating: pcre2-10.23/testdata/testoutput7  
  inflating: pcre2-10.23/testdata/testoutput8-8-3  
  inflating: pcre2-10.23/testdata/grepinput3  
  inflating: pcre2-10.23/testdata/testoutput22-32  
  inflating: pcre2-10.23/testdata/testinput13  
  inflating: pcre2-10.23/testdata/testinput15  
  inflating: pcre2-10.23/testdata/wintestoutput3  
  inflating: pcre2-10.23/testdata/testinput10  
  inflating: pcre2-10.23/testdata/testoutput14-8  
  inflating: pcre2-10.23/testdata/testinput1  
  inflating: pcre2-10.23/testdata/testoutput5  
  inflating: pcre2-10.23/testdata/grepoutputN  
  inflating: pcre2-10.23/testdata/testoutput8-32-4  
  inflating: pcre2-10.23/testdata/testoutput9  
  inflating: pcre2-10.23/testdata/testoutput8-32-3  
  inflating: pcre2-10.23/testdata/testoutput10  
  inflating: pcre2-10.23/testdata/testinput16  
  inflating: pcre2-10.23/testdata/testoutput3B  
  inflating: pcre2-10.23/testdata/testoutput15  
  inflating: pcre2-10.23/testdata/testoutput13  
  inflating: pcre2-10.23/testdata/testoutput8-8-2  
  inflating: pcre2-10.23/testdata/testoutput12-16  
 extracting: pcre2-10.23/testdata/grepbinary  
  inflating: pcre2-10.23/testdata/grepinputx  
 extracting: pcre2-10.23/testdata/greppatN4  
  inflating: pcre2-10.23/testdata/testinput5  
  inflating: pcre2-10.23/testdata/testoutput19  
  inflating: pcre2-10.23/testdata/testoutput8-16-3  
  inflating: pcre2-10.23/testdata/testoutput6  
  inflating: pcre2-10.23/testdata/testinput3  
  inflating: pcre2-10.23/testdata/testinput23  
  inflating: pcre2-10.23/testdata/testinput7  
  inflating: pcre2-10.23/testdata/testinput18  
  inflating: pcre2-10.23/testdata/testoutput8-8-4  
  inflating: pcre2-10.23/testdata/testoutput22-8  
  inflating: pcre2-10.23/testdata/testoutput3  
  inflating: pcre2-10.23/testdata/testinput22  
  inflating: pcre2-10.23/testdata/grepoutputC  
  inflating: pcre2-10.23/testdata/testinput9  
  inflating: pcre2-10.23/testdata/testinput20  
  inflating: pcre2-10.23/testdata/testinput6  
  inflating: pcre2-10.23/testdata/valgrind-jit.supp  
  inflating: pcre2-10.23/testdata/testinput12  
  inflating: pcre2-10.23/testdata/grepinput8  
  inflating: pcre2-10.23/testdata/testoutput14-16  
  inflating: pcre2-10.23/testdata/grepfilelist  
  inflating: pcre2-10.23/testdata/testinput2  
  inflating: pcre2-10.23/testdata/grepinputv  
  inflating: pcre2-10.23/testdata/grepoutput  
  inflating: pcre2-10.23/testdata/testinput11  
  inflating: pcre2-10.23/testdata/testoutput12-32  
  inflating: pcre2-10.23/testdata/testinput4  
  inflating: pcre2-10.23/testdata/grepinput  
  inflating: pcre2-10.23/testdata/testoutput8-32-2  
  inflating: pcre2-10.23/testdata/testoutput8-16-2  
  inflating: pcre2-10.23/testdata/wintestinput3  
  inflating: pcre2-10.23/testdata/testinputEBC  
  inflating: pcre2-10.23/testdata/testoutput14-32  
  inflating: pcre2-10.23/testdata/testinput14  
  inflating: pcre2-10.23/testdata/testoutput22-16  
  inflating: pcre2-10.23/testdata/testoutput11-32  
  inflating: pcre2-10.23/testdata/testoutput1  
  inflating: pcre2-10.23/testdata/testinput19  
  inflating: pcre2-10.23/testdata/testoutput11-16  
  inflating: pcre2-10.23/testdata/testoutput17  
  inflating: pcre2-10.23/RunTest     
   creating: pcre2-10.23/src/
  inflating: pcre2-10.23/src/pcre2posix.h  
  inflating: pcre2-10.23/src/pcre2_intmodedep.h  
  inflating: pcre2-10.23/src/pcre2_find_bracket.c  
  inflating: pcre2-10.23/src/pcre2_jit_compile.c  
  inflating: pcre2-10.23/src/pcre2_newline.c  
  inflating: pcre2-10.23/src/pcre2posix.c  
  inflating: pcre2-10.23/src/pcre2.h.in  
  inflating: pcre2-10.23/src/pcre2_substitute.c  
  inflating: pcre2-10.23/src/pcre2_match_data.c  
  inflating: pcre2-10.23/src/pcre2_tables.c  
  inflating: pcre2-10.23/src/pcre2_ucp.h  
  inflating: pcre2-10.23/src/dftables.c  
  inflating: pcre2-10.23/src/pcre2_config.c  
  inflating: pcre2-10.23/src/pcre2_jit_test.c  
  inflating: pcre2-10.23/src/pcre2demo.c  
  inflating: pcre2-10.23/src/pcre2_serialize.c  
  inflating: pcre2-10.23/src/pcre2_compile.c  
  inflating: pcre2-10.23/src/pcre2_chartables.c.dist  
  inflating: pcre2-10.23/src/pcre2_jit_match.c  
  inflating: pcre2-10.23/src/pcre2_study.c  
  inflating: pcre2-10.23/src/pcre2_xclass.c  
  inflating: pcre2-10.23/src/pcre2_dfa_match.c  
  inflating: pcre2-10.23/src/pcre2_valid_utf.c  
  inflating: pcre2-10.23/src/pcre2_substring.c  
  inflating: pcre2-10.23/src/pcre2_ord2utf.c  
  inflating: pcre2-10.23/src/pcre2.h.generic  
   creating: pcre2-10.23/src/sljit/
  inflating: pcre2-10.23/src/sljit/sljitNativeSPARC_common.c  
  inflating: pcre2-10.23/src/sljit/sljitNativeTILEGX-encoder.c  
  inflating: pcre2-10.23/src/sljit/sljitConfig.h  
  inflating: pcre2-10.23/src/sljit/sljitNativeMIPS_64.c  
  inflating: pcre2-10.23/src/sljit/sljitUtils.c  
  inflating: pcre2-10.23/src/sljit/sljitNativeARM_T2_32.c  
  inflating: pcre2-10.23/src/sljit/sljitNativePPC_64.c  
  inflating: pcre2-10.23/src/sljit/sljitNativeARM_64.c  
  inflating: pcre2-10.23/src/sljit/sljitNativeMIPS_common.c  
  inflating: pcre2-10.23/src/sljit/sljitNativeMIPS_32.c  
  inflating: pcre2-10.23/src/sljit/sljitNativeX86_common.c  
  inflating: pcre2-10.23/src/sljit/sljitNativeTILEGX_64.c  
  inflating: pcre2-10.23/src/sljit/sljitNativeARM_32.c  
  inflating: pcre2-10.23/src/sljit/sljitNativeSPARC_32.c  
  inflating: pcre2-10.23/src/sljit/sljitLir.c  
  inflating: pcre2-10.23/src/sljit/sljitLir.h  
  inflating: pcre2-10.23/src/sljit/sljitNativeX86_32.c  
  inflating: pcre2-10.23/src/sljit/sljitNativePPC_32.c  
  inflating: pcre2-10.23/src/sljit/sljitExecAllocator.c  
  inflating: pcre2-10.23/src/sljit/sljitNativeX86_64.c  
  inflating: pcre2-10.23/src/sljit/sljitNativePPC_common.c  
  inflating: pcre2-10.23/src/sljit/sljitConfigInternal.h  
  inflating: pcre2-10.23/src/pcre2_jit_misc.c  
  inflating: pcre2-10.23/src/config.h.in  
  inflating: pcre2-10.23/src/pcre2_auto_possess.c  
  inflating: pcre2-10.23/src/pcre2_pattern_info.c  
  inflating: pcre2-10.23/src/pcre2_fuzzsupport.c  
  inflating: pcre2-10.23/src/pcre2_maketables.c  
  inflating: pcre2-10.23/src/pcre2_printint.c  
  inflating: pcre2-10.23/src/pcre2_string_utils.c  
  inflating: pcre2-10.23/src/pcre2_ucd.c  
  inflating: pcre2-10.23/src/pcre2test.c  
  inflating: pcre2-10.23/src/pcre2_internal.h  
  inflating: pcre2-10.23/src/pcre2_context.c  
  inflating: pcre2-10.23/src/pcre2grep.c  
  inflating: pcre2-10.23/src/pcre2_error.c  
  inflating: pcre2-10.23/src/pcre2_match.c  
  inflating: pcre2-10.23/src/config.h.generic  
  inflating: pcre2-10.23/perltest.sh  
  inflating: pcre2-10.23/AUTHORS     
  inflating: pcre2-10.23/Detrail     
  inflating: pcre2-10.23/NON-AUTOTOOLS-BUILD  
  inflating: pcre2-10.23/ltmain.sh   
  inflating: pcre2-10.23/NEWS        
   creating: pcre2-10.23/doc/
  inflating: pcre2-10.23/doc/pcre2_get_error_message.3  
  inflating: pcre2-10.23/doc/pcre2_jit_compile.3  
  inflating: pcre2-10.23/doc/pcre2_set_character_tables.3  
  inflating: pcre2-10.23/doc/pcre2demo.3  
  inflating: pcre2-10.23/doc/pcre2_match_data_free.3  
  inflating: pcre2-10.23/doc/pcre2.3  
  inflating: pcre2-10.23/doc/pcre2_maketables.3  
  inflating: pcre2-10.23/doc/pcre2limits.3  
  inflating: pcre2-10.23/doc/pcre2_substring_free.3  
  inflating: pcre2-10.23/doc/pcre2_substring_length_byname.3  
  inflating: pcre2-10.23/doc/pcre2partial.3  
  inflating: pcre2-10.23/doc/pcre2syntax.3  
  inflating: pcre2-10.23/doc/pcre2.txt  
  inflating: pcre2-10.23/doc/pcre2_general_context_copy.3  
  inflating: pcre2-10.23/doc/pcre2_general_context_free.3  
  inflating: pcre2-10.23/doc/pcre2_set_parens_nest_limit.3  
  inflating: pcre2-10.23/doc/pcre2_config.3  
  inflating: pcre2-10.23/doc/pcre2_jit_stack_create.3  
  inflating: pcre2-10.23/doc/pcre2-config.txt  
  inflating: pcre2-10.23/doc/pcre2api.3  
  inflating: pcre2-10.23/doc/pcre2_general_context_create.3  
  inflating: pcre2-10.23/doc/pcre2_match_data_create.3  
  inflating: pcre2-10.23/doc/pcre2grep.txt  
  inflating: pcre2-10.23/doc/pcre2_serialize_free.3  
  inflating: pcre2-10.23/doc/pcre2_code_copy.3  
  inflating: pcre2-10.23/doc/pcre2stack.3  
  inflating: pcre2-10.23/doc/pcre2_substring_nametable_scan.3  
  inflating: pcre2-10.23/doc/pcre2_match_context_free.3  
  inflating: pcre2-10.23/doc/pcre2-config.1  
  inflating: pcre2-10.23/doc/pcre2sample.3  
  inflating: pcre2-10.23/doc/pcre2posix.3  
  inflating: pcre2-10.23/doc/pcre2_get_ovector_count.3  
  inflating: pcre2-10.23/doc/pcre2_callout_enumerate.3  
  inflating: pcre2-10.23/doc/pcre2_compile.3  
   creating: pcre2-10.23/doc/html/
  inflating: pcre2-10.23/doc/html/pcre2test.html  
  inflating: pcre2-10.23/doc/html/pcre2pattern.html  
  inflating: pcre2-10.23/doc/html/pcre2_substring_nametable_scan.html  
  inflating: pcre2-10.23/doc/html/pcre2_jit_stack_free.html  
  inflating: pcre2-10.23/doc/html/index.html  
  inflating: pcre2-10.23/doc/html/pcre2_substring_get_byname.html  
  inflating: pcre2-10.23/doc/html/pcre2_set_compile_recursion_guard.html  
  inflating: pcre2-10.23/doc/html/pcre2_jit_compile.html  
  inflating: pcre2-10.23/doc/html/pcre2unicode.html  
  inflating: pcre2-10.23/doc/html/pcre2syntax.html  
  inflating: pcre2-10.23/doc/html/pcre2.html  
  inflating: pcre2-10.23/doc/html/pcre2_match.html  
  inflating: pcre2-10.23/doc/html/pcre2_get_error_message.html  
  inflating: pcre2-10.23/doc/html/pcre2_substring_number_from_name.html  
  inflating: pcre2-10.23/doc/html/pcre2_jit_stack_assign.html  
  inflating: pcre2-10.23/doc/html/pcre2_set_parens_nest_limit.html  
  inflating: pcre2-10.23/doc/html/pcre2_code_free.html  
  inflating: pcre2-10.23/doc/html/pcre2_substring_free.html  
  inflating: pcre2-10.23/doc/html/pcre2matching.html  
  inflating: pcre2-10.23/doc/html/pcre2_get_ovector_count.html  
  inflating: pcre2-10.23/doc/html/pcre2sample.html  
  inflating: pcre2-10.23/doc/html/pcre2_maketables.html  
  inflating: pcre2-10.23/doc/html/pcre2jit.html  
  inflating: pcre2-10.23/doc/html/pcre2_match_context_free.html  
  inflating: pcre2-10.23/doc/html/pcre2_config.html  
  inflating: pcre2-10.23/doc/html/pcre2_compile_context_free.html  
  inflating: pcre2-10.23/doc/html/pcre2_pattern_info.html  
  inflating: pcre2-10.23/doc/html/pcre2_substitute.html  
  inflating: pcre2-10.23/doc/html/pcre2-config.html  
  inflating: pcre2-10.23/doc/html/pcre2_set_recursion_memory_management.html  
  inflating: pcre2-10.23/doc/html/pcre2_serialize_encode.html  
  inflating: pcre2-10.23/doc/html/pcre2_serialize_free.html  
  inflating: pcre2-10.23/doc/html/pcre2_set_recursion_limit.html  
  inflating: pcre2-10.23/doc/html/pcre2_serialize_get_number_of_codes.html  
  inflating: pcre2-10.23/doc/html/pcre2_set_offset_limit.html  
  inflating: pcre2-10.23/doc/html/pcre2_get_startchar.html  
  inflating: pcre2-10.23/doc/html/pcre2grep.html  
  inflating: pcre2-10.23/doc/html/pcre2build.html  
  inflating: pcre2-10.23/doc/html/pcre2_jit_match.html  
  inflating: pcre2-10.23/doc/html/pcre2_callout_enumerate.html  
  inflating: pcre2-10.23/doc/html/pcre2_substring_copy_bynumber.html  
  inflating: pcre2-10.23/doc/html/pcre2_compile.html  
  inflating: pcre2-10.23/doc/html/pcre2_match_context_create.html  
  inflating: pcre2-10.23/doc/html/pcre2_match_data_create.html  
  inflating: pcre2-10.23/doc/html/pcre2_general_context_create.html  
  inflating: pcre2-10.23/doc/html/pcre2serialize.html  
  inflating: pcre2-10.23/doc/html/pcre2_substring_list_free.html  
  inflating: pcre2-10.23/doc/html/pcre2_match_data_create_from_pattern.html  
  inflating: pcre2-10.23/doc/html/pcre2_substring_length_byname.html  
  inflating: pcre2-10.23/doc/html/pcre2_compile_context_create.html  
  inflating: pcre2-10.23/doc/html/pcre2_compile_context_copy.html  
  inflating: pcre2-10.23/doc/html/pcre2_set_max_pattern_length.html  
  inflating: pcre2-10.23/doc/html/pcre2_substring_length_bynumber.html  
  inflating: pcre2-10.23/doc/html/pcre2_general_context_copy.html  
  inflating: pcre2-10.23/doc/html/pcre2limits.html  
  inflating: pcre2-10.23/doc/html/pcre2callout.html  
  inflating: pcre2-10.23/doc/html/pcre2posix.html  
  inflating: pcre2-10.23/doc/html/README.txt  
  inflating: pcre2-10.23/doc/html/pcre2_general_context_free.html  
  inflating: pcre2-10.23/doc/html/pcre2stack.html  
  inflating: pcre2-10.23/doc/html/pcre2_jit_free_unused_memory.html  
  inflating: pcre2-10.23/doc/html/pcre2_jit_stack_create.html  
  inflating: pcre2-10.23/doc/html/pcre2api.html  
  inflating: pcre2-10.23/doc/html/pcre2demo.html  
  inflating: pcre2-10.23/doc/html/pcre2_substring_copy_byname.html  
  inflating: pcre2-10.23/doc/html/pcre2_serialize_decode.html  
  inflating: pcre2-10.23/doc/html/NON-AUTOTOOLS-BUILD.txt  
  inflating: pcre2-10.23/doc/html/pcre2compat.html  
  inflating: pcre2-10.23/doc/html/pcre2_set_bsr.html  
  inflating: pcre2-10.23/doc/html/pcre2_match_context_copy.html  
  inflating: pcre2-10.23/doc/html/pcre2_match_data_free.html  
  inflating: pcre2-10.23/doc/html/pcre2_set_character_tables.html  
  inflating: pcre2-10.23/doc/html/pcre2partial.html  
  inflating: pcre2-10.23/doc/html/pcre2_set_newline.html  
  inflating: pcre2-10.23/doc/html/pcre2_set_match_limit.html  
  inflating: pcre2-10.23/doc/html/pcre2_code_copy.html  
  inflating: pcre2-10.23/doc/html/pcre2_set_callout.html  
  inflating: pcre2-10.23/doc/html/pcre2_get_ovector_pointer.html  
  inflating: pcre2-10.23/doc/html/pcre2perform.html  
  inflating: pcre2-10.23/doc/html/pcre2_substring_list_get.html  
  inflating: pcre2-10.23/doc/html/pcre2_dfa_match.html  
  inflating: pcre2-10.23/doc/html/pcre2_code_copy_with_tables.html  
  inflating: pcre2-10.23/doc/html/pcre2_get_mark.html  
  inflating: pcre2-10.23/doc/html/pcre2_substring_get_bynumber.html  
  inflating: pcre2-10.23/doc/pcre2jit.3  
  inflating: pcre2-10.23/doc/pcre2_serialize_decode.3  
  inflating: pcre2-10.23/doc/pcre2_match_context_create.3  
  inflating: pcre2-10.23/doc/pcre2serialize.3  
  inflating: pcre2-10.23/doc/pcre2perform.3  
  inflating: pcre2-10.23/doc/pcre2_substring_list_get.3  
  inflating: pcre2-10.23/doc/pcre2_set_match_limit.3  
  inflating: pcre2-10.23/doc/index.html.src  
  inflating: pcre2-10.23/doc/pcre2_serialize_get_number_of_codes.3  
  inflating: pcre2-10.23/doc/pcre2callout.3  
  inflating: pcre2-10.23/doc/pcre2_match_context_copy.3  
  inflating: pcre2-10.23/doc/pcre2_match.3  
  inflating: pcre2-10.23/doc/pcre2_set_bsr.3  
  inflating: pcre2-10.23/doc/pcre2_substring_list_free.3  
  inflating: pcre2-10.23/doc/pcre2_dfa_match.3  
  inflating: pcre2-10.23/doc/pcre2_compile_context_create.3  
  inflating: pcre2-10.23/doc/pcre2_compile_context_copy.3  
  inflating: pcre2-10.23/doc/pcre2_code_copy_with_tables.3  
  inflating: pcre2-10.23/doc/pcre2grep.1  
  inflating: pcre2-10.23/doc/pcre2_substitute.3  
  inflating: pcre2-10.23/doc/pcre2_set_compile_recursion_guard.3  
  inflating: pcre2-10.23/doc/pcre2test.1  
  inflating: pcre2-10.23/doc/pcre2_substring_number_from_name.3  
  inflating: pcre2-10.23/doc/pcre2_set_newline.3  
  inflating: pcre2-10.23/doc/pcre2matching.3  
  inflating: pcre2-10.23/doc/pcre2_set_max_pattern_length.3  
  inflating: pcre2-10.23/doc/pcre2_match_data_create_from_pattern.3  
  inflating: pcre2-10.23/doc/pcre2_set_recursion_limit.3  
  inflating: pcre2-10.23/doc/pcre2test.txt  
  inflating: pcre2-10.23/doc/pcre2_pattern_info.3  
  inflating: pcre2-10.23/doc/pcre2_compile_context_free.3  
  inflating: pcre2-10.23/doc/pcre2_jit_free_unused_memory.3  
  inflating: pcre2-10.23/doc/pcre2unicode.3  
  inflating: pcre2-10.23/doc/pcre2_set_recursion_memory_management.3  
  inflating: pcre2-10.23/doc/pcre2_jit_stack_free.3  
  inflating: pcre2-10.23/doc/pcre2_jit_stack_assign.3  
  inflating: pcre2-10.23/doc/pcre2_code_free.3  
  inflating: pcre2-10.23/doc/pcre2_substring_get_byname.3  
  inflating: pcre2-10.23/doc/pcre2_get_startchar.3  
  inflating: pcre2-10.23/doc/pcre2_get_mark.3  
  inflating: pcre2-10.23/doc/pcre2_set_callout.3  
  inflating: pcre2-10.23/doc/pcre2_substring_get_bynumber.3  
  inflating: pcre2-10.23/doc/pcre2compat.3  
  inflating: pcre2-10.23/doc/pcre2_jit_match.3  
  inflating: pcre2-10.23/doc/pcre2_get_ovector_pointer.3  
  inflating: pcre2-10.23/doc/pcre2_substring_copy_bynumber.3  
  inflating: pcre2-10.23/doc/pcre2pattern.3  
  inflating: pcre2-10.23/doc/pcre2_substring_copy_byname.3  
  inflating: pcre2-10.23/doc/pcre2_set_offset_limit.3  
  inflating: pcre2-10.23/doc/pcre2_serialize_encode.3  
  inflating: pcre2-10.23/doc/pcre2_substring_length_bynumber.3  
  inflating: pcre2-10.23/doc/pcre2build.3  
  inflating: pcre2-10.23/libpcre2-8.pc.in  
  inflating: pcre2-10.23/RunGrepTest  
  inflating: pcre2-10.23/CheckMan    
  inflating: pcre2-10.23/libpcre2-32.pc.in  
./dependencies.sh: line 58: patch: command not found
[ec2-user@ip-172-31-94-27 mimic1]$ ./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
configure.ac:16: installing 'config/ar-lib'
configure.ac:11: installing 'config/config.guess'
configure.ac:11: installing 'config/config.sub'
configure.ac:14: installing 'config/install-sh'
configure.ac:14: installing 'config/missing'
Makefile.am:630: warning: compiling 'main/compile_regexes.c' in subdir requires 'AM_PROG_CC_C_O' in 'configure.ac'
Makefile.am: installing 'config/depcomp'
parallel-tests: installing 'config/test-driver'
[ec2-user@ip-172-31-94-27 mimic1]$ ./configure --prefix="/usr/local"
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking whether byte ordering is bigendian... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc option to support OpenMP... -fopenmp
checking for mmap... yes
checking for pow... no
checking for pow in -lm... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for HTS_Engine_initialize in -lHTSEngine... no
configure: HTSEngine was not detected, using bundled HTSEngine
checking for PCRE2... no
configure: error: Package requirements (libpcre2-8) were not met:

No package 'libpcre2-8' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PCRE2_CFLAGS
and PCRE2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I tried to install pcre-devel but output is still the same.

@forslund
Copy link
Collaborator

forslund commented Apr 17, 2019

Did you run the dependencies.sh script?

Edit:
I see you did but it seems to error on patch not being available

@kstillson
Copy link

I ran into the same problem when attempting to compile on a Raspberry PI (raspbian "buster").

Apparently, the pkg-config system that ./configure is using is looking for a file named "libpcre2-8.pc", which the dependencies.sh script did built, but didn't copy into /usr/local.

So... After running ./dependencies.sh, you need to:

sudo cp ./build/thirdparty/build_pcre2/libpcre2-8.pc /usr/local/lib
sudo chmod o+r /usr/local/lib/libpcre2-8.pc

Then run:

PKG_CONFIG_PATH=/usr/local/lib ./configure --prefix="/usr/local"

and it should work this time.

I suspect this is a workaround for a bug in ./dependencies.sh, which really should be copying over the .pc file for us.
Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants