Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1842 > unrolled thread

"This copy of gnuplot cannot read png/gif/jpeg images" problem

Started byRich Cook <wealthychef@gmail.com>
First post2013-05-20 19:15 -0700
Last post2013-05-22 00:20 -0700
Articles 9 — 3 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  "This copy of gnuplot cannot read png/gif/jpeg images" problem Rich Cook <wealthychef@gmail.com> - 2013-05-20 19:15 -0700
    Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem Rich Cook <wealthychef@gmail.com> - 2013-05-20 19:17 -0700
    Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem sfeam <sfeam@users.sourceforge.net> - 2013-05-20 22:15 -0700
      Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem Rich Cook <wealthychef@gmail.com> - 2013-05-21 09:13 -0700
        Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem Rich Cook <wealthychef@gmail.com> - 2013-05-21 09:16 -0700
          Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem Rich Cook <wealthychef@gmail.com> - 2013-05-21 09:49 -0700
        Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem sfeam <sfeam@users.sourceforge.net> - 2013-05-21 11:52 -0700
          Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem Rich Cook <wealthychef@gmail.com> - 2013-05-23 09:44 -0700
    Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem ab <ab.3942@googlemail.com> - 2013-05-22 00:20 -0700

#1842 — "This copy of gnuplot cannot read png/gif/jpeg images" problem

FromRich Cook <wealthychef@gmail.com>
Date2013-05-20 19:15 -0700
Subject"This copy of gnuplot cannot read png/gif/jpeg images" problem
Message-ID<8f17c8c2-3703-4eb9-ba8b-907cd50127e1@googlegroups.com>
Hello, I am in charge of installing and maintaining gnuplot on our clusters and am by no means an expert.  Our user has reported the following is occurring: 

gnuplot> plot 'test.png' binary filetype=png with rgbimage
         This copy of gnuplot cannot read png/gif/jpeg images


After googling a bit, I have looked in the build log for PNG entrails and see the following: 


checking for gdlib-config... /usr/bin/gdlib-config
checking for gdImageCreateTrueColor in -lgd... yes
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking for gdImageGif in -lgd... yes
checking for gdImageGifAnimBegin in -lgd... yes
checking for gdImageJpeg in -lgd... yes
checking for gdImageStringFT in -lgd... yes
checking for gdImagePng in -lgd... yes

...

  jpeg terminal: yes
  gif terminal: yes (with animated gif)
  png terminal: yes
    (jpeg, gif and png terminals can use TTF fonts)
  pdf terminal: no (requires libpdf)
...

  cairo-based pdf and png terminals: yes 



I don';t understand why gnuplot thinks it cannot handle png files.  Can someone help me debug this one?  
Thanks. 

[toc] | [next] | [standalone]


#1843

FromRich Cook <wealthychef@gmail.com>
Date2013-05-20 19:17 -0700
Message-ID<b5f5b4b0-e732-468b-b091-9ee3ea282f58@googlegroups.com>
In reply to#1842
One more datapoint: 

gnuplot> show datafile binary filetypes

        This version of gnuplot understands the following binary file types:
          avs     bin     edf     ehf     gif     gpbin   jpeg    jpg     png    raw      rgb     auto

[toc] | [prev] | [next] | [standalone]


#1844

Fromsfeam <sfeam@users.sourceforge.net>
Date2013-05-20 22:15 -0700
Message-ID<knevmi$3bu$1@dont-email.me>
In reply to#1842
Rich Cook wrote:

