LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1595|回复: 26

emerge的xpdf中竟然没有xpdf命令?

[复制链接]
发表于 2005-6-4 20:51:02 | 显示全部楼层 |阅读模式
  1. [leo@leo asm]$ qpkg -l xpdf
  2. app-text/xpdf-3.00-r8 *
  3. CONTENTS:
  4. /etc
  5. /etc/xpdfrc
  6. /usr
  7. /usr/bin
  8. /usr/bin/pdffonts
  9. /usr/bin/pdfimages
  10. /usr/bin/pdfinfo
  11. /usr/bin/pdftops
  12. /usr/bin/pdftotext
  13. /usr/share
  14. /usr/share/doc
  15. /usr/share/doc/xpdf-3.00-r8
  16. /usr/share/doc/xpdf-3.00-r8/ANNOUNCE.gz
  17. /usr/share/doc/xpdf-3.00-r8/CHANGES.gz
  18. /usr/share/doc/xpdf-3.00-r8/README.gz
  19. /usr/share/man
  20. /usr/share/man/man1
  21. /usr/share/man/man1/pdffonts.1.gz
  22. /usr/share/man/man1/pdfimages.1.gz
  23. /usr/share/man/man1/pdfinfo.1.gz
  24. /usr/share/man/man1/pdftops.1.gz
  25. /usr/share/man/man1/pdftotext.1.gz
  26. /usr/share/man/man5
  27. /usr/share/man/man5/xpdfrc.5.gz
  28. /usr/share/xpdf
  29. /usr/share/xpdf/chinese-simplified
  30. /usr/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
  31. /usr/share/xpdf/chinese-simplified/CMap
  32. /usr/share/xpdf/chinese-simplified/CMap/Adobe-GB1-0
  33. /usr/share/xpdf/chinese-simplified/CMap/Adobe-GB1-1
  34. /usr/share/xpdf/chinese-simplified/CMap/Adobe-GB1-2
  35. /usr/share/xpdf/chinese-simplified/CMap/Adobe-GB1-3
  36. /usr/share/xpdf/chinese-simplified/CMap/Adobe-GB1-4
  37. /usr/share/xpdf/chinese-simplified/CMap/Adobe-GB1-UCS2
  38. /usr/share/xpdf/chinese-simplified/CMap/GB-EUC-H
  39. /usr/share/xpdf/chinese-simplified/CMap/GB-EUC-V
  40. /usr/share/xpdf/chinese-simplified/CMap/GB-H
  41. /usr/share/xpdf/chinese-simplified/CMap/GB-V
  42. /usr/share/xpdf/chinese-simplified/CMap/GBK-EUC-H
  43. /usr/share/xpdf/chinese-simplified/CMap/GBK-EUC-UCS2
  44. /usr/share/xpdf/chinese-simplified/CMap/GBK-EUC-V
  45. /usr/share/xpdf/chinese-simplified/CMap/GBK2K-H
  46. /usr/share/xpdf/chinese-simplified/CMap/GBK2K-V
  47. /usr/share/xpdf/chinese-simplified/CMap/GBKp-EUC-H
  48. /usr/share/xpdf/chinese-simplified/CMap/GBKp-EUC-V
  49. /usr/share/xpdf/chinese-simplified/CMap/GBT-EUC-H
  50. /usr/share/xpdf/chinese-simplified/CMap/GBT-EUC-V
  51. /usr/share/xpdf/chinese-simplified/CMap/GBT-H
  52. /usr/share/xpdf/chinese-simplified/CMap/GBT-V
  53. /usr/share/xpdf/chinese-simplified/CMap/GBTpc-EUC-H
  54. /usr/share/xpdf/chinese-simplified/CMap/GBTpc-EUC-V
  55. /usr/share/xpdf/chinese-simplified/CMap/GBpc-EUC-H
  56. /usr/share/xpdf/chinese-simplified/CMap/GBpc-EUC-UCS2
  57. /usr/share/xpdf/chinese-simplified/CMap/GBpc-EUC-UCS2C
  58. /usr/share/xpdf/chinese-simplified/CMap/GBpc-EUC-V
  59. /usr/share/xpdf/chinese-simplified/CMap/UniGB-UCS2-H
  60. /usr/share/xpdf/chinese-simplified/CMap/UniGB-UCS2-V
  61. /usr/share/xpdf/chinese-simplified/CMap/UniGB-UTF8-H
  62. /usr/share/xpdf/chinese-simplified/CMap/UniGB-UTF8-V
  63. /usr/share/xpdf/chinese-simplified/EUC-CN.unicodeMap
  64. /usr/share/xpdf/chinese-simplified/GBK.unicodeMap
  65. /usr/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap

