|
From: Alan C. <ala...@gm...> - 2021-05-31 22:09:35
|
You didn't mention your operating system I don't think, you probably shouldn't have to do all this manually. With Debian/Raspbian/Ubuntu you'd just type sudo apt-get update sudo apt-get install gnuplot With OpenBSD which is about the messiest thing I've used, you'd do something (as root) like cd /usr/ports/math/gnuplot then make install. After you'd built everything it needed. But most packages require other packages. Debian will (mostly) install everything needed when you do the apt-get install gnuplot. With OpenBSD I used to get a list from somewhere and install all the needed stuff first, then gnuplot. With OpenBSD I chose to compile everything from source myself, with Linux I'm installing pre-compiled binary packages which don't include anything extra. Both methods work but don't mix them. In Linux if I wanted to build gnuplot to use wxwidgets I'd probably need a gnuplot-dev which includes the stuff left out of the binary packages. This is also a nuisance if you want to build something outside the tree but build it using dependencies you think you have installed. A few months ago I built the latest Firefox using mostly binaries that were installed but I had to add several -dev packages because the install looks for headers and libraries an average user doesn't have. On 5/30/21, Eliezer Richmond <eli...@gm...> wrote: > I watched 2 youtube videos in which the presenter used 'terminal wxt' to > plot various functions. I downloaded and installed gnuplot 5.4.1. I have > tried all the terminals that came with gnuplot, and none of them would > 'plot > sin(x)'. I am interested in plotting 2D graphs, and therefore I am > interested in 'terminal wxt'. When I ran > '/home/eliezer/gnuplot./configure' > I got the message > > configure: WARNING: wxWidgets can't be found. You can try --with-wx=DIR to > give the right path to wx-config. The wxWidgets terminal will not be > compiled. > > checking for CAIROPANGO... configure: WARNING: > > Package requirements (cairo >= 0.9.0 pango >= 1.22 pangocairo >= 1.10) were > not met: > > I downloaded wxWidgets-3.1.5 and extracted to > /home/Eliezer/gnuplot/wxWidgets-3.1.5/wxWidgets-3.1.5. When I typed > '/home/Eliezer/gnuplot$ sudo install wxWidgets-3.1.5' the program asked for > a destination and I am hesitant to pick any destination; so I could use > your > help here. > > > > I then downloaded and extracted 'cairo' to '~$ cairo' where ~ is > '/home/eliezer'. I then got the message 'wxt terminal: no (requires C++, > wxWidgets>2.6, cairo>0.9, pango>1.22)' and 'cairo-based terminals: no > (requires cairo>=1.2, pango>=1.22, glib>=2.28)' > > > > I then downloaded 'pango-1.48.5.tar.xz', but did nothing further because > the > website indicated that its installation might be difficult. > > > > I then downloaded 'glib-html-2.56.4.tar.gz and extracted it to > 'home/Eliezer'. I then issued the command 'install ~glib* > ~/gnuplot/gnuplot-5.4.1' with the response 'install: omitting directory > 'glib-html-2.56.4''. > > > > I have attached the configlog file. In addition, the 'configure' command > generated the following output, which is not in the configure log, > > configure: WARNING: unrecognized options: --with-wxWidgets > > ./configure: line 2710: 0: command not found > > configure: WARNING: > > Package requirements (libcerf) were not met: > > > > No package 'libcerf' found > > > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > > installed software in a non-standard prefix. > > > > Alternatively, you may set the environment variables LIBCERF_CFLAGS > > and LIBCERF_LIBS to avoid the need to call pkg-config. > > See the pkg-config man page for more details. > > > > configure: WARNING: GNU readline not found - falling back to builtin > readline > > configure: WARNING: zlib is required - see http://www.gzip.org/zlib/ > > configure: WARNING: > > Package requirements (gdlib) were not met: > > > > No package 'gdlib' found > > > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > > installed software in a non-standard prefix. > > > > Alternatively, you may set the environment variables libgd_CFLAGS > > and libgd_LIBS to avoid the need to call pkg-config. > > See the pkg-config man page for more details. > > > > configure: WARNING: libgd not found or too old, version >= 2.0 is required > > configure: WARNING: Could not find support for lua using pkg-config. > > configure: WARNING: wxWidgets can't be found. You can try --with-wx=DIR to > give the right path to wx-config. The wxWidgets terminal will not be > compiled. > > configure: WARNING: > > Package requirements (cairo >= 0.9.0 pango >= 1.22 pangocairo >= 1.10) were > not met: > > > > No package 'cairo' found > > No package 'pango' found > > No package 'pangocairo' found > > > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > > installed software in a non-standard prefix. > > > > Alternatively, you may set the environment variables CAIROPANGO_CFLAGS > > and CAIROPANGO_LIBS to avoid the need to call pkg-config. > > See the pkg-config man page for more details. > > > > configure: WARNING: The wxWidgets terminal will not be compiled. > > configure: WARNING: > > Package requirements (Qt5Core Qt5Gui Qt5Network Qt5Svg Qt5PrintSupport) > were > not met: > > > > No package 'Qt5Core' found > > No package 'Qt5Gui' found > > No package 'Qt5Network' found > > No package 'Qt5Svg' found > > No package 'Qt5PrintSupport' found > > > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > > installed software in a non-standard prefix. > > > > Alternatively, you may set the environment variables QT_CFLAGS > > and QT_LIBS to avoid the need to call pkg-config. > > See the pkg-config man page for more details. > > > > configure: WARNING: > > Package requirements (QtCore >= 4.5 QtGui >= 4.5 QtNetwork >= 4.5 QtSvg >= > 4.5) were not met: > > > > No package 'QtCore' found > > No package 'QtGui' found > > No package 'QtNetwork' found > > No package 'QtSvg' found > > > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > > installed software in a non-standard prefix. > > > > Alternatively, you may set the environment variables QT_CFLAGS > > and QT_LIBS to avoid the need to call pkg-config. > > See the pkg-config man page for more details. > > > > configure: WARNING: unrecognized options: --with-wxWidgets > > > > When I ran ~/gnuplot/gnuplot-5.4.1/ ./configure' another time there was the > output > > configure: WARNING: wxWidgets can't be found. You can try --with-wx=DIR to > give the right path to wx-config. The wxWidgets terminal will not be > compiled. > > checking for CAIROPANGO... configure: WARNING: > > Package requirements (cairo >= 0.9.0 pango >= 1.22 pangocairo >= 1.10) were > not met: > > The last step was to run './configure > --with-wxWidgets=/home/eliezer/gnuplot/wxWidget-3.1.5/wmWidget-3.1.5 > --with-cairo=/home/eliezer/cairo' with no more success. > > > > Would you please look at the configlog output and tell me if any of the > missing files are necessary for my purposes, and help me with the software > necessary for the 'terminal wxt' > > > > With sincere appreciation, > > > Eliezer Richmond > > > > > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -- ------------- Education is contagious. |