> Hello, I am in charge of installing and maintaining gnuplot on our
> clusters and am by no means an expert.  Our user has reported the
> following is occurring:
> 
> gnuplot> plot 'test.png' binary filetype=png with rgbimage
>          This copy of gnuplot cannot read png/gif/jpeg images
> 
> 
> After googling a bit, I have looked in the build log for PNG entrails
> and see the following:
> 
> 
> checking for gdlib-config... /usr/bin/gdlib-config
> checking for gdImageCreateTrueColor in -lgd... yes
> checking gd.h usability... yes
> checking gd.h presence... yes
> checking for gd.h... yes
> checking for gdImageGif in -lgd... yes
> checking for gdImageGifAnimBegin in -lgd... yes
> checking for gdImageJpeg in -lgd... yes
> checking for gdImageStringFT in -lgd... yes
> checking for gdImagePng in -lgd... yes
> 
> ...
> 
>   jpeg terminal: yes
>   gif terminal: yes (with animated gif)
>   png terminal: yes
>     (jpeg, gif and png terminals can use TTF fonts)
>   pdf terminal: no (requires libpdf)
> ...
> 
>   cairo-based pdf and png terminals: yes
> 
> 
> 
> I don';t understand why gnuplot thinks it cannot handle png files. 
> Can someone help me debug this one? Thanks.

That seems odd.  Please report the output from
  gnuplot -e "show version long"

There should be an entry  +GD_PNG
If this is present then it indicates that indeed the program should
be able to read png files.  If it's missing then I guess something
must have gone wrong with the configure+build at a later stage after
it had already reported that it was going to include png support.
You might have a look in config.log for error messages that mention
libgd. But really the info you show is self-contradictory so I
don't have a good guess at what could be wrong.

	Ethan

[toc] | [prev] | [next] | [standalone]


#1845

FromRich Cook <wealthychef@gmail.com>
Date2013-05-21 09:13 -0700
Message-ID<a4a9dc41-7cf1-4a5b-a7a3-c862d1160d06@googlegroups.com>
In reply to#1844
On Monday, May 20, 2013 10:15:46 PM UTC-7, sfeam wrote:
> Rich Cook wrote:
> 
> 
> 
> > Hello, I am in charge of installing and maintaining gnuplot on our
> 
> > clusters and am by no means an expert.  Our user has reported the
> 
> > following is occurring:
> 
> > 
> 
> > gnuplot> plot 'test.png' binary filetype=png with rgbimage
> 
> >          This copy of gnuplot cannot read png/gif/jpeg images
> 
> > 
> 
> > 
> 
> > After googling a bit, I have looked in the build log for PNG entrails
> 
> > and see the following:
> 
> > 
> 
> > 
> 
> > checking for gdlib-config... /usr/bin/gdlib-config
> 
> > checking for gdImageCreateTrueColor in -lgd... yes
> 
> > checking gd.h usability... yes
> 
> > checking gd.h presence... yes
> 
> > checking for gd.h... yes
> 
> > checking for gdImageGif in -lgd... yes
> 
> > checking for gdImageGifAnimBegin in -lgd... yes
> 
> > checking for gdImageJpeg in -lgd... yes
> 
> > checking for gdImageStringFT in -lgd... yes
> 
> > checking for gdImagePng in -lgd... yes
> 
> > 
> 
> > ...
> 
> > 
> 
> >   jpeg terminal: yes
> 
> >   gif terminal: yes (with animated gif)
> 
> >   png terminal: yes
> 
> >     (jpeg, gif and png terminals can use TTF fonts)
> 
> >   pdf terminal: no (requires libpdf)
> 
> > ...
> 
> > 
> 
> >   cairo-based pdf and png terminals: yes
> 
> > 
> 
> > 
> 
> > 
> 
> > I don';t understand why gnuplot thinks it cannot handle png files. 
> 
> > Can someone help me debug this one? Thanks.
> 
> 
> 
> That seems odd.  Please report the output from
> 
>   gnuplot -e "show version long"
> 
> 
> 
> There should be an entry  +GD_PNG
> 
> If this is present then it indicates that indeed the program should
> 
> be able to read png files.  If it's missing then I guess something
> 
> must have gone wrong with the configure+build at a later stage after
> 
> it had already reported that it was going to include png support.
> 
> You might have a look in config.log for error messages that mention
> 
> libgd. But really the info you show is self-contradictory so I
> 
> don't have a good guess at what could be wrong.
> 
> 
> 
> 	Ethan

The output seems confusing.  There is no +GD_PNG.  But there is -LIBGD.  I'm not sure where in the config.log or build process it decided to disable the PNG support. 


