我正在尝试让 google 的 ios webkit 调试代理在我的笔记本电脑上运行,运行 ubuntu 15.04。
https://github.com/google/ios-webkit-debug-proxy
我已尽我所能按照他们的安装说明进行操作。但是,我是 Web 开发和 Linux 的新手,在运行 ./autogen.sh
的步骤中遇到了问题。
它运行了一段时间的检查,但随后我从终端收到以下错误:
checking for libimobiledevice... no configure: error: Package requirements (libimobiledevice-1.0 >= 1.2.0) were not met:
Requested 'libimobiledevice-1.0 >= 1.2.0' but version of libimobiledevice is 1.1.6
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables libimobiledevice_CFLAGS and libimobiledevice_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
我已经尝试过自行解决此问题,但无法弄清楚。
有人熟悉这个错误以及它要我做什么吗?是我的文件路径搞砸了还是我需要不同版本的 libimobiledevice(我相信我有最新版本)?
最佳答案
如错误所述,您需要 libimobiledevice 1.2 或更高版本。从源代码编译它是一个解决方案:
- 下载 libimobiledevice 1.2:http://www.libimobiledevice.org/downloads/libimobiledevice-1.2.0.tar.bz2
- 提取:
tar xf libimobiledevice-1.2.0.tar.bz2
cd libimobiledevice-1.2.0
./configure
制作
sudo make install
您现在应该能够成功构建 ios-webkit-debug-proxy。
之后您可能需要运行 sudo ldconfig
来更新库缓存。
关于ios - 安装谷歌的 ios-webkit-debug-proxy,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32173312/