分页: 4 / 14

Re: 强烈推荐:Goldendict 及其词典详述(4 月 24 日更新)

发表于 : 2010-05-17 21:04
sonofthewind
顶起 :em11

Re: 强烈推荐:Goldendict 及其词典详述(4 月 24 日更新)

发表于 : 2010-05-21 15:00
A_J19
:~/goldendict$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: 源码包 goldendict
dpkg-buildpackage: 源码版本 0.9.1~git20100424
dpkg-buildpackage: 源码修改者 Vikram Dhillon <dhillonv10@gmail.com>
dpkg-buildpackage: 主机架构 i386
fakeroot debian/rules clean
test -x debian/rules
dh_testroot
rmdir src
rmdir: 删除 “src” 失败: 目录非空
make: [cleanbuilddir] 错误 1 (忽略)
/usr/bin/make -C src -k distclean
make[1]: 正在进入目录 `/home/lsj/goldendict/src'
make[1]: *** 没有规则可以创建目标“distclean”.
make[1]:正在离开目录 `/home/lsj/goldendict/src'
make: [makefile-clean] 错误 2 (忽略)
rm -f debian/stamp-makefile-build
dh_clean
rm -f src/Makefile src/.qmake.internal.cache
/usr/bin/make -f debian/rules reverse-config
make[1]: 正在进入目录 `/home/lsj/goldendict'
make[1]: 没有什么可以做的为 `reverse-config'。
make[1]:正在离开目录 `/home/lsj/goldendict'
if [ "reverse-patches" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi
patches: debian/patches/desktop.category.patch debian/patches/disable_unneed_control.patch debian/patches/goldendict-wordnet.path.patch debian/patches/instdir.patch
Trying reverse patch debian/patches/instdir.patch at level 1 ... 0 ... success.
Trying reverse patch debian/patches/goldendict-wordnet.path.patch at level 1 ... success.
Trying reverse patch debian/patches/disable_unneed_control.patch at level 1 ... 0 ... success.
Trying reverse patch debian/patches/desktop.category.patch at level 1 ... 0 ... success.
if [ "reverse-patches" != "reverse-patches" ]; then touch debian/stamp-patched; fi
if [ "reverse-patches" != "reverse-patches" ] ; then \
/usr/bin/make -f debian/rules update-config ; \
fi
for dir in debian/patches ; do \
rm -f $dir/*.log ; \
done
rm -f debian/goldendict.1
dpkg-source -b goldendict
dpkg-source: info: using source format `1.0'
dpkg-source: 警告: source directory 'goldendict' is not <sourcepackage>-<upstreamversion> 'goldendict-0.9.1~git20100424'
dpkg-source: info: building goldendict in goldendict_0.9.1~git20100424.tar.gz
dpkg-source: info: building goldendict in goldendict_0.9.1~git20100424.dsc
debian/rules build
test -x debian/rules
mkdir -p "src"
/usr/bin/make -f debian/rules reverse-config
make[1]: 正在进入目录 `/home/lsj/goldendict'
make[1]: 没有什么可以做的为 `reverse-config'。
make[1]:正在离开目录 `/home/lsj/goldendict'
if [ "debian/stamp-patched" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi
patches: debian/patches/desktop.category.patch debian/patches/disable_unneed_control.patch debian/patches/goldendict-wordnet.path.patch debian/patches/instdir.patch
Trying patch debian/patches/desktop.category.patch at level 1 ... 0 ... success.
Trying patch debian/patches/disable_unneed_control.patch at level 1 ... 0 ... success.
Trying patch debian/patches/goldendict-wordnet.path.patch at level 1 ... success.
Trying patch debian/patches/instdir.patch at level 1 ... 0 ... success.
if [ "debian/stamp-patched" != "reverse-patches" ]; then touch debian/stamp-patched; fi
if [ "debian/stamp-patched" != "reverse-patches" ] ; then \
/usr/bin/make -f debian/rules update-config ; \
fi
make[1]: 正在进入目录 `/home/lsj/goldendict'
make[1]: 没有什么可以做的为 `update-config'。
make[1]:正在离开目录 `/home/lsj/goldendict'
cd src && qmake-qt4 'QMAKE_CC = cc' 'QMAKE_CXX = g++' 'QMAKE_CFLAGS_RELEASE = -g -O2 -g -Wall -O2' 'QMAKE_CXXFLAGS_RELEASE = -g -O2 -g -Wall -O2'
Project ERROR: Repository moved to Gitorious. Sorry for the trouble, we promise it's the last transition! The new url is git://gitorious.org/goldendict/goldendict.git
make: *** [src/Makefile] 错误 2
dpkg-buildpackage: 错误: debian/rules build 提供错误退出状态 2

