|
From: Sergio M. B. <se...@se...> - 2009-01-11 04:21:08
|
On Sun, 2009-01-11 at 11:36 +0800, Lee Amy wrote: > Hello, > > I'm going to compile the Mesa 7.2 for installing a bioinformatics > software called VMD. I notice that Mesa needs libdrm so I download the > libdrm package from dri.freedesktop.org/libdrm. I use the version of > 2.4.3. > > Libdrm complied and installed well, then when I do configuration Mesa > shows following error messages. > > checking for LIBDRM... Package libdrm was not found in the pkg-config > search path. > Perhaps you should add the directory containing `libdrm.pc' > to the PKG_CONFIG_PATH environment variable > No package 'libdrm' found > configure: error: Package requirements (libdrm >= 2.3.1) were not met: > > > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Alternatively, you may set the environment variables LIBDRM_CFLAGS > and LIBDRM_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > > However, I suppose that I have installed such package, so I don't know > how to go on. Could anyone how to fix that problem? My OS is Cent OS > 4.7 with kernel version of 2.6.9-78.EL. find where is installed libdrm.pc locate libdrm.pc and do a export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ according where you find libdrm.pc Regards, -- Sérgio M. B. |