You are not logged in.
I was looking for the pecl binary. On the PHP and Drupal archwiki pages:
https://wiki.archlinux.org/index.php/PHP#using_pecl and https://wiki.archlinux.org/index.php/Dr … ot_enabled is explained how to get it.
In the AUR php-pear package there is no pecl binary.
Online I could not find any info about the PECL binary and where to get it for archlinux.
Does anyone know where PECL is?
Last edited by boban_dj (2018-03-17 16:53:49)
Offline
I just built the package and it contains /usr/bin/pecl.
Offline
@lahwaacz, thanks for checking. Also succeeded to compile the package php-imagick (I had to remove hardening-wrapper first see the comments: https://aur.archlinux.org/packages/icu57/)
After running php -v:
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /usr/lib/php/modules/imagick
(/usr/lib/php/modules/imagick: cannot open shared object file: No such file or directory), /usr/lib/php/modules/imagick.so
(/usr/lib/php/modules/imagick.so: undefined symbol: spl_ce_Countable)) in Unknown on line 0
$ pecl
-bash: pecl: command not found
could you check where the Pecl binary is in your system?
Last edited by boban_dj (2018-03-17 13:24:52)
Offline
I had to remove hardening-wrapper
hardening-wrapper was always a dirty hack and removed from repositories around july 2017 because default building flags protect better now then hardening-wrapper ever did.
I suggest you run pacman -Qm and pacman -Qdt to see what other obsolete stuff you have.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
@Lone_Wolf, yep its a complete "beerput". Next week will have a new system, so I can start fresh again.
php-imagick installed fine but still no trace of pecl.
Offline
pecl is provided by the php-pear package, as the two wiki pages linked from your first post say.
Offline
Can you tell me where in your system it exists?
I installed php-pear, no trace of pecl
Offline
I already said it's in /usr/bin/pecl
How did you install the package and what does "pacman -Ql php-pear" show?
Offline
$ ls /usr/bin/pe*
/usr/bin/peas-demo* /usr/bin/pencil2d* /usr/bin/permview*
/usr/bin/pedump* /usr/bin/perl* /usr/bin/perror*
/usr/bin/peekfd* /usr/bin/perltex@ /usr/bin/peverify*
$ pacman -Qi php-pear
Name : php-pear
Version : 1:1.10.1-3
Description : PHP Extension and Application Repository.
Architecture : any
URL : http://pear.php.net/
Licenses : PHP
Groups : None
Provides : None
Depends On : php
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 4.00 KiB
Packager : Levon Kayan <noptrix@nullsecurity.net>
Build Date : Sat 31 Dec 2016 07:32:20 PM CET
Install Date : Sat 17 Mar 2018 03:20:31 PM CET
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
$ php -v
PHP 7.2.3 (cli) (built: Mar 1 2018 16:50:09) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
Offline
So are you on blackarch or are you just using the blackarch repo?
Edit: Either way, that package is both old and broken.
Last edited by Scimmia (2018-03-17 15:38:27)
Offline
@Scimmia, just using blackarch repo.
yes its old I needed it for some project. Thanks everyone, consider it solved, as I will not use it anymore.
Offline
Once you remove the repo, remember to do a full system update to replace the blackarch versions with their Arch counterparts. Also, check your pacman -Qm output to see which other packages will now be stale.
Please remember to mark your thread as solved.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
@WorMzy great tip!
Offline