Page 1 of 1

"display" only shows help text, Ubuntu 8.10

Posted: 2008-12-05T15:51:47-07:00
by sigmazero13
I just compiled ImageMagick from source (with jpg, tiff, and png support), and from what I can tell, most of it works fine. However, I cannot seem to get "display" to work at all. Every time I use display, it just dumps out the help text, as if I did "display -help". It does this if I pass in a valid image file, pass in nothing, or pass in garbage.

I saw in some other threads that others have had problems with this on Mac. I, however, am using Ubuntu 8.10; I just re-installed it, so it's a pretty fresh kernel.

I tried the "export DISPLAY=:0" idea that I saw mentioned, but that didn't seem to help. I'm not sure what else to try.

Thanks!

Re: "display" only shows help text, Ubuntu 8.10

Posted: 2008-12-05T19:06:33-07:00
by magick
Display only works if you build ImageMagick with X11 support. Type
  • identify -list configure
Is X11 associated with the DELEGATES and LIBS tags?

Re: "display" only shows help text, Ubuntu 8.10

Posted: 2008-12-05T20:31:30-07:00
by sigmazero13
Ah, that must be it - X11 is not in either of those tags.

What do I need to do to build with X11 support? I'm still somewhat of a Ubuntu newbie, though I know how to get the libraries I need. I just don't know which ones to install.

Looking at ImageMagick's documentation, X11 support should be included automatically if the configure can find it; apparently it couldn't on my system, which probably means it's not installed. Any specific X11 libraries I'd need?

Thanks for your help.