"display" only shows help text, Ubuntu 8.10

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
sigmazero13

"display" only shows help text, Ubuntu 8.10

Post 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!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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?
sigmazero13

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

Post 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.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Google [Bot], Semrush [Bot] and 4 guests