SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to build php 7.2xxx and get the error but I have the latest installed libpcre from current.
Code:
Configuring extensions
checking for strings.h... (cached) yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking for strtoll... yes
checking for atoll... yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes, shared
checking for Kerberos support... no
checking whether to use system default cipher list instead of hardcoded value... no
checking for RAND_egd... no
checking for pkg-config... /usr/bin/pkg-config
checking for PCRE headers location... /usr/include
checking for PCRE library location... configure: error: Could not find libpcre.(a|so) in /usr
Is this on 14.2 or -current? On -current, there are actually 2 pcre packages, l/pcre-8.43 and l/pcre2-10.34. If you're on 14.2, only l/pcre is provided and pcre2 is available on SBo.
Either way, looking at the config.log might provide more insight on why it didn't work.
Did you use --with-pcre-regex=/usr on the configure command line? This overrides use of PHP's included PCRE library. Is there a reason you can't use the PCRE library that is supplied with PHP, which will always build successfully?
Did you use --with-pcre-regex=/usr on the configure command line? This overrides use of PHP's included PCRE library. Is there a reason you can't use the PCRE library that is supplied with PHP, which will always build successfully?
No I haven't but running php 7.1.33, I had to do no such thing. So why is 7.2.x different?
Did you use --with-pcre-regex=/usr on the configure command line? This overrides use of PHP's included PCRE library. Is there a reason you can't use the PCRE library that is supplied with PHP, which will always build successfully?
it seems like you installed the pcre2 package for current on 14.2: that could have surely messed the things up.
if you need pcre2 on 14.2 you can install it from SBo.
it seems like you installed the pcre2 package for current on 14.2: that could have surely messed the things up.
if you need pcre2 on 14.2 you can install it from SBo.
I was able to use pcre2 from current with PHP 7.3.13 using the build from http://ponce.cc/slackware/testing/php-7.2/php-7.2/
and replacing --with-pcre-regex=/usr with --with-external-pcre \ Thanks everyone...
Last edited by PROBLEMCHYLD; 01-20-2020 at 12:18 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.