Hello,
I am new to FreeBSD and I am trying to install Xorg but unable to do so because of some errors (see below). I Googled and searched the forums to find any solution but didn't find any. Can someone please help me out with this installation?
I am new to FreeBSD and I am trying to install Xorg but unable to do so because of some errors (see below). I Googled and searched the forums to find any solution but didn't find any. Can someone please help me out with this installation?
Code:
bsdvm# cd /usr/ports/x11/xorg
bsdvm# ls
CVS Makefile pkg-descr pkg-plist work
bsdvm# make install clean
===> Installing for xorg-7.5.1
===> xorg-7.5.1 depends on file: /usr/local/libdata/pkgconfig/dri.pc - not found
===> Verifying install for /usr/local/libdata/pkgconfig/dri.pc in /usr/ports/graphics/dri
===> Building for dri-7.4.4,2
gmake[1]: Entering directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src'
Making sources for autoconf
gmake[2]: Entering directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src/glx/x11'
cc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/local/lib/dri\" glcontextmodes.c -o glcontextmodes.o
glcontextmodes.c:42:23: error: GL/glxint.h: No such file or directory
In file included from glcontextmodes.c:67:
glcontextmodes.h:39: warning: type defaults to 'int' in declaration of '__GLXvisualConfig'
glcontextmodes.h:39: error: expected ';', ',' or ')' before '*' token
glcontextmodes.c:132: warning: type defaults to 'int' in declaration of '__GLXvisualConfig'
glcontextmodes.c:132: error: expected ';', ',' or ')' before '*' token
gmake[2]: *** [glcontextmodes.o] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src/glx/x11'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src'
gmake: *** [default] Error 1
*** Error code 1
Stop in /usr/ports/graphics/dri.
*** Error code 1
Stop in /usr/ports/x11/xorg.