Before installing gnuplot, I set the environment variable GNUPLOT_DRIVER_DIR = /home/gnuplot/build/src. During the installation, something went wrong.
GNUPLOT_DRIVER_DIR = /home/gnuplot/build/src
I
unset is the command you're looking for.
unset
unset GNUPLOT_DRIVER_DIR