- 论坛徽章:
- 0
|
本帖最后由 crzyfish 于 2010-02-22 14:08 编辑
大家好,问个问题~
请帮忙看一下有没有解决方法,或者如何在不重装下更新x11.
我的服务器没有安装X的,更新ImageMagick-6.4.5.6-no_x11.tgz后,discuz一直用不了ImageMagick。
更新日志如下:
# pkg_add ImageMagick-6.4.5.6-no_x11.tgz
bzip2-1.0.5: complete
jasper-1.900.1p0: complete
jbigkit-1.6p1: complete
lcms-1.18a:tiff-3.8.2p4: complete
lcms-1.18a: complete
netpbm-10.26.57: complete
ghostscript-8.63p7-no_x11:ghostscript-fonts-8.11p0: complete
ghostscript-8.63p7-no_x11:ijs-0.35: complete
ghostscript-8.63p7-no_x11: complete
ImageMagick-6.4.5.6-no_x11: complete
You may wish to update your font path for /usr/local/share/ghostscript/fonts
/usr/X11R6/bin/mkfontscale not found
/usr/X11R6/bin/mkfontdir not found
/usr/X11R6/bin/fc-cache not found
--- ghostscript-fonts-8.11p0 -------------------
To install these fonts for X11, just make sure that the fontpath
lists the 75dpi or 100dpi bitmap fonts before the ghostscript fonts,
and make sure you have the string ":unscaled" appended to the bitmap
font's fontpath. This way, the bitmap fonts will be used if they
match, and the Type 1 versions will be used if the font needs to be
scaled. Below is the relevant section from a typical xorg.conf file.
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/local/lib/X11/fonts/ghostscript/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
使用discuz设置图片附件功能,开启GD方式是正常的,
但是ImageMagick失败。
路径用usr/local/bin 和 usr/local/bin/convert 都试过了……
|
|