Menu

#61 set terminal ???

closed
nobody
None
5
2007-08-12
2007-04-30
Anonymous
No

Reply-To: rwatkins@dssolutions.com

I downloaded and installed gnuplot 4.2 patchlevel 0 onto a Solaris 10 X86 box. When I start gnuplot, I get an error message:

Terminal type set to 'x11'
gnuplot>
gnuplot: unable to open display ''
gnuplot: X11 aborted.

I then try to set the terminal type to PNG to support graphing to a file, and I get the following message:

gnuplot> set terminal png
^
unknown or ambiguous terminal type; type just 'set terminal' for a list

I get the same error for "jpg", "gif". When I enter 'set terminal', the list does not contain any usable format that I am familiar with.

I need to be able to plot to a file so that I can email graphs to users.

My system has libpng loaded in /usr/lib so im not sure why it's not allowing me to specify PNG as a terminal type. I have this working on a Sun Sparc Solaris 10 box without problem. This only happens on the X86 box.

Discussion

  • Hans-Bernhard Broeker

    Logged In: YES
    user_id=27517
    Originator: NO

    The problems are quite probably the same in both cases: the box in question doesn't have all the necessary files installed to *build* programs using X11, PNG, JPG or others. A library in /usr/lib isn't enough.

    For the full story, inspect the config.log file generated when you ran "configure". If you can't grok it, attach it to this report.

     
  • Ethan Merritt

    Ethan Merritt - 2007-08-12
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB