如题:包安装
# pkg_add -v p5-GD
parsing p5-GD-2.41
Dependencies for p5-GD-2.41 resolve to: gd-2.0.35, libiconv-1.13 (todo: gd-2.0.35)
p5-GD-2.41:parsing gd-2.0.35
Dependencies for gd-2.0.35 resolve to: png-1.2.35, jpeg-6bp5, libiconv-1.13
found libspec c.51.0 in /usr/lib
found libspec expat.9.0 in /usr/lib
Can't install gd-2.0.35: lib not found fontconfig.6.0
Dependencies for gd-2.0.35 resolve to: png-1.2.35, jpeg-6bp5, libiconv-1.13
Full dependency tree is png-1.2.35,jpeg-6bp5,libiconv-1.13
Can't install gd-2.0.35: lib not found freetype.17.0
found libspec iconv.6.0 in package libiconv-1.13
found libspec jpeg.62.0 in package jpeg-6bp5
found libspec m.5.0 in /usr/lib
found libspec png.8.1 in package png-1.2.35
found libspec z.4.1 in /usr/lib
Can't install p5-GD-2.41: can't resolve gd-2.0.35
ports安装
/usr/ports/graphics/p5-GD
# make install
===> p5-GD-2.41 uses X11, but /usr/X11R6 not found.
#
请问在没有安x11组件的机器上如何安p5-GD
http://www.gobsd.org/OpenBSD.FAQ/c/faq4 ... ilesNeeded
先试试加一个xbase45.tgz,里面也许有需要的库文件。
先试试加一个xbase45.tgz,里面也许有需要的库文件。
添加xbaseXX.tgz组件
加载光驱: mount /dev/cd0a /mnt
cd /
tar xzvphf /mnt/4.6/i386/xbase46.tgz
ldconfig -m /usr/X11R6/lib
加载光驱: mount /dev/cd0a /mnt
cd /
tar xzvphf /mnt/4.6/i386/xbase46.tgz
ldconfig -m /usr/X11R6/lib
OpenBSD 很小巧,我很喜欢,我的博客:http://hi.baidu.com/zdslua/
谢谢crzyfish 写了:其实,PKG有个 php5-gd-no_x11呀 ~
这个我是知道,我使用的软件要输出验证码?会用到p5-GD
OpenBSD 很小巧,我很喜欢,我的博客:http://hi.baidu.com/zdslua/
在线用户
正浏览此版面之用户: Semrush [Bot] 和 0 访客