求解...谢谢...

Re: 强烈推荐:Goldendict 及其词典详述(4 月 24 日更新)

发表于 : 2010-05-22 20:35
wanglie21cn
A_J19 写了::~/goldendict$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: 源码包 goldendict
dpkg-buildpackage: 源码版本 0.9.1~git20100424
dpkg-buildpackage: 源码修改者 Vikram Dhillon <dhillonv10@gmail.com>
dpkg-buildpackage: 主机架构 i386
fakeroot debian/rules clean
test -x debian/rules
dh_testroot
rmdir src
rmdir: 删除 “src” 失败: 目录非空
make: [cleanbuilddir] 错误 1 (忽略)
/usr/bin/make -C src -k distclean
make[1]: 正在进入目录 `/home/lsj/goldendict/src'
make[1]: *** 没有规则可以创建目标“distclean”.
make[1]:正在离开目录 `/home/lsj/goldendict/src'
make: [makefile-clean] 错误 2 (忽略)
rm -f debian/stamp-makefile-build
dh_clean
rm -f src/Makefile src/.qmake.internal.cache
/usr/bin/make -f debian/rules reverse-config
make[1]: 正在进入目录 `/home/lsj/goldendict'
make[1]: 没有什么可以做的为 `reverse-config'。
make[1]:正在离开目录 `/home/lsj/goldendict'
if [ "reverse-patches" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi
patches: debian/patches/desktop.category.patch debian/patches/disable_unneed_control.patch debian/patches/goldendict-wordnet.path.patch debian/patches/instdir.patch
Trying reverse patch debian/patches/instdir.patch at level 1 ... 0 ... success.
Trying reverse patch debian/patches/goldendict-wordnet.path.patch at level 1 ... success.
Trying reverse patch debian/patches/disable_unneed_control.patch at level 1 ... 0 ... success.
Trying reverse patch debian/patches/desktop.category.patch at level 1 ... 0 ... success.
if [ "reverse-patches" != "reverse-patches" ]; then touch debian/stamp-patched; fi
if [ "reverse-patches" != "reverse-patches" ] ; then \
/usr/bin/make -f debian/rules update-config ; \
fi
for dir in debian/patches ; do \
rm -f $dir/*.log ; \
done
rm -f debian/goldendict.1
dpkg-source -b goldendict
dpkg-source: info: using source format `1.0'
dpkg-source: 警告: source directory 'goldendict' is not <sourcepackage>-<upstreamversion> 'goldendict-0.9.1~git20100424'
dpkg-source: info: building goldendict in goldendict_0.9.1~git20100424.tar.gz
dpkg-source: info: building goldendict in goldendict_0.9.1~git20100424.dsc
debian/rules build
test -x debian/rules
mkdir -p "src"
/usr/bin/make -f debian/rules reverse-config
make[1]: 正在进入目录 `/home/lsj/goldendict'
make[1]: 没有什么可以做的为 `reverse-config'。
make[1]:正在离开目录 `/home/lsj/goldendict'
if [ "debian/stamp-patched" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi
patches: debian/patches/desktop.category.patch debian/patches/disable_unneed_control.patch debian/patches/goldendict-wordnet.path.patch debian/patches/instdir.patch
Trying patch debian/patches/desktop.category.patch at level 1 ... 0 ... success.
Trying patch debian/patches/disable_unneed_control.patch at level 1 ... 0 ... success.
Trying patch debian/patches/goldendict-wordnet.path.patch at level 1 ... success.
Trying patch debian/patches/instdir.patch at level 1 ... 0 ... success.
if [ "debian/stamp-patched" != "reverse-patches" ]; then touch debian/stamp-patched; fi
if [ "debian/stamp-patched" != "reverse-patches" ] ; then \
/usr/bin/make -f debian/rules update-config ; \
fi
make[1]: 正在进入目录 `/home/lsj/goldendict'
make[1]: 没有什么可以做的为 `update-config'。
make[1]:正在离开目录 `/home/lsj/goldendict'
cd src && qmake-qt4 'QMAKE_CC = cc' 'QMAKE_CXX = g++' 'QMAKE_CFLAGS_RELEASE = -g -O2 -g -Wall -O2' 'QMAKE_CXXFLAGS_RELEASE = -g -O2 -g -Wall -O2'
Project ERROR: Repository moved to Gitorious. Sorry for the trouble, we promise it's the last transition! The new url is git://gitorious.org/goldendict/goldendict.git
make: *** [src/Makefile] 错误 2
dpkg-buildpackage: 错误: debian/rules build 提供错误退出状态 2

