The Ubuntu package, we talked about was libgl1-mesa-dev
http://packages.ubuntu.com/karmic/libgl1-mesa-dev
.. which includes the file ' gl.pc '.
The patch is [mesa_7.6.0-1ubuntu4.diff.gz]
Code:
grep "gl.pc" mesa_7.6.0-1ubuntu4.diff
+ mesa: always build libglapi.a, updated subdir, gl.pc rule code from master
+ installing a standalone OSMesa where neither libGL or gl.pc are wanted.
+ * Add gl.pc to libgl1-mesa-dev
+usr/lib/pkgconfig/gl.pc
So the file ' gl.pc ' is created by building
the "ubuntu .deb" package. ?
Suggest : plug it out of the package
http://de.archive.ubuntu.com/ubuntu/...untu4_i386.deb
> > libgl1-mesa-dev_7.6.0-1ubuntu4_i386.deb
mkdir <new-folder>
dpkg -x libgl1-mesa-dev_7.6.0-1ubuntu4_i386.deb <new-folder>/
Only Ubuntu has this file. No gl.pc in the Debian versions.
But you can use the Debian "arm" packages / all other files,
and then just copy gl.pc to your //pkgconfig ( after it has
been edited to use the right file locations.)
The arm packages .. [ etch ] [ lenny ] [ squeeze ] [ sid ]
example link
http://packages.debian.org/lenny/libgl1-mesa-glx
..and .. examples : Lenny
1) libgl1-mesa-glx , arm
http://ftp.de.debian.org/debian/pool....0.3-7_arm.deb
> > libgl1-mesa-glx_7.0.3-7_arm.deb
2) libgl1-mesa-dev , arm
http://ftp.at.debian.org/debian/pool....0.3-7_all.deb
3) libglu1-mesa , all
http://ftp.at.debian.org/debian/pool....0.3-7_arm.deb
4) libglu1-mesa-dev , arm
http://ftp.de.debian.org/debian/pool....0.3-7_arm.deb
etc. etc.
http://packages.debian.org/source/lenny/mesa
.....