Tue, Apr 14, 2009 at 06:14:35PM +0200, Jean-Francois may have written:
>
> Hello,
> Can you please help me with this :
>
> $ sudo pkg add phpMyAdmin-2.11.7.1.tgz
> Can't install php5-gd-5.2.6: lib not found X11.11.1
phpMyAdmin needs php5 and the php5 GD extension. There are two versions
of that extension, one that needs X libraries and one that doesn't. By
default, pkg_add is picking the one that needs those libraries.
> Dependencies for php5-gd-5.2.6 resolve to: jpeg-6bp3, php5-core-5.2.6,
> t1lib-5.1.0p1, png-1.2.28
> Full dependency tree is libiconv-1.12,jpeg-6bp3,libxml-2.6.32p1,php5-
> core-5.2.6,t1lib-5.1.0p1,gettext-0.17,png-1.2.28
> Can't install php5-gd-5.2.6: lib not found Xpm.8.0
> Can't install php5-gd-5.2.6: lib not found freetype.16.1
> Can't install phpMyAdmin-2.11.7.1: can't resolve php5-gd-5.2.6
>
> FYI box is 4.4 fresh install, i386, working as a server, so graphic support.
I'll assume here you meant "no graphic support", and by that you mean that
you did not install the X sets. Since pkg_add picked the GD extension
package that needs X libraries, you get the error.
Use:
$ sudo pkg_add -i phpMyAdmin
and pkg_add will recognize that there are two versions of the php5 GD
extension package available and ask you which one to install. Use the one
whose name includes "no_x11".
Alternatively, you can install package php5-gd-5.2.6-no_x11.tgz manually
first, then install phpMyAdmin.
Matt.
--
"With your own code to haunt you, who needs users?"
-- Maarten Wiltink