Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 13-03-2019 12:29:22

aesthetics
Membre
Lieu : Paris
Distrib. : Debian 8 Jessie
Noyau : Linux 4.9.125-linuxkit
(G)UI : aucun
Inscription : 13-03-2019

Installation compliquée de pecl_http 3.2.0

Bonjour tout le monde.

J'essaye d'installer depuis hier le package pecl_http 3.2.0 mais en vain pour le moment.

root@5556d9edff4c:/var/www/html# sudo pecl install pecl_http
downloading pecl_http-3.2.0.tgz ...
Starting to download pecl_http-3.2.0.tgz (218,829 bytes)
.............................................done: 218,829 bytes
84 source files, building
running: phpize
Configuring for:
PHP Api Version:         20160303
Zend Module Api No:      20160303
Zend Extension Api No:   320160303
where to find zlib [/usr] :
where to find libcurl [/usr] :
where to find libevent [/usr] :
where to find libicu [/usr] :
where to find libidn2 [/usr] :
where to find libidn [/usr] :
where to find libidnkit2 [/usr] :
where to find libidnkit [/usr] :
building in /tmp/pear/temp/pear-build-root0Ixgo7/pecl_http-3.2.0
running: /tmp/pear/temp/pecl_http/configure --with-php-config=/usr/local/bin/php-config --with-http-zlib-dir=/usr --with-http-libcurl-dir=/usr --with-http-libevent-dir=/usr --with-http-libicu-dir=/usr --with-http-libidn2-dir=/usr --with-http-libidn-dir=/usr --with-http-libidnkit2-dir=/usr --with-http-libidnkit-dir=/usr
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-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20160303
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable extended HTTP support... yes, shared
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 off_t... yes
checking for mbstate_t... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for gethostname... yes
checking for getdomainname... yes
checking for mbrtowc... yes
checking for mbtowc... yes
checking for iswalnum... yes
checking for inet_pton... yes
checking whether/where to check for zlib... /usr
checking for gawk... (cached) nawk
checking for zlib... 1.2.8
checking whether zlib version 1.2.8 >= 1.2.0.4... ok
checking whether/where to check for libbrotli... yes
checking for pkg-config... /usr/bin/pkg-config
checking for libbrotlicommon... no
checking whether libbrotlicommon version  >= 1.0... no
checking for libbrotlidec... no
checking whether libbrotlidec version  >= 1.0... no
checking for libbrotlienc... no
checking whether libbrotlienc version  >= 1.0... no
checking whether/where to check for libcurl... /usr
checking for a sed that does not truncate output... /bin/sed
checking for egrep... (cached) /bin/grep -E
checking for curl-config... false
checking for libcurl... no
checking whether libcurl version  >= 7.18.2... configure: error: no
ERROR: `/tmp/pear/temp/pecl_http/configure --with-php-config=/usr/local/bin/php-config --with-http-zlib-dir=/usr --with-http-libcurl-dir=/usr --with-http-libevent-dir=/usr --with-http-libicu-dir=/usr --with-http-libidn2-dir=/usr --with-http-libidn-dir=/usr --with-http-libidnkit2-dir=/usr --with-http-libidnkit-dir=/usr' failed



Je remarque dans un premier temps que l'on me demande de localiser certaines librairies (qui ne semblent pas obligatoires, certaines sont installées sur mon système, d'autres non). A priori beaucoup de monde se contente de laisser l'option proposée par défaut.

Quelques infos qui me paraissent utiles ci-dessous :

Debian 8 (dans un container Docker, je ne pense pas que cela soit important mais sait-on jamais)
PHP : 7.1.17
pear : 1.10.17 stable
raphf : 2.0 stable (extension raphf.so ajoutée au php.ini)
propro : 2.1.0 stable (extension propro.so ajoutée au php.ini)
modules PHP compilés :

calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
hash
iconv
intl
json
libxml
mbstring
mcrypt
memcached
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
propro
raphf
readline
Reflection
session
SimpleXML
soap
SPL
sqlite3
standard
tokenizer
xdebug
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib



Je remercie par avance quiconque saura m'aider !

A plus smile

Hors ligne

#2 13-03-2019 12:33:44

otyugh
CA Debian-Facile
Lieu : Quimperlé/Arzano
Distrib. : Debian Stable
Inscription : 20-09-2016
Site Web

Re : Installation compliquée de pecl_http 3.2.0

En général regarde la dernière erreur qui a interrompue la compilation, dans ton cas :

checking whether libcurl version  >= 7.18.2... configure: error: no


Donc soit tu as la mauvaise version (à verifier avec apt-cache policy curl) soit il n'est pas installé sur ton système (apt install curl).


datalove-datalove-s1-2.png agendadulibre-lagendadulibre.png arzinfo-arzinfo.png

En ligne

#3 13-03-2019 12:40:26

aesthetics
Membre
Lieu : Paris
Distrib. : Debian 8 Jessie
Noyau : Linux 4.9.125-linuxkit
(G)UI : aucun
Inscription : 13-03-2019

Re : Installation compliquée de pecl_http 3.2.0

Merci de ton retour otyugh.

Voici ce que me retourne apt-cache policy curl :

root@5556d9edff4c:/var/www/html# apt-cache policy curl


curl:
  Installed: 7.38.0-4+deb8u14
  Candidate: 7.38.0-4+deb8u14
  Version table:
 *** 7.38.0-4+deb8u14 0
        500 http://security.debian.org/debian-security/ jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     7.38.0-4+deb8u11 0
        500 http://deb.debian.org/debian/ jessie/main amd64 Packages



Donc a priori je devrais entrer dans les clous. C'est étrange.

Hors ligne

#4 13-03-2019 13:01:01

otyugh
CA Debian-Facile
Lieu : Quimperlé/Arzano
Distrib. : Debian Stable
Inscription : 20-09-2016
Site Web

Re : Installation compliquée de pecl_http 3.2.0

je crois qu'on se gourre de paquet ^^'
Humh. Le paquet libcurl3 ?

Han, je vois pas. Y a un libcurl4 ? °O°

Edit : essaies libcurl-dev
https://packages.debian.org/jessie/libcurl-dev

Dernière modification par otyugh (13-03-2019 13:03:21)


datalove-datalove-s1-2.png agendadulibre-lagendadulibre.png arzinfo-arzinfo.png

En ligne

#5 13-03-2019 13:10:14

aesthetics
Membre
Lieu : Paris
Distrib. : Debian 8 Jessie
Noyau : Linux 4.9.125-linuxkit
(G)UI : aucun
Inscription : 13-03-2019

Re : Installation compliquée de pecl_http 3.2.0

https://packages.debian.org/fr/sid/libcurl4-openssl-dev

Il me semble que ça vaut le coup de faire un essai smile

EDIT : il semblerait qu'il y ait du mieux, on parvient à présent jusqu'à une tentative de Make.

root@5556d9edff4c:/var/www/html# sudo pecl install pecl_http


downloading pecl_http-3.2.0.tgz ...
Starting to download pecl_http-3.2.0.tgz (218,829 bytes)
.............................................done: 218,829 bytes
84 source files, building
running: phpize
Configuring for:
PHP Api Version:         20160303
Zend Module Api No:      20160303
Zend Extension Api No:   320160303
where to find zlib [/usr] :
where to find libcurl [/usr] :
where to find libevent [/usr] :
where to find libicu [/usr] :
where to find libidn2 [/usr] :
where to find libidn [/usr] :
where to find libidnkit2 [/usr] :
where to find libidnkit [/usr] :
building in /tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0
running: /tmp/pear/temp/pecl_http/configure --with-php-config=/usr/local/bin/php-config --with-http-zlib-dir=/usr --with-http-libcurl-dir=/usr --with-http-libevent-dir=/usr --with-http-libicu-dir=/usr --with-http-libidn2-dir=/usr --with-http-libidn-dir=/usr --with-http-libidnkit2-dir=/usr --with-http-libidnkit-dir=/usr
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-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20160303
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable extended HTTP support... yes, shared
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 off_t... yes
checking for mbstate_t... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for gethostname... yes
checking for getdomainname... yes
checking for mbrtowc... yes
checking for mbtowc... yes
checking for iswalnum... yes
checking for inet_pton... yes
checking whether/where to check for zlib... /usr
checking for gawk... (cached) nawk
checking for zlib... 1.2.8
checking whether zlib version 1.2.8 >= 1.2.0.4... ok
checking whether/where to check for libbrotli... yes
checking for pkg-config... /usr/bin/pkg-config
checking for libbrotlicommon... no
checking whether libbrotlicommon version  >= 1.0... no
checking for libbrotlidec... no
checking whether libbrotlidec version  >= 1.0... no
checking for libbrotlienc... no
checking whether libbrotlienc version  >= 1.0... no
checking whether/where to check for libcurl... /usr
checking for a sed that does not truncate output... /bin/sed
checking for egrep... (cached) /bin/grep -E
checking for curl-config... /usr/bin/curl-config
checking for libcurl... 7.38.0
checking whether libcurl version 7.38.0 >= 7.18.2... ok
checking for default CA path... /etc/ssl/certs
checking for default CA info...
checking for HTTP protocol in libcurl... yes
checking for HTTP2 feature in libcurl... no
checking for c-ares providing AsynchDNS in libcurl... no
checking for SSL feature in libcurl... yes
checking for OpenSSL providing SSL in libcurl... yes
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
checking openssl/crypto.h usability... no
checking openssl/crypto.h presence... no
checking for openssl/crypto.h... no
checking for CURLOPT_TLSAUTH_TYPE in curl/curl.h... yes
checking whether CURLOPT_TLSAUTH_TYPE expects CURL_TLSAUTH_SRP... no
checking for default CA path... (cached) /etc/ssl/certs
checking for default CA info...
checking whether/where to check for libevent... /usr
checking for libevent... no
checking whether/where to check for libidn2... /usr
checking for libidn2... no
checking whether/where to check for libidn... /usr
checking for libidn... no
checking whether/where to check for libicu... /usr
checking for icu-config... /usr/bin/icu-config
checking for libicu... 52.1
checking for uidna_IDNToASCII... yes
checking for uidna_nameToASCII_UTF8... yes
checking whether/where to check for libidnkit2... /usr
checking for libidnkit2... no
checking whether/where to check for libidnkit... /usr
checking for libidnkit... no
checking whether ext/raphf is enabled... yes
checking for php_raphf.h of ext/raphf... /usr/local/include/php/ext/raphf
checking whether ext/propro is enabled... yes
checking for php_propro.h of ext/propro... /usr/local/include/php/ext/propro
checking whether ext/hash is enabled... yes
checking whether ext/iconv is enabled... yes
checking whether to depend on extensions which have been built shared... yes
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/bash /tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/include -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/main -I/tmp/pear/temp/pecl_http -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/php/ext/raphf -I/usr/local/include/php/ext/propro -I/tmp/pear/temp/pecl_http/src  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/pecl_http/src/php_http.c -o src/php_http.lo
mkdir src/.libs
 cc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/include -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/main -I/tmp/pear/temp/pecl_http -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/php/ext/raphf -I/usr/local/include/php/ext/propro -I/tmp/pear/temp/pecl_http/src -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/src/php_http.c  -fPIC -DPIC -o src/.libs/php_http.o
/bin/bash /tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/include -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/main -I/tmp/pear/temp/pecl_http -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/php/ext/raphf -I/usr/local/include/php/ext/propro -I/tmp/pear/temp/pecl_http/src  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/pecl_http/src/php_http_buffer.c -o src/php_http_buffer.lo
 cc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/include -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/main -I/tmp/pear/temp/pecl_http -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/php/ext/raphf -I/usr/local/include/php/ext/propro -I/tmp/pear/temp/pecl_http/src -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/src/php_http_buffer.c  -fPIC -DPIC -o src/.libs/php_http_buffer.o
/bin/bash /tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/include -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/main -I/tmp/pear/temp/pecl_http -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/php/ext/raphf -I/usr/local/include/php/ext/propro -I/tmp/pear/temp/pecl_http/src  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/pecl_http/src/php_http_client.c -o src/php_http_client.lo
 cc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/include -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/main -I/tmp/pear/temp/pecl_http -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/php/ext/raphf -I/usr/local/include/php/ext/propro -I/tmp/pear/temp/pecl_http/src -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/src/php_http_client.c  -fPIC -DPIC -o src/.libs/php_http_client.o
/bin/bash /tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/include -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/main -I/tmp/pear/temp/pecl_http -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/php/ext/raphf -I/usr/local/include/php/ext/propro -I/tmp/pear/temp/pecl_http/src  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/pecl_http/src/php_http_client_curl.c -o src/php_http_client_curl.lo
 cc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/include -I/tmp/pear/temp/pear-build-roothcdAWX/pecl_http-3.2.0/main -I/tmp/pear/temp/pecl_http -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/php/ext/raphf -I/usr/local/include/php/ext/propro -I/tmp/pear/temp/pecl_http/src -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/src/php_http_client_curl.c  -fPIC -DPIC -o src/.libs/php_http_client_curl.o
/tmp/pear/temp/pecl_http/src/php_http_client_curl.c:21:26: fatal error: openssl/ssl.h: No such file or directory
 # include <openssl/ssl.h>
                          ^
compilation terminated.
Makefile:220: recipe for target 'src/php_http_client_curl.lo' failed
make: *** [src/php_http_client_curl.lo] Error 1
ERROR: `make' failed

