From: Tatsuro M. <tma...@ya...> - 2018-03-10 09:13:57
|
Although I still use Cygwin but I gradually move to WSL. I could build gnuplot on WSL(Ubunutu 16.04) Install WSL and ubunutu https://nickjanetakis.com/blog/using-wsl-and-mobaxterm-to-create-a-linux-dev-environment-on-windows But I use VcXsrv as X-server instead. https://sourceforge.net/projects/vcxsrv/ Install gnuplot5 sudo apt install gnuplot5 But version is 5.0.3(OLD!!) However, the above sets several runtime libraries. Un-comment deb-src lines in the main file /etc/apt/sources.list sudo apt build-dep gnuplot5 To do the above allmost build and dev tools are installed. Additional sudo apt install libcaca-dev sudo apt install libcerf-dev Download gnuplot-5.2.2.tar.gz wget https://downloads.sourceforge.net/project/gnuplot/gnuplot/5.2.2/gnuplot-5.2.2.tar.gz Extract tar -xvzf gnuplot-5.2.2.tar.gz cd gnuplot-5.2.2 ./configure --with-qt=qt=5 --with-caca --with-wx-single-threaded (--with-wx-single-threaded is needed on my PC) Check the configure output carefully!! make make check sudo make install For dev version install below sudo apt install automake sudo apt install autoconf sudo apt install git git clone https://git.code.sf.net/p/gnuplot/gnuplot-main gnuplot cd gnuplot ./prepare mkdir .build cd .build ../configure --prefix=/opt/gp530 --with-qt=qt5 --with-caca --with-wx-single-threaded make make check sudo make install Build on WSL is slow due to slow fork but faster than Cygwin. I can use flawless qt-terminal on Windows PC by WSL!! Tatsuro |