Hi, I try to using next cloud on my openwrt device. And the next cloud needs php-mod-curl. I could not find this package in lede. My device is Sunxi (A 20). and I try to Compile it myself but it have errors below:
configure: error: Cannot find OpenSSL's <evp.h>
make[2]: *** [/opt/source/sunxi/lede-sdk-17.01.4-sunxi_gcc-5.4.0_musl-1.1.16_eabi.Linux-x86_64/build_dir/target-arm_cortex-a8+vfpv3_musl-1.1.16_eabi/php-7.1.1/.configured_nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnyynyn] Error 1
I had been installed openssl-dev on my environment. I had tried ubuntu 12 14 Debian 9 and also installed openssl-dev openssl in the above three os. but still the same.
I look at the php make file:
ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-openssl),)
CONFIGURE_ARGS+= \
--with-openssl=shared,"$(STAGING_DIR)/usr" \
--with-kerberos=no \
--with-openssl-dir="$(STAGING_DIR)/usr"
else
CONFIGURE_ARGS+= --without-openssl
endif
and in the staging_dir mkdir /usr/include and link
/usr/include/openssl in that folder but still error.
can someone help me ? or tell me how to download php7-mod-curl ? thanks .