DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th April 2010
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default graphics/dri and intel related cork popper

Is there someway that I can stop dri from trying to build this intel related crap?

Code:
cc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/local/include -I/usr/local/include/drm    -I/usr/local/include -O2 -pipe -march=i386 -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 -I../intel -I../intel/server -DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP i830_context.c -o i830_context.o
In file included from i830_context.h:31,
                 from i830_context.c:28:
../intel/intel_context.h:38:26: error: intel_bufmgr.h: No such file or directory
In file included from ../intel/intel_context.h:40,
                 from i830_context.h:31,
                 from i830_context.c:28:
../intel/intel_screen.h:81: error: expected specifier-qualifier-list before 'dri_bufmgr'
In file included from i830_context.h:31,
                 from i830_context.c:28:
../intel/intel_context.h:93: error: expected specifier-qualifier-list before 'drm_intel_bo'
../intel/intel_context.h:166: error: expected declaration specifiers or '...' before 'dri_bo'
../intel/intel_context.h:183: error: expected specifier-qualifier-list before 'dri_bufmgr'
In file included from i830_context.c:28:
i830_context.h:133: error: expected specifier-qualifier-list before 'dri_bo'
i830_context.c: In function 'i830CreateContext':
i830_context.c:75: error: 'struct intel_context' has no member named 'ViewportMatrix'
i830_context.c:85: error: 'struct intel_context' has no member named 'no_rast'
i830_context.c:108: error: 'struct intel_context' has no member named 'verts'
gmake[5]: *** [i830_context.o] Error 1
gmake[5]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa/drivers/dri/i915'
gmake[4]: *** [subdirs] Error 1
gmake[4]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa/drivers/dri'
gmake[3]: *** [default] Error 1
gmake[3]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa/drivers'
gmake[2]: *** [driver_subdirs] Error 2
gmake[2]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src'
gmake: *** [default] Error 1
*** Error code 1

Stop in /usr/ports/graphics/dri.
I don't even the intel related xf86-video drivers installed.

This failure with graphics/dri has been steadily dead for me, since the notice about WITHOUT_NOUVEAU hit UPDATING, and I've had it defined in my make.conf since.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #2   (View Single Post)  
Old 17th April 2010
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Default

/usr/local/include/intel_bufmgr.h is provided by libdrm. Sounds like yours is missing or out of date.

Having said that, if you use --with-dri-drivers=r300,r600,swrast (or whatever drivers you *do* want) during the configure phase of the dri port, it will only build those specific drivers.

Adam
Reply With Quote
  #3   (View Single Post)  
Old 17th April 2010
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

libdrm is up to date (was updated the same day this started iirc), even tried a quick rebuild of it right now, and it doesn't install that header; although it is listed in the ports packing list.

I can try playing with the configure args later
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #4   (View Single Post)  
Old 17th April 2010
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Default

There's something funky with your libdrm port, then. Over here, make install clearly shows:

Code:
 install  -o root -g wheel -m 444 intel_bufmgr.h '/usr/local/include'
test -z "/usr/local/libdata/pkgconfig" || .././install-sh -c -d "/usr/local/libdata/pkgconfig"
 install  -o root -g wheel -m 444 libdrm_intel.pc '/usr/local/libdata/pkgconfig'
Maybe something else in your /etc/make.conf is causing problems?

Adam
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Speed Issues - Not ISP Related EverydayDiesel OpenBSD General 41 23rd December 2013 11:14 PM
HOWTO: Working Intel Graphics Card Setup vermaden FreeBSD Installation and Upgrading 2 3rd July 2009 07:59 PM
cant wake on lan afer shutdown -p (may be acpi related) edhunter FreeBSD General 7 10th October 2008 07:50 PM
Yahoo! related Pidgin problems... BSDfan666 General software and network 10 28th September 2008 02:39 AM
OpenBSD-related websites bienc OpenBSD General 7 12th May 2008 09:15 PM


All times are GMT. The time now is 11:11 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick