• Posts

  • Joined

  • Last visited

konki's Achievements

  1. I was of the same opinion but the absence of GNU Sed from the /usr/bin directory is very strange under debian. sed is installed under armbian 20, but the binary is in the /bin directory. it seems to me that this choice is absolutely not judicious even if a simple symlink allows to solve the problem. I have a workstation under MXLinux (debian stable) and the binary is in its usual place. I see the same curiosity under linux raspberrypi 5.4.72, sed is installed but the /bin directory! Damned, I thank you for your opinions, but you are wrong: pecl is a simple script bash which ensures the local compilation of the package. so either you modify the link /usr/bin/sed in pecl, or you just have to create a link for sed in its historical directory!!! # sed --v sed (GNU sed) 4.7 Packaged by Debian Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. # type -a sed sed is /bin/sed # cd /bin # ln -s /bin/sed /user/bin/sed (create a symlink for sed) # cd /usr/bin # ln -l sed lrwxewxrwx l root ....... sed -> /bin/sed /usr/bin# pecl install smbclient ....... Build process completed successfully Installing '/usr/lib/php/20190902/smbclient.so' install ok: channel://pecl.php.net/smbclient-1.0.0 configuration option "php_ini" is not set to php.ini location You should add "extension=smbclient.so" to php.ini that's all folks konki
  2. Good morning community, I need to install the php extension smbclient but the pecl command fails. My odroid xu4 development board works under arbiam 20.11 Stable. with Apache 2.4.? (latest) / Msql 10.3.25-MariaDB / Php 7.4.13 (packages.sury.org) konki@cloud:/etc/php/7.4/fpm# pecl channel-update pecl.php.net Updating channel "pecl.php.net" Update of Channel "pecl.php.net" succeeded konki@cloud:/etc/php/7.4/fpm# pecl install smbclient downloading smbclient-1.0.0.tgz ... Starting to download smbclient-1.0.0.tgz (32,017 bytes) .........done: 32,017 bytes 4 source files, building running: phpize /usr/bin/phpize: 1: /usr/bin/phpize: /usr/bin/sed: not found grep: write error: Broken pipe /usr/bin/phpize: 1: /usr/bin/phpize: /usr/bin/sed: not found grep: write error: Broken pipe /usr/bin/phpize: 1: /usr/bin/phpize: /usr/bin/sed: not found grep: write error: Broken pipe Configuring for: PHP Api Version: Zend Module Api No: Zend Extension Api No: /usr/bin/phpize: 164: /usr/bin/phpize: /usr/bin/sed: not found autoheader: error: AC_CONFIG_HEADERS not found in configure.ac ERROR: `phpize' failed konki@cloud:/etc/php/7.4/fpm# Can't find a fix with google! Could you help me? Thank's Konki