~ # /opt/plesk/php/7.3/bin/pecl install smbclient
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading smbclient-1.0.0.tgz ...
Starting to download smbclient-1.0.0.tgz (32,017 bytes)
.........done: 32,017 bytes
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in PEAR/PackageFile/v2/Validator.php on line 1933
PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /opt/plesk/php/7.3/share/pear/PEAR/PackageFile/v2/Validator.php on line 1933
PHP Stack trace:
PHP 1. {main}() /opt/plesk/php/7.3/share/pear/peclcmd.php:0
PHP 2. require_once() /opt/plesk/php/7.3/share/pear/peclcmd.php:31
PHP 3. PEAR_Command_Install->run() /opt/plesk/php/7.3/share/pear/pearcmd.php:316
PHP 4. PEAR_Command_Install->doInstall() /opt/plesk/php/7.3/share/pear/PEAR/Command/Common.php:270
PHP 5. PEAR_Downloader->download() /opt/plesk/php/7.3/share/pear/PEAR/Command/Install.php:666
PHP 6. PEAR_Downloader_Package->download() /opt/plesk/php/7.3/share/pear/PEAR/Downloader.php:474
PHP 7. PEAR_Downloader_Package->_fromUrl() /opt/plesk/php/7.3/share/pear/PEAR/Downloader/Package.php:262
PHP 8. PEAR_PackageFile->fromAnyFile() /opt/plesk/php/7.3/share/pear/PEAR/Downloader/Package.php:1599
PHP 9. PEAR_PackageFile->fromTgzFile() /opt/plesk/php/7.3/share/pear/PEAR/PackageFile.php:473
PHP 10. PEAR_PackageFile->fromPackageFile() /opt/plesk/php/7.3/share/pear/PEAR/PackageFile.php:377
PHP 11. PEAR_PackageFile->fromXmlString() /opt/plesk/php/7.3/share/pear/PEAR/PackageFile.php:428
PHP 12. PEAR_PackageFile_v2->validate() /opt/plesk/php/7.3/share/pear/PEAR/PackageFile.php:209
4 source files, building
running: phpize
Configuring for:
PHP Api Version: 20180731
Zend Module Api No: 20180731
Zend Extension Api No: 320180731
building in /tmp/pear-build-rootKq46be/smbclient-1.0.0
running: /tmp/smbclient/configure --with-php-config=/opt/plesk/php/7.3/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /opt/plesk/php/7.3
checking for PHP includes... -I/opt/plesk/php/7.3/include/php -I/opt/plesk/php/7.3/include/php/main -I/opt/plesk/php/7.3/include/php/TSRM -I/opt/plesk/php/7.3/include/php/Zend -I/opt/plesk/php/7.3/include/php/ext -I/opt/plesk/php/7.3/include/php/ext/date/lib
checking for PHP extension directory... /opt/plesk/php/7.3/lib/php/modules
checking for PHP installed headers prefix... /opt/plesk/php/7.3/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.16 (ok)
checking for gawk... gawk
checking whether to enable smbclient support... yes, shared
checking for libsmbclient support... yes, shared
checking for libsmbclient.h in default paths... not found
configure: error: Could not find libsmbclient.h
ERROR: `/tmp/smbclient/configure --with-php-config=/opt/plesk/php/7.3/bin/php-config' failed