View Single Post
  #1   (View Single Post)  
Old 16th June 2011
schh schh is offline
Port Guard
 
Join Date: Jun 2011
Posts: 11
Default Unable to install php5-gd extension

Heya,

I know im running an unsupported version of OpenBSD (4.7), but at the moment ive got a webproject going and dont really have the time to set everything up again, and ive never upgraded before so i dont wanna screw anything up.

To my question.

Im using prestashop webshop on my server and it depends on an php5-gd extension, that depends on some xWindows libs that i dont have or want.

Trying to install php5 extension via package results in:

Can't install php5-gd-5.2.12 because of libraries
|library X11.12.0 not found
| not found anywhere
|library Xpm.8.0 not found
| not found anywhere
|library freetype.17.0 not found
| not found anywhere
Direct dependencies for php5-gd-5.2.12 resolve to: jpeg-7 php5-core-5.2.12p1 t1lib-5.1.0p1 png-1.2.41
Full dependency tree is jpeg-7 libxml-2.7.6 php5-core-5.2.12p1 t1lib-5.1.0p1 gettext-0.17p0 png-1.2.41 libiconv-1.13p0

From ports
Tried setting flavors to no_x11, changed the makefile option use_X11 to no, make install WITHOUT_X11=yes. Nothing is working

Only results in:

===> Checking files for gd-2.0.35p0
`/usr/ports/distfiles/gd-2.0.35.tar.gz' is up to date.
>> (SHA256) gd-2.0.35.tar.gz: OK
===> Verifying specs: jpeg.>=62 png.>=2 iconv.>=2 jpeg.>=62 png.>=2 iconv.>=2 c expat fontconfig freetype m z c expat fontconfig freetype m z
Missing library for fontconfig
Missing library for freetype
Fatal error
*** Error code 1

MySQL 5.1.42
PHP 5.2.12
APACHE 1.3.29

Im at a loss, any help would be appreciated.

Thanks
Reply With Quote