New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

官网下载下来还是 1.4.9 的,github下载的1.4.11release包只有几百k? #48

Open
henryatman opened this Issue Dec 27, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@henryatman

henryatman commented Dec 27, 2017

No description provided.

@henryatman

This comment has been minimized.

henryatman commented Dec 27, 2017

通过历史包下载找到了1.4.11 的包,但是mac 安装始终有问题,
最终通过改安装文件通过,把libevent 安装参数里设置好了禁止 openssl,

其实我的电脑已经安装过 libevent 和 openssl 并且已经 brew link了,还是会重复安装

另外,我也尝试过设置指定 libevent 路径参数,提示我版本不正确需要2.0 或更高版本,我本地的肯定更高,

本地情况
libevent: stable 2.1.8
openssl: stable 1.0.2

不知道具体安装逻辑是怎么判断的,当这里面肯定是有bug的(也许判断了是否是 2.0.x?)
终于安装好了,踩了一上午的坑,希望后来者看到少踩坑,

希望作者看到可以修复下bug

最后,btw,Xapian 1.4.5 released 最新是 1.4.5了,作者有空是不是可以更新下

对了,现在php标配基本上都是 laravel,官方能适配下 laravel 的sdk 么?

感谢 hightman ~

@fundawang

This comment has been minimized.

fundawang commented Jan 15, 2018

libevent 的依赖判断实际上太死了。由于 libevent 2.0 本身有pkgconfig的支持,在类Linux/macOS的系统里,完全可以用pkgconfig来进行测试。

我猜测是configure.ac中引用的库不够,目前好像只检测了event_core。很有可能在libevent 2.1 中,event_core会有cross reference 到其他的库,导致检测失败。

@fundawang

This comment has been minimized.

fundawang commented Jan 18, 2018

configure.ac.patch.gz

@hightman 请考虑merge 这个patch,已经换用了新的pkgconfig来进行包的检测。同时可以支持libevent 2.1。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment