well theres good news and bad news!
Thanks kali you fixed the lGL issue. I did what you said and then ran the ls -la /usr/lib/libGL.so* command again. The first line that was red is now cyan so I ran ./configure --prefix=/usr again and we have success!
checking for main in -lGL... yes
now the bad news
checking for main in -lGLEW... no
Aaaaarghhhh!
Does this help?
root@ubuntu:~# ls -la /usr/lib/libGL*
lrwxrwxrwx 1 root root 22 2010-03-23 18:56 /usr/lib/libGLcore.so.1 -> libGLcore.so.195.36.15
-rw-r--r-- 1 root root 23085696 2010-03-16 03:14 /usr/lib/libGLcore.so.195.36.15
lrwxrwxrwx 1 root root 16 2010-03-04 09:18 /usr/lib/libGLEW.so.1.5 -> libGLEW.so.1.5.1
-rw-r--r-- 1 root root 267532 2009-06-05 21:59 /usr/lib/libGLEW.so.1.5.1
lrwxrwxrwx 1 root root 27 2010-03-23 20:19 /usr/lib/libGL.so -> /usr/lib/libGL.so.195.36.15
lrwxrwxrwx 1 root root 18 2010-03-23 18:56 /usr/lib/libGL.so.1 -> libGL.so.195.36.15
-rw-r--r-- 1 root root 742880 2010-03-16 03:14 /usr/lib/libGL.so.195.36.15
lrwxrwxrwx 1 root root 20 2010-03-04 09:18 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.070600
-rw-r--r-- 1 root root 456380 2009-10-13 23:08 /usr/lib/libGLU.so.1.3.070600
No red parts here
Is there an easy fix for this as I can see this happening over and over again with different libraries and me posting here asking how to fix each one. Is there anyway to remove everything and install it the right way?