Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2003 23:59:49 -0700
From:      "Philip J. Koenig" <pjklist@ekahuna.com>
To:        questions@FreeBSD.ORG
Subject:   gd2 portupgrade problem
Message-ID:  <20030628065951266.AAA1074@empty1.ekahuna.com@dyn205.ekahuna.com>

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

When I try to portupgrade gdchart, it wants to install gd2. (current 
version of gd installed is 1.8.4_6)

When portupgrade tries to install gd2, it fails with the following 
messages:

/usr/X11R6/lib/libXpm.so.4: undefined reference to 'XDefaultScreen'
/usr/X11R6/lib/libXpm.so.4: undefined reference to 'XCreateImage'

(..and many other similiar messages.)


I assume this is because I don't have X installed on this box.  
However in the makefile for gd2, it seems to try to account for this, 
with the following section;

  .ifndef WITHOUT_XPM
  #Temporary hack, until X-less XPM building is added to USE_XPM:
  .ifndef WITHOUT_X11
  USE_XPM=			yes
  .else
  LIB_DEPENDS+=	Xpm:$[PORTSDIR}/graphics/xpm
  .endif
  .else
  MAKE_ARGS+=		-DWITHOUT_XPM
  .endif


I have "WITHOUT_X11= yes"  defined in my make.conf file.  Is there 
something else I need to do so this will build without X installed?

Thx..


-- 
Philip J. Koenig                                       
pjklist@ekahuna.com
Electric Kahuna Systems -- Computers & Communications for 
the New Millenium




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