FreeBSD Port: ImageMagick-5.5.6_3 - Without X11 configuration problem

Rodrigo Severo rodrigo at fabricadeideias.com
Mon Oct 13 14:17:28 PDT 2003


Dear Sir,


I have just installed the ImageMagick 5.5.7-1 port over FreeBSD 4.8 
STABLE. I had a configuration problem I would like to share.

When I tried to "make" ImageMagick with the WITHOUT_X11 variable set I 
still got an error about X11 libraries missing. First it mentioned:

-------------------------------------------
===>   ImageMagick-5.5.7.11_1 depends on file: /usr/X11R6/bin/gnomecc - 
not found
-------------------------------------------

which is strange. Then, a few lines latter, the proper error:

-------------------------------------------
===>   gnomemimedata-2.2.0_1 depends on shared library: X11.6 - not found
===>    Verifying install for X11.6 in /usr/ports/x11/XFree86-4-libraries
mkdir: /usr/ports/distfiles/xc: File exists
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-libraries.
*** Error code 1

Stop in /usr/ports/misc/gnomemimedata.
*** Error code 1

Stop in /usr/ports/sysutils/gnomecontrolcenter.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick.
-------------------------------------------

I managed to get ImageMagick compiled with the following changes:

-------------------------------------------
*** Makefile.orig Mon Oct 13 18:09:28 2003
--- Makefile  Mon Oct 13 18:09:49 2003
***************
*** 33,39 ****

   USE_PERL5=  yes
   USE_BZIP2=  yes
- USE_GNOME=  gnomehack gnometarget pkgconfig
   USE_GMAKE=  yes
   USE_LIBTOOL=  yes
   LIBTOOLFLAGS= # none
--- 33,38 ----
***************
*** 199,204 ****
--- 198,204 ----
   CONFIGURE_ARGS+=  --without-x --without-mpeg2
   PLIST_SUB+=   X11='@comment '
   .else
+ USE_GNOME=  gnomehack gnometarget pkgconfig
   CONFLICTS+=   display
   CONFIGURE_ARGS+=  --with-x
   USE_XLIB=   yes
-------------------------------------------

I am not sure I moved the USE_GNOME line to the proper place but for me 
(who doesn't want X11 support at all) it worked.


Thanks in advance for your attention,

Rodrigo Severo



More information about the freebsd-ports mailing list