rcook@rzgpu2 (lclocal.el6): gnuplot -e "show version long" 

        G N U P L O T
        Version 4.6 patchlevel 1    last modified 2012-09-26 
        Build System: Linux x86_64

        Copyright (C) 1986-1993, 1998, 2004, 2007-2012
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')
Compile options:
-READLINE  +LIBREADLINE  +HISTORY  
-BACKWARDS_COMPATIBILITY  +BINARY_DATA  
-LIBGD  
-USE_CWDRC  +X11  +X11_POLYGON  +MULTIBYTE  +X11_EXTERNAL +USE_MOUSE  +HIDDEN3D_QUADTREE  
+DATASTRINGS  +HISTOGRAMS  +OBJECTS  +STRINGVARS  +MACROS  +IMAGE  +USER_LINETYPES +STATS 

GNUPLOT_DRIVER_DIR = "/usr/local/tools/gnuplot-4.6.1/libexec/gnuplot/4.6"
GNUPLOT_PS_DIR     = "/usr/local/tools/gnuplot-4.6.1/share/gnuplot/4.6/PostScript"
HELPFILE           = "/usr/local/tools/gnuplot-4.6.1/share/gnuplot/4.6/gnuplot.gih"

[toc] | [prev] | [next] | [standalone]


#1846

FromRich Cook <wealthychef@gmail.com>
Date2013-05-21 09:16 -0700
Message-ID<d7afea36-082c-4d7a-a654-b32859b36668@googlegroups.com>
In reply to#1845
On Tuesday, May 21, 2013 9:13:26 AM UTC-7, Rich Cook wrote:
> On Monday, May 20, 2013 10:15:46 PM UTC-7, sfeam wrote:
> 
> > Rich Cook wrote:
> 
> > 
> 
> > 
> 
> > 
> 
> > > Hello, I am in charge of installing and maintaining gnuplot on our
> 
> > 
> 
> > > clusters and am by no means an expert.  Our user has reported the
> 
> > 
> 
> > > following is occurring:
> 
> > 
> 
> > > 
> 
> > 
> 
> > > gnuplot> plot 'test.png' binary filetype=png with rgbimage
> 
> > 
> 
> > >          This copy of gnuplot cannot read png/gif/jpeg images
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > After googling a bit, I have looked in the build log for PNG entrails
> 
> > 
> 
> > > and see the following:
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > checking for gdlib-config... /usr/bin/gdlib-config
> 
> > 
> 
> > > checking for gdImageCreateTrueColor in -lgd... yes
> 
> > 
> 
> > > checking gd.h usability... yes
> 
> > 
> 
> > > checking gd.h presence... yes
> 
> > 
> 
> > > checking for gd.h... yes
> 
> > 
> 
> > > checking for gdImageGif in -lgd... yes
> 
> > 
> 
> > > checking for gdImageGifAnimBegin in -lgd... yes
> 
> > 
> 
> > > checking for gdImageJpeg in -lgd... yes
> 
> > 
> 
> > > checking for gdImageStringFT in -lgd... yes
> 
> > 
> 
> > > checking for gdImagePng in -lgd... yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > ...
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   jpeg terminal: yes
> 
> > 
> 
> > >   gif terminal: yes (with animated gif)
> 
> > 
> 
> > >   png terminal: yes
> 
> > 
> 
> > >     (jpeg, gif and png terminals can use TTF fonts)
> 
> > 
> 
> > >   pdf terminal: no (requires libpdf)
> 
> > 
> 
> > > ...
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   cairo-based pdf and png terminals: yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > I don';t understand why gnuplot thinks it cannot handle png files. 
> 
> > 
> 
> > > Can someone help me debug this one? Thanks.
> 
> > 
> 
> > 
> 
> > 
> 
> > That seems odd.  Please report the output from
> 
> > 
> 
> >   gnuplot -e "show version long"
> 
> > 
> 
> > 
> 
> > 
> 
> > There should be an entry  +GD_PNG
> 
> > 
> 
> > If this is present then it indicates that indeed the program should
> 
> > 
> 
> > be able to read png files.  If it's missing then I guess something
> 
> > 
> 
> > must have gone wrong with the configure+build at a later stage after
> 
> > 
> 
> > it had already reported that it was going to include png support.
> 
> > 
> 
> > You might have a look in config.log for error messages that mention
> 
> > 
> 
> > libgd. But really the info you show is self-contradictory so I
> 
> > 
> 
> > don't have a good guess at what could be wrong.
> 
> > 
> 
> > 
> 
> > 
> 
> > 	Ethan
> 
> 
> 
> The output seems confusing.  There is no +GD_PNG.  But there is -LIBGD.  I'm not sure where in the config.log or build process it decided to disable the PNG support. 
> 
> 
> 
> 
> 
> rcook@rzgpu2 (lclocal.el6): gnuplot -e "show version long" 
> 
> 
> 
>         G N U P L O T
> 
>         Version 4.6 patchlevel 1    last modified 2012-09-26 
> 
>         Build System: Linux x86_64
> 
> 
> 
>         Copyright (C) 1986-1993, 1998, 2004, 2007-2012
> 
>         Thomas Williams, Colin Kelley and many others
> 
> 
> 
>         gnuplot home:     http://www.gnuplot.info
> 
>         faq, bugs, etc:   type "help FAQ"
> 
>         immediate help:   type "help"  (plot window: hit 'h')
> 
> Compile options:
> 
> -READLINE  +LIBREADLINE  +HISTORY  
> 
> -BACKWARDS_COMPATIBILITY  +BINARY_DATA  
> 
> -LIBGD  
> 
> -USE_CWDRC  +X11  +X11_POLYGON  +MULTIBYTE  +X11_EXTERNAL +USE_MOUSE  +HIDDEN3D_QUADTREE  
> 
> +DATASTRINGS  +HISTOGRAMS  +OBJECTS  +STRINGVARS  +MACROS  +IMAGE  +USER_LINETYPES +STATS 
> 
> 
> 
> GNUPLOT_DRIVER_DIR = "/usr/local/tools/gnuplot-4.6.1/libexec/gnuplot/4.6"
> 
> GNUPLOT_PS_DIR     = "/usr/local/tools/gnuplot-4.6.1/share/gnuplot/4.6/PostScript"
> 
> HELPFILE           = "/usr/local/tools/gnuplot-4.6.1/share/gnuplot/4.6/gnuplot.gih"