求解...谢谢...
最近的git源码更改了目录结构:
ikm pushed ab88fa48 to goldendict/goldendict:master
on May 15, 2010 12:42
Drop the src/ directory. It's superfluous.
我觉得,没必要生成deb包,直接编译安装就好。

代码: 全选

$ git clone git://gitorious.org/goldendict/goldendict.git
$ cd goldendict && qmake && make 
$ sudo make install

Re: 强烈推荐:Goldendict 及其词典详述(4 月 24 日更新)

发表于 : 2010-05-23 9:59
anewbie
A_J19 写了: make: *** [src/Makefile] 错误 2
dpkg-buildpackage: 错误: debian/rules build 提供错误退出状态 2

求解...谢谢...
请参考更新后的首贴。

Re: 强烈推荐:Goldendict 及其词典详述(5 月 23 日更新)

发表于 : 2010-05-23 13:56
wangdu2002
多谢楼主。。。刚装上git的最新版本。。。正在下楼主强烈推荐的朗文字典回来长点见识。。。 :em04
放狗找到了种子文件,3.2G。。。才几个连接。。。要下好几天啊。。。 :em20

Re: 强烈推荐:Goldendict 及其词典详述(5 月 23 日更新)

发表于 : 2010-05-26 9:38
zzd@ubuntu
zhouzd@zhouzd-laptop:~$ sudo tar -jxvf new_debian.tar.bz2
debian/
debian/patches/
debian/goldendict.pod
debian/goldendict.install
debian/changelog
debian/copyright
debian/watch
debian/rules
debian/compat
debian/control
debian/goldendict.manpages
debian/patches/desktop.category.patch
debian/patches/instdir.patch
debian/patches/goldendict-wordnet.path.patch
debian/patches/disable_unneed_control.patch
zhouzd@zhouzd-laptop:~$ sudo apt-get install git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
git-core is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
zhouzd@zhouzd-laptop:~$ cd ~/
zhouzd@zhouzd-laptop:~$ git clone git://gitorious.org/goldendict/goldendict.git
fatal: destination directory 'goldendict' already exists.
zhouzd@zhouzd-laptop:~$ mv debian /home/zhouzd/goldendict
zhouzd@zhouzd-laptop:~$ cd ~/
zhouzd@zhouzd-laptop:~$ cp -r goldendict goldendict_bak
zhouzd@zhouzd-laptop:~$ cd ~/goldendict
zhouzd@zhouzd-laptop:~/goldendict$ rm -rf .git
zhouzd@zhouzd-laptop:~/goldendict$ sudo apt-get build-dep goldendict
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for golden
zhouzd@zhouzd-laptop:~/goldendict$ sudo apt-get install libqt4-phonon-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libqt4-phonon-dev
版主这是何解????烦恼了好久了

Re: 强烈推荐:Goldendict 及其词典详述(5 月 23 日更新)