复制代码

怎么用呢?
发表于 2005-6-4 21:01:10 | 显示全部楼层
xpdf不好用,去adobe的网站下个acrobat reader 7。0 for linux吧,完美支持pdf,完美支持中文,呵呵
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-4 21:20:19 | 显示全部楼层
Post by meteoren
xpdf不好用,去adobe的网站下个acrobat reader 7。0 for linux吧,完美支持pdf,完美支持中文,呵呵

acroread我有,老莫名奇妙的退出。
我还strace了一下,但就是看不出哪儿出了问题
  1. gettimeofday({1117845265, 942918}, NULL) = 0
  2. lseek(24, 33437, SEEK_SET)              = 33437
  3. read(24, "119 0 obj\r<< /Filter /FlateDecod"..., 4096) = 4096
  4. lseek(24, 29698, SEEK_SET)              = 29698
  5. read(24, "109 0 obj\r2373 \rendobj\r110 0 obj"..., 4096) = 4096
  6. lseek(24, 33499, SEEK_SET)              = 33499
  7. read(24, "#4\n\272.\35J\246\222\246wq\34#\27\260w\2405G\227{4aW|"..., 2373) = 2373
  8. write(3, "H\2H\1\264\7\0\2\267\7\0\2\16\0\27\0\337\1 \0\0\30\5\0"..., 1312) = 1312
  9. write(3, "H\2~\4\264\7\0\2\267\7\0\0024\0\26\0\302\0019\0\0\30\5"..., 4600) = 4600
  10. gettimeofday({1117845265, 945329}, NULL) = 0
  11. gettimeofday({1117845265, 946093}, NULL) = 0
  12. stat64("/root/psres", 0xbfffda54)       = -1 ENOENT (No such file or directory)
  13. open("/root/psres/PSres.upr", O_RDONLY) = -1 ENOENT (No such file or directory)
  14. open("/root/psres", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
  15. stat64("/root/fonts", 0xbfffda54)       = -1 ENOENT (No such file or directory)
  16. open("/root/fonts/PSres.upr", O_RDONLY) = -1 ENOENT (No such file or directory)
  17. open("/root/fonts", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
  18. stat64("/usr/psres", 0xbfffda54)        = -1 ENOENT (No such file or directory)
  19. open("/usr/psres/PSres.upr", O_RDONLY)  = -1 ENOENT (No such file or directory)
  20. open("/usr/psres", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
  21. open("/opt/Acrobat7/Reader/../Resource/CMap/GBpc-EUC-H.cmap", O_RDONLY) = -1 ENOENT (No such file or directory)
  22. open("/opt/Acrobat7/Reader/../Resource/CMap/GBpc-EUC-H", O_RDONLY) = -1 ENOENT (No such file or directory)
  23. open("/opt/Acrobat7/Reader/../Resource/GBpc-EUC-H.cmap", O_RDONLY) = -1 ENOENT (No such file or directory)
  24. open("/opt/Acrobat7/Reader/../Resource/GBpc-EUC-H", O_RDONLY) = -1 ENOENT (No such file or directory)
  25. futex(0x4097ec84, FUTEX_WAKE, 2147483647) = 0
  26. futex(0x4097ee28, FUTEX_WAKE, 2147483647) = 0
  27. gettimeofday({1117845265, 957846}, NULL) = 0
  28. gettimeofday({1117845265, 958094}, NULL) = 0
  29. gettimeofday({1117845265, 958142}, NULL) = 0
  30. write(3, "8\2\4\0\267\7\0\2\4\0\0\0\0\200\377\0F\1\5\0\264\7\0\2"..., 52) = 52
  31. read(3, "\1\0\214\222\3\0\0\0!\0\0\0\1\0\1\1\377\377\377\377\0\0"..., 32) = 32
  32. read(3, "3\200\342\0003\200b\0\0\0b\10", 12) = 12
  33. read(3, "\1\30\215\222\0\0\0\0\217\0\0\0\0\0\0\0008\3\267\2\0\0"..., 32) = 32
  34. write(3, "5\1\4\0\272\7\0\2\217\0\0\0\20\0\20\0007\1\4\0\273\7\0"..., 268) = 268
  35. read(3, "\1\334\226\222\2\0\0\0\1\0\0\2`\312r\10\0\21\323E\0\0\0"..., 32) = 32
  36. read(3, "\0\0\0\0\0\0\0\0", 8)          = 8
  37. write(3, "[\1\3\0 \0\0\0\377\377\377\0", 12) = 12
  38. read(3, "\1\0\227\222\2\0\0\0\1\0\0\0\17\354\16\10\340\31\202\10"..., 32) = 32
  39. read(3, "\377\377\377\377\377\377\0\0", 8) = 8
  40. open("/root/.cursors/gentoo-blue/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  41. open("/root/.cursors/gentoo-blue/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
  42. open("/root/.icons/gentoo-blue/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  43. open("/root/.icons/gentoo-blue/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
  44. open("/usr/local/share/cursors/xorg-x11/gentoo-blue/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  45. open("/usr/local/share/cursors/xorg-x11/gentoo-blue/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
  46. open("/usr/share/cursors/xorg-x11/gentoo-blue/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  47. open("/usr/share/cursors/xorg-x11/gentoo-blue/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
  48. open("/usr/share/pixmaps/xorg-x11/gentoo-blue/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  49. open("/usr/share/pixmaps/xorg-x11/gentoo-blue/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
  50. open("/root/.cursors/default/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  51. open("/root/.cursors/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
  52. open("/root/.icons/default/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  53. open("/root/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
  54. open("/usr/local/share/cursors/xorg-x11/default/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  55. open("/usr/local/share/cursors/xorg-x11/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
  56. open("/usr/share/cursors/xorg-x11/default/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  57. open("/usr/share/cursors/xorg-x11/default/index.theme", O_RDONLY) = 25
  58. fstat64(25, {st_mode=S_IFREG|0755, st_size=27, ...}) = 0
  59. mmap2(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x45694000
  60. read(25, "[Icon Theme]\nInherits=core\n", 65536) = 27
  61. close(25)                               = 0
  62. munmap(0x45694000, 65536)               = 0
  63. open("/usr/share/pixmaps/xorg-x11/default/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  64. open("/root/.cursors/core/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  65. open("/root/.cursors/core/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
  66. open("/root/.icons/core/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  67. open("/root/.icons/core/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
  68. open("/usr/local/share/cursors/xorg-x11/core/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  69. open("/usr/local/share/cursors/xorg-x11/core/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
  70. open("/usr/share/cursors/xorg-x11/core/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  71. open("/usr/share/cursors/xorg-x11/core/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
  72. open("/usr/share/pixmaps/xorg-x11/core/cursors/39e6b3cfafdcd7b8a7716fe65ef99c73", O_RDONLY) = -1 ENOENT (No such file or directory)
  73. open("/usr/share/pixmaps/xorg-x11/core/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
  74. write(3, "]\1\10\0\276\7\0\2\272\7\0\2\274\7\0\2\0\0\0\0\0\0\377"..., 48) = 48
  75. write(3, "\3\1\2\0\3\0\0\2\16\7\2\0\3\0\0\2", 16) = 16
  76. read(3, "\1\0\232\222\3\0\0\0!\0\0\0\1\0\1\1\377\377\377\377\0\0"..., 32) = 32
  77. read(3, "3\200\342\0003\200b\0\0\0b\10", 12) = 12
  78. read(3, "\1\30\233\222\0\0\0\0\217\0\0\0\0\0\0\0008\3\267\2\0\0"..., 32) = 32
  79. write(3, "\2\1\4\0\3\0\0\2\0@\0\0!\2\0\2", 16) = 16
  80. --- SIGSEGV (Segmentation fault) @ 0 (0) ---
  81. exit_group(1)                           = ?
复制代码
回复 支持 反对

使用道具 举报

发表于 2005-6-4 22:30:11 | 显示全部楼层
记得偶也遇到过这个问题。你emerge -pv xpdf一下,好像是要把某个flag改一下。应该是+openmotif。不知道emerge gpdf 可以不可以,没用过。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-4 23:33:04 | 显示全部楼层

  1. $ emerge xpdf -pv

  2. These are the packages that I would merge, in order:

  3. Calculating dependencies ...done!
  4. [ebuild   R   ] app-text/xpdf-3.00-r8  +motif -nodrm 0 kB
复制代码

没有openmotif的USE啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-4 23:47:40 | 显示全部楼层
gpdf功能弱了点,但还可以凑合
谢谢兄弟
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-4 23:50:35 | 显示全部楼层
ft
竟然不支持中文,中文全乱码
回复 支持 反对

使用道具 举报

发表于 2005-6-5 01:16:50 | 显示全部楼层
有些ebuild是这样,编译完再帮你把所有生成的东西包括删掉。
我编译HelixPlayer就是这样, 在/opt/只有一个空文件夹
回复 支持 反对

使用道具 举报

发表于 2005-6-5 09:59:28 | 显示全部楼层
我的xpdf就可以用阿,输入xpdf的命令就出来了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-5 10:25:57 | 显示全部楼层
我以前是可以的,这次升级了一下,没想到就出了这种奇怪的问题
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表