gnuplot 4.x not using X libraries
Joel Hammer
joel at hammershome.com
Wed Aug 20 04:05:47 PDT 2008
Thanks. I found those directories and fed them to configure, which said
it would include the X windows system. However, during make I get these
errors:
gplt_x11.c:129: X11/Xos.h: No such file or directory
gplt_x11.c:130: X11/Xlib.h: No such file or directory
gplt_x11.c:131: X11/Xresource.h: No such file or directory
gplt_x11.c:132: X11/Xutil.h: No such file or directory
gplt_x11.c:133: X11/Xatom.h: No such file or directory
gplt_x11.c:134: X11/keysym.h: No such file or directory
gplt_x11.c:143: X11/cursorfont.h: No such file or directory
And, it's true, I don't have those files on my system, except for Xlib.h
which is in odd places like:
/disks/lindowsos/usr/speakeasy/lib/Tk/pTk/Xlib.h
/usr/include/nvu-1.0PR/widget/nsIDragSessionXlib.h
/usr/lib/perl5/Tk/pTk/Xlib.h
So, it seems my current X Windows doesn't use those
libraries, or, are they called something else?
Joel
On Tue, Aug 19, 2008 at 10:02:35PM -0700, Bill Campbell wrote:
> On Tue, Aug 19, 2008, Joel Hammer wrote:
> >I have used gnuplot 3.7 happily but I have installed
> >versions 4.x and I can't plot to the X terminal. I see
> >this message after I configure gnuplot from sources:
> >
> >==============================================================
> >
> >gnuplot will be compiled with the following terminals:
> >
> > X Window System terminal: no (requires X libraries)
> >
> >=============================================================================
> >
> >Here are is the output of
> >./configure -h | grep X
> >
> >X features:
> > --x-includes=DIR X include files are in DIR
>
> This is the directory containing Xlib.h and other X11 files. On
> CentOS 5 this is /usr/include/X11. On SuSE Linux Enterprise it's
> in /usr/X11R6/include/X11. The command ``locate /Xlib.h'' may
> tell you where it is on your system.
>
> > --x-libraries=DIR X library files are in DIR
>
> This is where your libX11.so.* libraries are installed. On SuSE
> it's /usr/X11R6/lib/, on CentOS it's in /usr/lib. Again, you may
> be able to use ``locate /libX11'' to find it on your system.
>
> > --with-x use the X Window System
> > (default PREFIX/share/PACKAGE/VERSION)
> >
> >
> >I am not sure what libraries I need to give (X11, X11R6)
> >or where the includes are. I have an old version of Linux
> >and X11 to be sure.
> >
> >X -version gives:
> >==================
> >
> >XFree86 Version 4.3.0.1 (Debian 4.3.0-0pre1v4.0.0.lindows0.1.0.6 20040201132350 root@)
> >Release Date: 15 August 2003
> >X Protocol Version 11, Revision 0, Release 6.6
> >Build Operating System: Linux 2.4.20 i686 [ELF]
> >Build Date: 01 February 2004
> > Before reporting problems, check http://www.XFree86.Org/
> > to make sure that you have the latest version.
> >Module Loader present
> >OS Kernel: Linux version 2.4.24 (root at khaffeine) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Mon May 17 04:48:14 PDT 2004 TF
> >
> >===================================
> >
> >Any insight appreciated.
> >
> >Thanks,
> >
> >Joel
> >
> >_______________________________________________
> >Linux-users mailing list ( Linux-users at linux-sxs.org )
> >Unsub/Password/Etc:
> >http://linux-sxs.org/mailman/listinfo/linux-users
> >
> >Need to chat further on this subject? Check out #linux-users on irc.linux-sxs.org !
> >
>
> --
> Bill
> --
> INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
> URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
> Voice: (206) 236-1676 Mercer Island, WA 98040-0820
> Fax: (206) 232-9186
>
> Most people, sometime in their lives, stumble across truth. Most jump
> up, brush themselves off, and hurry on about their business as if
> nothing had happened. - Sir Winston Churchill
> _______________________________________________
> Linux-users mailing list ( Linux-users at linux-sxs.org )
> Unsub/Password/Etc:
> http://linux-sxs.org/mailman/listinfo/linux-users
>
> Need to chat further on this subject? Check out #linux-users on irc.linux-sxs.org !
More information about the Linux-users
mailing list