I also see this in config.log:  

GDLIB_CONFIG='/usr/bin/gdlib-config'

And so I tried this: 

rcook@rzgpu2 (dpkg-mkdeb.GMTn7fiHG9): /usr/bin/gdlib-config --features
GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON

So the libgd that gnuplot is using has PNG support, I think.  

[toc] | [prev] | [next] | [standalone]


#1847

FromRich Cook <wealthychef@gmail.com>
Date2013-05-21 09:49 -0700
Message-ID<948ccd81-37e8-4e63-b055-e5c62a7347b6@googlegroups.com>
In reply to#1846
On Tuesday, May 21, 2013 9:16:48 AM UTC-7, Rich Cook wrote:
> On Tuesday, May 21, 2013 9:13:26 AM UTC-7, Rich Cook wrote:
> 
> > On Monday, May 20, 2013 10:15:46 PM UTC-7, sfeam wrote:
> 
> > 
> 
> > > Rich Cook wrote:
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > Hello, I am in charge of installing and maintaining gnuplot on our
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > clusters and am by no means an expert.  Our user has reported the
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > following is occurring:
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > gnuplot> plot 'test.png' binary filetype=png with rgbimage
> 
> > 
> 
> > > 
> 
> > 
> 
> > > >          This copy of gnuplot cannot read png/gif/jpeg images
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > After googling a bit, I have looked in the build log for PNG entrails
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > and see the following:
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > checking for gdlib-config... /usr/bin/gdlib-config
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > checking for gdImageCreateTrueColor in -lgd... yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > checking gd.h usability... yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > checking gd.h presence... yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > checking for gd.h... yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > checking for gdImageGif in -lgd... yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > checking for gdImageGifAnimBegin in -lgd... yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > checking for gdImageJpeg in -lgd... yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > checking for gdImageStringFT in -lgd... yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > checking for gdImagePng in -lgd... yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > ...
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > >   jpeg terminal: yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > >   gif terminal: yes (with animated gif)
> 
> > 
> 
> > > 
> 
> > 
> 
> > > >   png terminal: yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > >     (jpeg, gif and png terminals can use TTF fonts)
> 
> > 
> 
> > > 
> 
> > 
> 
> > > >   pdf terminal: no (requires libpdf)
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > ...
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > >   cairo-based pdf and png terminals: yes
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > I don';t understand why gnuplot thinks it cannot handle png files. 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > Can someone help me debug this one? Thanks.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > That seems odd.  Please report the output from
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   gnuplot -e "show version long"
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > There should be an entry  +GD_PNG
> 
> > 
> 
> > > 
> 
> > 
> 
> > > If this is present then it indicates that indeed the program should
> 
> > 
> 
> > > 
> 
> > 
> 
> > > be able to read png files.  If it's missing then I guess something
> 
> > 
> 
> > > 
> 
> > 
> 
> > > must have gone wrong with the configure+build at a later stage after
> 
> > 
> 
> > > 
> 
> > 
> 
> > > it had already reported that it was going to include png support.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > You might have a look in config.log for error messages that mention
> 
> > 
> 
> > > 
> 
> > 
> 
> > > libgd. But really the info you show is self-contradictory so I
> 
> > 
> 
> > > 
> 
> > 
> 
> > > don't have a good guess at what could be wrong.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 	Ethan
> 
> > 
> 
> > 
> 
> > 
> 
> > The output seems confusing.  There is no +GD_PNG.  But there is -LIBGD.  I'm not sure where in the config.log or build process it decided to disable the PNG support. 
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > rcook@rzgpu2 (lclocal.el6): gnuplot -e "show version long" 
> 
> > 
> 
> > 
> 
> > 
> 
> >         G N U P L O T
> 
> > 
> 
> >         Version 4.6 patchlevel 1    last modified 2012-09-26 
> 
> > 
> 
> >         Build System: Linux x86_64
> 
> > 
> 
> > 
> 
> > 
> 
> >         Copyright (C) 1986-1993, 1998, 2004, 2007-2012
> 
> > 
> 
> >         Thomas Williams, Colin Kelley and many others
> 
> > 
> 
> > 
> 
> > 
> 
> >         gnuplot home:     http://www.gnuplot.info
> 
> > 
> 
> >         faq, bugs, etc:   type "help FAQ"
> 
> > 
> 
> >         immediate help:   type "help"  (plot window: hit 'h')
> 
> > 
> 
> > Compile options:
> 
> > 
> 
> > -READLINE  +LIBREADLINE  +HISTORY  
> 
> > 
> 
> > -BACKWARDS_COMPATIBILITY  +BINARY_DATA  
> 
> > 
> 
> > -LIBGD  
> 
> > 
> 
> > -USE_CWDRC  +X11  +X11_POLYGON  +MULTIBYTE  +X11_EXTERNAL +USE_MOUSE  +HIDDEN3D_QUADTREE  
> 
> > 
> 
> > +DATASTRINGS  +HISTOGRAMS  +OBJECTS  +STRINGVARS  +MACROS  +IMAGE  +USER_LINETYPES +STATS 
> 
> > 
> 
> > 
> 
> > 
> 
> > GNUPLOT_DRIVER_DIR = "/usr/local/tools/gnuplot-4.6.1/libexec/gnuplot/4.6"
> 
> > 
> 
> > GNUPLOT_PS_DIR     = "/usr/local/tools/gnuplot-4.6.1/share/gnuplot/4.6/PostScript"
> 
> > 
> 
> > HELPFILE           = "/usr/local/tools/gnuplot-4.6.1/share/gnuplot/4.6/gnuplot.gih"
> 
> 
> 
> I also see this in config.log:  
> 
> 
> 
> GDLIB_CONFIG='/usr/bin/gdlib-config'
> 
> 
> 
> And so I tried this: 
> 
> 
> 
> rcook@rzgpu2 (dpkg-mkdeb.GMTn7fiHG9): /usr/bin/gdlib-config --features
> 
> GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON
> 
> 
> 
> So the libgd that gnuplot is using has PNG support, I think.

