腾讯云debian7.4安装lnmp的php不成功哇?

  • 回答 (2)
  • 关注 (0)
  • 查看 (149)

我之前另外一台安装的时候就可以.不知道咋回事.我把安装日志发出来,求技术高手们分析下原因,貌似没有安装curl 但是我装了还是不行

Configuring extensionschecking size of long... (cached) 8checking size of int... (cached) 4checking for int32_t... yeschecking for uint32_t... yeschecking for sys/types.h... (cached) yeschecking for inttypes.h... (cached) yeschecking for stdint.h... (cached) yeschecking for string.h... (cached) yeschecking for stdlib.h... (cached) yeschecking for strtoll... yeschecking for atoll... yeschecking for strftime... (cached) yeschecking which regex library to use... phpchecking whether to enable LIBXML support... yeschecking libxml2 install dir... /usrchecking for xml2-config path... /usr/bin/xml2-configchecking whether libxml build works... yeschecking for OpenSSL support... yeschecking for Kerberos support... nochecking for DSA_get_default_method in -lssl... yeschecking for X509_free in -lcrypto... yeschecking for RAND_egd... nochecking for pkg-config... /usr/bin/pkg-configchecking for PCRE library to use... bundledchecking whether to enable the SQLite3 extension... yeschecking bundled sqlite3 library... yeschecking for ZLIB support... yeschecking if the location of ZLIB install directory is defined... nochecking for zlib version >= 1.2.0.4... 1.2.7checking for gzgets in -lz... yeschecking whether to enable bc style precision math functions... yeschecking for BZip2 support... nochecking whether to enable calendar conversion support... nochecking whether to enable ctype functions... yeschecking for cURL support... yeschecking for cURL in default path... not foundconfigure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/make: *** No targets specified and no makefile found.  Stop.make: *** No rule to make target `install'.  Stop.
gather nutgather nut提问于
gather nut回答于

别个分析是

libcurl4-gnutls-dev的包没安装上造成的

但是我本地无法手动 apt-get 安装这个包哇?

apt-get install libkrb5-dev libcurl4-gnutls-dev

814487939回答于

题主,这个应该是这里的错误,configure: error: Please reinstall the libcurl distribution -

easy.h should be in <curl-dir>/include/curl/。

扫码关注云+社区

领取腾讯云代金券