|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
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 |
|
||||
http://marc.info/?l=openbsd-misc&m=129655292526519&w=2
Quote:
And if I might anticipate the next question...If I place a Windows 98 exe with known vulnerabilities on a Windows 7 machine, at what point does the Windows 7 machine become vulnerable? When the file is placed on disk, or when the exe is executed? In other words, as long as you aren't *running* X, your server is safe
__________________
Linux/Network-Security Engineer by Profession. OpenBSD user by choice. Last edited by rocket357; 16th June 2011 at 02:35 PM. |
|
|||
Ok thanks for your answer, can i just install the x packages with pkg_add or do i have to reinstall?
And why would these ports even have a no_x11 option in the makefile if its not supported one might wonder. Are some ports that depend on these libs installable and others not. Pretty misleading that this option is there if its not supported. |
|
|||
Quote:
As for your other question, building ports involves building many dependencies. Building some of these dependencies requires X libraries on occasion. Section 15.4 describes this in more detail: Quote:
Last edited by ocicat; 16th June 2011 at 04:15 PM. |
|
|||
Completely agreed.
|
|
|||
As soon as my project is done i will reinstall. Now i know better and will be installing all packages in the future.
Great forum, im a very happy camper. Thanks a bunch /Robert |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to install on Alienware m17x | BlackSun | FreeBSD Installation and Upgrading | 3 | 10th November 2010 01:35 AM |
trying to install php5-core | Simon | OpenBSD Packages and Ports | 8 | 30th June 2010 02:20 PM |
Unable to make install on Subversion port | Fuitad | FreeBSD Ports and Packages | 2 | 28th July 2008 04:49 PM |
unable to install Postfix from ports on OBSD 4.3 | Pollywog | OpenBSD Packages and Ports | 25 | 22nd July 2008 03:32 AM |
Problem with upgrading php5-pcre and php5-mysql | KernelPanic | FreeBSD Ports and Packages | 6 | 16th June 2008 10:00 PM |