perhaps can someone who is NOT having this problem send me their build output and config.log and config.status?  
thanks

[toc] | [prev] | [next] | [standalone]


#1848

Fromsfeam <sfeam@users.sourceforge.net>
Date2013-05-21 11:52 -0700
Message-ID<kngfi9$rlu$1@dont-email.me>
In reply to#1845
Rich Cook wrote:

> The output seems confusing.  There is no +GD_PNG.  But there is -LIBGD. 

The minus sign indicates libgd support is missing.

> I'm not sure where in the config.log or build process it decided to
> disable the PNG support.

Not just PNG.  It's apparently failed to include libgd at all.
There should be a clue in config.log

> 
> rcook@rzgpu2 (lclocal.el6): gnuplot -e "show version long"
> 
> G N U P L O T
> Version 4.6 patchlevel 1    last modified 2012-09-26
> Build System: Linux x86_64
> 
> Copyright (C) 1986-1993, 1998, 2004, 2007-2012
> Thomas Williams, Colin Kelley and many others
> 
> gnuplot home:     http://www.gnuplot.info
> faq, bugs, etc:   type "help FAQ"
> immediate help:   type "help"  (plot window: hit 'h')
> Compile options:
> -READLINE  +LIBREADLINE  +HISTORY
> -BACKWARDS_COMPATIBILITY  +BINARY_DATA
> -LIBGD
> 

