I wanted to install wine as a non root user into my home folder. but when i used ./configure
it gave the output
configure: error: no suitable flex found. Please install the 'flex' package.
So I installed flex as non-root in one of my directories but still the above error message persists.
How do I make configure detect the flex I have installed?