OK, I tried apt-get install libgl-dev, but it says:
Package libgl-dev is a virtual package provided by:
You should explicitly select one to install.
E: Package libgl-dev has no installation candidate
i tried an apt-get install libgl1-mesa-dev, but it is already installed.
Upon trying atp-get install libgl1-mesa-swx11-dev, i got this:
The following extra packages will be installed:
The following packages will be REMOVED:
libgl1-mesa-dev libgl1-mesa-dri libgl1-mesa-glx libgl1-mesa-glx-dbg
nvidia-glx ubuntu-desktop xorg
The following NEW packages will be installed:
0 upgraded, 2 newly installed, 7 to remove and 99 not upgraded.
Need to get 1961kB of archives.
After unpacking 49.2MB disk space will be freed.
Do you want to continue [Y/n]?
That doesn't look good to me. i don't want to remove that stuff.
The main reason i'm trying to build it myself is to learn how to do linux builds, also, i want to run the svn version of mythtv.