发表于 : 2010-05-26 16:17
anewbie
zzd@ubuntu 写了:zhouzd@zhouzd-laptop:~$ git clone git://gitorious.org/goldendict/goldendict.git
fatal: destination directory 'goldendict' already exists.
看到那刺眼的 "fatal"没?这儿已经出错了,执行 "git clone" 之前,请先删去 goldendict 和 goldendict_bak 目录,再按安装篇第 2, 3 点做一次,刚首贴中更新作了说明。注意,此命令成功执行一次就够了,以后要升级直接奔安装篇第 5 点去就成了。
zzd@ubuntu 写了:zhouzd@zhouzd-laptop:~/goldendict$ sudo apt-get build-dep goldendict
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for golden
zhouzd@zhouzd-laptop:~/goldendict$ sudo apt-get install libqt4-phonon-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libqt4-phonon-dev
这两个错误是因为你用的 ubuntu 的版本太老,至少是 9.04 或更早,源里没有相应的软件包。解决办法除升级系统以外只有利用 ppa 源,前面的贴子我回答过一相同问题,自个儿找找吧。

Re: 强烈推荐:Goldendict 及其词典详述(5 月 26 日更新)

发表于 : 2010-05-27 20:23
zzd@ubuntu
谢谢版主的热心回复,我的是ubuntu8.10版本,用的不错就没有升级系统,再者我是新手呵呵,用linux系统也有一段时间了但是知识没啥长进,好多问题出现了只有求助,自己搞不定,还望版主海涵。。。。。。。。。。呵呵谢谢你

Re: 强烈推荐:Goldendict 及其词典详述(5 月 26 日更新)

发表于 : 2010-05-29 20:38
mlc880926
可以使用GOOGLE翻译很不错哦
我查了下BAIDU和百度
GOOGLE都说查不到 :em04
一查GOOGLE,他说是世界知名搜索引擎 :em09

Re: 强烈推荐:Goldendict 及其词典详述(5 月 26 日更新)

发表于 : 2010-06-02 8:59
Crazier
mark

Re: 强烈推荐:Goldendict 及其词典详述(5 月 26 日更新)

发表于 : 2010-06-02 15:25
aloginka
没用过呵呵

Re: 强烈推荐:Goldendict 及其词典详述(5 月 26 日更新)

发表于 : 2010-06-03 9:13
未成仙
找大英百科
不果



恳请前辈不吝赐教 :em01

Re: 强烈推荐:Goldendict 及其词典详述(5 月 26 日更新)

发表于 : 2010-06-09 23:21
farheart
做好记号,正准备用 Goldendict,谢谢

如何压缩图片,声音文件?

发表于 : 2010-06-20 12:09
laomie
例如我韦氏字典目录下有如下文件和目录
1. En-En-MWCollegiate11.dsl 文件
2. images 目录 (存放所以的图片文件)
3. sounds 目录 (存放所有的wav文件)

我操作如下
---------------------------------------------------
1. 压缩dsl文件
$ dictzip En-En-MWCollegiate11.dsl

2. 将图片文件,声音文件放到同一目录
$ mv ./image/* ./sounds
$ mv sounds En-En-MWCollegiate11.dsl.files

3. 压缩图片,声音文件
$ zip -r En-En-MWCollegiate11.dsl.files.zip En-En-MWCollegiate11.dsl.files

-----------------------------------------------------

以上操作后,图片,声音均无效。如只压缩dsl文件,不压缩图片,声音文件,而将它的目录命名为 En-En-MWCollegiate11.dsl.gz.files ,
这时图片,声音文件都有效。

请问, 我如何才能将图片,声音文件压缩成一个文件,并让它有效?

(注:goldendict 按1楼介绍从git取最新代码【2010/06/16】生成deb文件后安装)

Re: 强烈推荐:Goldendict 及其词典详述(5 月 26 日更新)

发表于 : 2010-06-20 12:45
anewbie
未成仙 写了:找大英百科
不果
恳请前辈不吝赐教 :em01
我记得当时应该是在 ru-board 上找到的。