Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried ./configure but resulted in error :

"checking for GLEW... configure: error: Package requirements (glew >= 1.5.2) were not met:

No package 'glew' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLEW_CFLAGS and GLEW_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details."

Pls help

I have got libglew already installed

share|improve this question
You installed libglew-dev? – Severo Raz May 13 '13 at 5:48
thanks,it worked when it demanded glew i just searched for glew alone in didn't returned dev package now i installed it explicitly for cmdline – user139400 May 13 '13 at 5:59
Excellent. Remember to always install the development purpose version of a package package_name-dev when you require it to build a package from its source code. – Severo Raz May 13 '13 at 20:23

When you are run ./configure and if trows some error message like

checking for GLEW... configure: error: Package requirements (glew >= 1.5.2) were not met:
No package 'glew' found.
problem pakage name => GLEW


apt-cache dump | grep -E 'Package.*glew'

It will show some packages like Package: libglew-dev

=> template is "lib[problem-pakage-name]-dev"


sudo apt-get install libglew-dev

run again: ./configure

if you find some another problem pakage then start this procedure first line...

share|improve this answer

To respect the format of Q-A demanded by the site, here I write the solution to this problem.

When a package you are going to build has dependencies which you have to install from a software repository, always attempt to install the development version of the package, i.e. package_name-dev, since only this one will install the source code required to build the first package.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.