zhtmltopdf icon indicating copy to clipboard operation
zhtmltopdf copied to clipboard

mac 10.9.3/php 5.4.24 configure: error: wkhtmltox/include no found 2

Open ghost opened this issue 10 years ago • 6 comments

configure: error: wkhtmltox/include no found 2

ghost avatar Jun 04 '14 01:06 ghost

我也遇到这个问题了,有什么好的解决方法吗?

xmcase avatar Jun 04 '14 02:06 xmcase

same as u guys above ... ... checking for wkhtmltopdf_init in -lwkhtmltox... no configure: error: wkhtmltox/include no found 2

yourNameIsGood avatar Jun 04 '14 07:06 yourNameIsGood

我也遇到这个问题了,同求解决方案!

easydo avatar Jun 05 '14 03:06 easydo

同上。

sunchuo avatar Jun 05 '14 05:06 sunchuo

一、线上服务器乱码解决:

主要是缺少字体,可以把本地的中文字体copy到服务器上 /usr/share/fonts/chinese/TrueType目录下

二、mac等系统编译问题 (自带的so是在linux amd64 下编译的)

  1. 去:https://github.com/wkhtmltopdf/wkhtmltopdf 下载,然后编译安装到xxx目录,

2)安装扩展时 ./configure --with-wkhtmltox-dir=xxx (xxx为1里wkhtmltopdf的安装目录)

shenzhe avatar Jun 05 '14 06:06 shenzhe

你们的问题都解决了吗?我的服务是linux amd64,但是还是有这个问题!

easydo avatar Jun 06 '14 00:06 easydo