[toc] | [prev] | [next] | [standalone]


#1852

FromRich Cook <wealthychef@gmail.com>
Date2013-05-23 09:44 -0700
Message-ID<21d2c02a-7db9-4abe-872a-410b09fa79eb@googlegroups.com>
In reply to#1848
On Tuesday, May 21, 2013 11:52:44 AM UTC-7, sfeam wrote:
> Rich Cook wrote:
> 
> 
> 
> > The output seems confusing.  There is no +GD_PNG.  But there is -LIBGD. 
> 
> 
> 
> The minus sign indicates libgd support is missing.
> 
> 
> 
> > I'm not sure where in the config.log or build process it decided to
> 
> > disable the PNG support.
> 
> 
> 
> Not just PNG.  It's apparently failed to include libgd at all.
> 
> There should be a clue in config.log
> 
> 
> 
> > 
> 
> > rcook@rzgpu2 (lclocal.el6): gnuplot -e "show version long"
> 
> > 
> 
> > G N U P L O T
> 
> > Version 4.6 patchlevel 1    last modified 2012-09-26
> 
> > Build System: Linux x86_64
> 
> > 
> 
> > Copyright (C) 1986-1993, 1998, 2004, 2007-2012
> 
> > Thomas Williams, Colin Kelley and many others
> 
> > 
> 
> > gnuplot home:     http://www.gnuplot.info
> 
> > faq, bugs, etc:   type "help FAQ"
> 
> > immediate help:   type "help"  (plot window: hit 'h')
> 
> > Compile options:
> 
> > -READLINE  +LIBREADLINE  +HISTORY
> 
> > -BACKWARDS_COMPATIBILITY  +BINARY_DATA
> 
> > -LIBGD
> 
> >

Thank you.  I believe I have found the problem.  Our build system occurs on a server farm and I was not loading the GD libraries into the RPM repo there.  

[toc] | [prev] | [next] | [standalone]


#1849

Fromab <ab.3942@googlemail.com>
Date2013-05-22 00:20 -0700
Message-ID<0ea10f26-4188-44b3-b0aa-887034262fd5@googlegroups.com>
In reply to#1842
Hello Rich,

some years ago i had problems using the system libgd together with gnuplot.
i solved this  by downloading/compiling my own libgd 
and run gnuplot configure with 

--with-gd=/opt/gd-2.0.35

In my config.log i can find these line  related to libgd:
TERMLIBS=' -lreadline  -lncurses  -lz -lgd -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm -ljpeg -lfreetype -lpng'

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web