I am getting below error while installing/configuring conntrack-tools-1.4.6 using command ./configure --prefix=/usr. I referered below links to install the minikube:
https://www.radishlogic.com/kubernetes/running-minikube-in-aws-ec2-ubuntu/
I tried setting the environment variable but still the same error.Please help to resolve the issue.
Error: configure: error: in `/conntrack-tools-1.4.6': configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config.
Alternatively, you may set the environment variables LIBNFNETLINK_CFLAGS and LIBNFNETLINK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
This could be caused by lack of memory in Your EC2 instance. The EC2 t3.micro
only has 1GB of memory. Note that the article You are following uses instance that has only 1GB of memory and probably was barely enough for older minikube version.
Currently minikube requires at least 2GB of memory.
According to minikube:
What you’ll need
I suggest retrying the instructions with additional memory (2gb in total) in Your instance.
Hope it helps.