I was trying to run iNSpect
OK. That's a "post #1" information. Please read :
$ sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libgtkglext1-dev
About iNSpect/configure : configure should have 7278 lines.
You have a corrupt configure file.
Is a known error with iNSpect. Difficult to unpack.
Solution 1) Try again, in different directories : $ tar xvf iNSpect***
... And a couple of times with your 'Archive Manager'.
? With some luck you will get a complete "iNSpect/".
Solution 2) You can unpack the binary 'iNSpect' anywhere : iNSpect-bin-4.tar.gz
.... and you don't have to build anything. Just run $ ./iNSpect
( The executable 'iNSpect' was built here `Mar 21 - 2011', with PCLinuxOS.)