Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 04:02:43 -0700 (PDT)
From:      Jon Wilson <jon@netcraft.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39775: p5-GD has erroneous dependency on X11 and XPM
Message-ID:  <200206241102.g5OB2hav096517@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         39775
>Category:       ports
>Synopsis:       p5-GD has erroneous dependency on X11 and XPM
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 24 04:10:06 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jon Wilson
>Release:        4.3
>Organization:
Netcraft
>Environment:
FreeBSD wooster.netcraft.com 4.3-STABLE FreeBSD 4.3-STABLE #6: Sun Jun 17 13:15:
30 BST 2001     jez@wooster.netcraft.com:/usr/obj/usr/src/sys/WOOSTER  i386

>Description:
The ports collection version of the GD perl module has a dependency on X11 and XPM. 

gd itself can be compiled either with or without support for XPM. The ports collection patch for p5-GD compiles it with XPM support, irrespective of how gd is configured. This makes GD.pm look for libX11.so at run time, which may not exist.
>How-To-Repeat:
On a machine with X libraries, install gd from the ports collection, configured without XPM/X11 support. Install p5-GD. Use pkg_tarup to make packages of both of these, and install these on a machine *without* X libraries. Run 'perl -MGD' and watch the errors.
>Fix:
Workaround: In the p5-GD port, edit the Makefile.pl (after ports collection patching) to remove XPM dependencies.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206241102.g5OB2hav096517>