|

楼主 |
发表于 2015-9-1 16:48:40
|
显示全部楼层
本帖最后由 Oeasy 于 2015-9-1 17:38 编辑 ! J" t. _0 i' ]7 [7 K5 N ^; T2 Z
chacha125 发表于 2015-9-1 15:21
# R+ y- b+ i1 z1 @0 N3 ~顺便借楼把Ubuntu和Windows下自己发现的明显区别补充一下,估计linux应该也一样吧。" M# S6 n: C/ D' B4 t9 z
Ubuntu下的goldendict ...
' a9 d% n z2 H) s8 f- S% I2 A
) R5 W: n; f/ E* u, I0 {- \3 i1 r) D' S, @
2 G* `3 g9 b7 I; z, n2014 年 4 月之后的 GoldenDict 才支持全文搜索,版本号要大于 goldendict-1.5.0-RC-314-g948db01 才行,如果你是直接在其它地方下载别人 build 好的安装包,版本号可能小于这个,会不会是需要自己 build 一下?如果你是按照这里 https://github.com/goldendict/goldendict 步骤自行 build 得到的最新版,那就比较诡异了。
# Y0 H" V7 J0 q1 V3 q# C- y/ l' r7 _Installing External Deps on Ubuntu Linux
! F5 L/ p5 ]0 {# _9 Q- |, G8 V- r, v
sudo apt-get install git pkg-config build-essential qt4-qmake \! w6 z+ u. H# _ b# F& \2 M
libvorbis-dev zlib1g-dev libhunspell-dev x11proto-record-dev \: H$ }, z4 e. p; B3 \( N( m0 C
libqt4-dev libqtwebkit-dev libxtst-dev liblzo2-dev libbz2-dev \
$ c. ?- f% t; @ libao-dev libavutil-dev libavformat-dev libtiff5-dev libeb16-dev/ e# l& X, r/ h: L
How to build+ _/ w: ] H6 E2 x4 K4 c# r4 M. p
i% I+ Y' D! }0 ?
First, clone this repository, e.g.:
3 \1 q9 y) y3 Z2 G$ l
6 @; u( ?2 g F& ^- o# Ygit clone git://github.com/goldendict/goldendict.git. x+ f4 V( V: d6 b7 c4 T& ^ f& C
And then invoke qmake-qt4 and make:7 w- ^1 ?) z) d2 T( O: I
' N/ C- C) n6 N. i3 _- i1 o7 Q
cd goldendict && qmake-qt4 && make
S' Q$ E m. k4 e
7 `+ o( P) D; r6 ~$ m8 o c2 j: q) d& `注:我没在 Windows 以外的环境下用过,就是猜测下原因,因为我觉得没理由 Linux 下表现比 Windows 下差啊。, K! w2 ~1 X+ q# Q6 E
: ~$ r+ V; I. W) U2 ]6 P3 t4 @ |
|