I trying to build plplot, and keep getting this error:
CMake Error at CMakeLists.txt:206 (pkg_config_link_flags):
Unknown CMake command "pkg_config_link_flags".
I am followed directions here from
where it says:
"Here is the short story:
# Note many other cmake options are available besides -DCMAKE_INSTALL_PREFIX
# Inspect CMakeCache.txt after a preliminary cmake run to see an annotated
# list of the available options. Then remove CMakeCache.txt and try again.
cmake -DCMAKE_INSTALL_PREFIX=<install-prefix> \ <path-to-source-tree> >& cmake.out"
So, I typed:
cmake -DMAKE_INSTALL_PREFIX=/usr/lib ~/Downloads/plplot-5.9.7/src >& cmake.out
and the above are the errors.
I also tried cmake-gui, and get the same error there.
Log in to post a comment.