10e3c
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
I am trying to install www/joomla on my FreeBSD 8.1 server. At some point, the make process wants to install graphics/php5-gd. However, this port in turn appears to have some X dependencies, and starts downloading LibX11: Code:
... php5-gd-5.3.6 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found ===> Verifying install for /usr/local/libdata/pkgconfig/xpm.pc in /usr/ports/x11/libXpm ===> libXpm-3.5.7 depends on file: /usr/local/libdata/pkgconfig/xextproto.pc - found ===> libXpm-3.5.7 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found ===> libXpm-3.5.7 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Verifying install for /usr/local/libdata/pkgconfig/x11.pc in /usr/ports/x11/libX11 ===> License check disabled, port has not defined LICENSE ===> Extracting for libX11-1.3.6,1 => SHA256 Checksum mismatch for xorg/lib/libX11-1.3.6.tar.bz2. ===> Refetch for 1 more times files: xorg/lib/libX11-1.3.6.tar.bz2 ===> License check disabled, port has not defined LICENSE => libX11-1.3.6.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/xorg/lib. => Attempting to fetch ftp://ftp.cs.cuhk.edu.hk/pub/X11/individual/lib/libX11-1.3.6.tar.bz2 ^C Last edited by DutchDaemon; April 22nd, 2011 at 01:15. |
|
#2
|
|||
|
|||
|
Edit out the two characters gd in the joomla Makefile? If not, maybe possible but I'm uncertain, deselect everything X related in PHP5 prior to the above. Just conjecture on both points, first seems more likely. Chance a joomla theme or install may fail even if installed that way, due to some script assuming the gd module(s) exist.
|
|
#3
|
|||
|
|||
|
Thanks, that worked. I removed gd from the USE_PHP parameter in both the Joomla Makefile as well that of a dependency, print/pecl-pdflib, and now it has installed successfully.
I will ask in a Joomla forum what the deal is with the php5-gd requirement. Last edited by DutchDaemon; April 22nd, 2011 at 01:16. |
|
#4
|
|||
|
|||
|
PS: For what it is worth, here is the bit where things went wrong with the php5-gd make:
Code:
... ===> php5-gd-5.3.6 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found ===> Verifying install for /usr/local/libdata/pkgconfig/xpm.pc in /usr/ports/x11/libXpm ===> libXpm-3.5.7 depends on file: /usr/local/libdata/pkgconfig/xextproto.pc - found ===> libXpm-3.5.7 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found ===> libXpm-3.5.7 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ... Code:
$ cat pkg-descr This package contains the X Pixmap library. However, if I go to graphics/php5-gd and look at the Makefile: Code:
$ cat pkg-descr
# New ports collection makefile for: php5-gd
# Date created: 7 Jul 2004
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD: ports/graphics/php5-gd/Makefile,v 1.5 2009/12/29 14:39:10 ale Exp $
#
CATEGORIES= graphics
MASTERDIR= ${.CURDIR}/../../lang/php5
PKGNAMESUFFIX= -gd
.include "${MASTERDIR}/Makefile"
At this point, the question is hypothetical, as I don't yet know whether I absolutely NEED php5-gd for Joomla, but if I did how might I disable this dependency? Last edited by DutchDaemon; April 22nd, 2011 at 01:16. |
|
#5
|
||||
|
||||
|
The maintainer put in that dependency, so you might want to think twice about just editing it out. There are some applications that need a few of the X libraries, but not all of xorg.
You might want to check through your options settings. graphics/gd has an option to disable XPM support. |
|
#6
|
|||
|
|||
|
Yes, I realize that editing "gd" out is risky.
If I run make config in graphics/gd, XPM appears to be disabled by default. Not sure how this helps me. Last edited by DutchDaemon; April 22nd, 2011 at 01:17. |
|
#7
|
||||
|
||||
|
I thought that php5-gd depended on graphics/gd, but it doesn't. Since graphics/php5-gd is just a slave port, the real stuff is going on in the master port's Makefile, in lang/php5. And it's not in the main Makefile, but Makefile.ext. Look at the gd parts in there. It appears that as long as you have WITHOUT_X11 set, it should do the right thing, installing only the libraries required for pixmaps.
|
| The Following User Says Thank You to wblock@ For This Useful Post: | ||
cbrace (April 22nd, 2011) | ||
|
#8
|
|||
|
|||
|
Got it, thanks. A quick Google search revealed that adding
Code:
WITHOUT_X11=yes Last edited by DutchDaemon; April 22nd, 2011 at 01:17. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ssh requires lots of time for login | krnlpk | Web & Network Services | 10 | June 16th, 2013 04:59 |
| [Solved] PHP5 upgrade problems - php5-pcre | Ronaldr | Installation and Maintenance of FreeBSD Ports or Packages | 8 | November 5th, 2010 08:28 |
| [Solved] mplayer audio CD playback requires root? | noz | Multimedia | 1 | October 26th, 2010 00:39 |
| [Solved] clamav now requires python? | Ruler2112 | Installation and Maintenance of FreeBSD Ports or Packages | 11 | April 13th, 2010 17:58 |
| reinstall midnight commander and all Requires with portmaster | mfaridi | Installation and Maintenance of FreeBSD Ports or Packages | 4 | December 30th, 2009 23:20 |