Dernière modification par aesthetics (13-03-2019 13:31:28)

Hors ligne

#6 13-03-2019 14:06:17

otyugh
CA Debian-Facile
Lieu : Quimperlé/Arzano
Distrib. : Debian Stable
Inscription : 20-09-2016
Site Web

Re : Installation compliquée de pecl_http 3.2.0

Il manquait encore une dépendance. Pour la trouver, tu regardes le message d'erreur, et tu regardes à quel paquet le fichier manquant appartient :

/tmp/pear/temp/pecl_http/src/php_http_client_curl.c:21:26: fatal error: openssl/ssl.h: No such file or directory
 # include <openssl/ssl.h>



apt-file search "openssl/ssl.h"


libssl-dev: /usr/include/openssl/ssl.h
python-pycparser: /usr/share/python-pycparser/fake_libc_include/openssl/ssl.h
python3-pycparser: /usr/share/python3-pycparser/fake_libc_include/openssl/ssl.h



Donc "apt install libssl-dev", tout simplement.

Dernière modification par otyugh (13-03-2019 14:10:24)


datalove-datalove-s1-2.png agendadulibre-lagendadulibre.png arzinfo-arzinfo.png

En ligne

#7 13-03-2019 15:03:44

aesthetics
Membre
Lieu : Paris
Distrib. : Debian 8 Jessie
Noyau : Linux 4.9.125-linuxkit
(G)UI : aucun
Inscription : 13-03-2019

Re : Installation compliquée de pecl_http 3.2.0

Merci beaucoup pour ton aide otyugh, en suivant ton dernier conseil le problème est résolu.

Très bonne journée smile

Hors ligne

#8 13-03-2019 18:41:00

otyugh
CA Debian-Facile
Lieu : Quimperlé/Arzano
Distrib. : Debian Stable
Inscription : 20-09-2016
Site Web

Re : Installation compliquée de pecl_http 3.2.0

smile
La politique du forum veut qu'on mette un [résolu] dans le titre du sujet aussi, si tu peux. C'est pour ceux qui chercheront plus tard sur un problème similaire.

datalove-datalove-s1-2.png agendadulibre-lagendadulibre.png arzinfo-arzinfo.png

En ligne

Pied de page des forums