|
From: Lee A. <ope...@gm...> - 2009-01-11 03:36:56
|
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. Thank you very much. Best Regards, Amy Lee |
|
From: Erik B. <te...@gm...> - 2009-01-11 04:11:58
Attachments:
libdrm.pc
|
On Sat, Jan 10, 2009 at 10:36 PM, Lee Amy <ope...@gm...> wrote: > 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 Hi, Amy Attached is a file that usualy goes in /usr/lib/pkgconfig but you can put it anywhere in PKG_CONFIG_PATH. Adjust prefix and libdir to match what you used for for the configure script. On most systems this is "prefix = /usr" and "libdir = /usr/lib". - Erik Boettcher |
|
From: Sergio M. B. <se...@se...> - 2009-01-11 04:21:08
Attachments:
smime.p7s
|
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. |
|
From: Erik B. <te...@gm...> - 2009-01-11 04:39:52
|
On Sat, Jan 10, 2009 at 11:20 PM, Sergio Monteiro Basto <se...@se...> wrote: > locate libdrm.pc > There is no libdrm.pc with that package which is why distros like gentoo provide it. - Erik Boettcher |
|
From: Lee A. <ope...@gm...> - 2009-01-11 05:05:50
|
2009/1/11 Erik Boettcher <te...@gm...>: > On Sat, Jan 10, 2009 at 11:20 PM, Sergio Monteiro Basto > <se...@se...> wrote: >> locate libdrm.pc >> > > There is no libdrm.pc with that package which is why distros like > gentoo provide it. > > - Erik Boettcher > Thanks, it seems that libdrm configuration is okay, but I encountered another problem, when I run 'gmake', it shows following error messages. gmake[1]: Entering directory `/root/Mesa-7.2/src' Making sources for autoconf gmake[2]: Entering directory `/root/Mesa-7.2/src/glx/x11' gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I/usr/include/drm -I/usr/X11R6/include -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DGLX_DIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/local/lib/dri\" glxcmds.c -o glxcmds.o glxcmds.c:113: error: syntax error before "__GLXDRIdrawable" glxcmds.c:486: error: syntax error before "void" glxcmds.c:2160: error: syntax error before "GLboolean" glxcmds.c:2238: error: syntax error before "GLboolean" glxcmds.c: In function `__glXBindTexImageEXT': glxcmds.c:2600: error: `X_GLXvop_BindTexImageEXT' undeclared (first use in this function) glxcmds.c:2600: error: (Each undeclared identifier is reported only once glxcmds.c:2600: error: for each function it appears in.) glxcmds.c: In function `__glXReleaseTexImageEXT': glxcmds.c:2652: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first use in this function) glxcmds.c: At top level: glxcmds.c:2672: error: syntax error before "char" glxcmds.c:2913: error: syntax error before "int" gmake[2]: *** [glxcmds.o] Error 1 gmake[2]: Leaving directory `/root/Mesa-7.2/src/glx/x11' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/root/Mesa-7.2/src' gmake: *** [default] Error 1 What happened? I use GeForce 2 MX 400 and I have installed nvidia driver properly. Thanks. Amy |
|
From: Sergio M. B. <se...@se...> - 2009-01-11 19:36:19
Attachments:
smime.p7s
|
On Sun, 2009-01-11 at 11:36 +0800, Lee Amy wrote: > I'm going to compile the Mesa 7.2 for installing a bioinformatics > software called VMD VMD needs Mesa ultimate sources ? if not Cent OS came with Mesa already ! Regards, -- Sérgio M. B. |
|
From: Lee A. <ope...@gm...> - 2009-01-12 01:59:11
|
2009/1/12 Sergio Monteiro Basto <se...@se...>: > On Sun, 2009-01-11 at 11:36 +0800, Lee Amy wrote: >> I'm going to compile the Mesa 7.2 for installing a bioinformatics >> software called VMD > > VMD needs Mesa ultimate sources ? > if not Cent OS came with Mesa already ! > > Regards, > -- > Sérgio M. B. > Thanks. As I know before, just from Fedora 9 redhat provides mesa package, so my Cent OS is based on RHEL 4, cannot in the support list. Anyway, when I compile the VMD it tells me that cannot find some files who belongs to mesa. So do you have any good idea? Regards, Amy |
|
From: Sergio M. B. <se...@se...> - 2009-01-12 03:33:34
Attachments:
smime.p7s
|
On Mon, 2009-01-12 at 09:59 +0800, Lee Amy wrote: > 2009/1/12 Sergio Monteiro Basto <se...@se...>: > > On Sun, 2009-01-11 at 11:36 +0800, Lee Amy wrote: > >> I'm going to compile the Mesa 7.2 for installing a bioinformatics > >> software called VMD > > > > VMD needs Mesa ultimate sources ? > > if not Cent OS came with Mesa already ! > > > > Regards, > > -- > > Sérgio M. B. > > > > Thanks. As I know before, just from Fedora 9 redhat provides mesa > package, so my Cent OS is based on RHEL 4, cannot in the support list. > > Anyway, when I compile the VMD it tells me that cannot find some files > who belongs to mesa. > > So do you have any good idea? install something like: xorg-x11-devel-6.8.2 and mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel mesa-libOSMesa mesa-libOSMesa-devel or something similar > > Regards, > > Amy regards -- Sérgio M. B. |