Summary: | mesa># gmake freebsd-dri-amd64 breaks | ||
---|---|---|---|
Product: | Mesa | Reporter: | zaphod |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | blocker | ||
Priority: | highest | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | FreeBSD | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
zaphod
2011-12-08 04:44:34 UTC
all the dependencies except dri2proto? dri2proto from ports (I assumed ports collection was up-to-date on dri2proto since link is to 1.1.tar.gz on the wiki page: 2.3.tar.bz2:SIZE=95466:SHA256=b2141892a0db35feffa5e952ff5e1d2727c4436b07d7e2e9dd2ed89c8bb3e677 re-compile and re-install from source on the wiki page? On Thu, Dec 8, 2011 at 3:27 PM, <bugzilla-daemon@freedesktop.org> wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=43629 > > --- Comment #1 from Dave Airlie <airlied@freedesktop.org> 2011-12-08 > 05:27:44 PST --- > all the dependencies except dri2proto? > > -- > Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. > Some Developments: Git Update pulled in some changes so I ran mesa/autogen.sh to try again. I get some better diagnosic output this time and here are the results: 1. First error was >configure: error: Package requirements (dri2proto >= 2.6) were not met: >Requested 'dri2proto >= 2.6' but version of DRI2Proto is 2.3 So I got the latest from here and installed. git://anongit.freedesktop.org/xorg/proto/dri2proto (the wiki page is therefore out-of-date, btw) 2. Ran mesa/autogen.sh a second time. This time error is: >checking for expat.h... no >configure: error: Expat required for DRI. textproc/expat2 is installed however. I re-installed expat, no change. 3. I noticed installed depends (glproto, libXxf86vm, xf86vidmodeproto, libXmu, drm) do not register correct in the FreeBSD installed package DB. Running portmaster --check-depends (which checks for and corrects broken dependencies) lists all these ports as "NOT INSTALLED". This will create a problem in with other ports when performing system updates. I corrected the expat error by setting:
# setenv LDFLAGS -L/usr/local/lib
# setenv CFLAGS -I/usr/local/include
Then, re-run mesa/autogen.sh gave me NOUVEAU error:
>checking for NOUVEAU... no
>configure: error: Package requirements (libdrm_nouveau >= 0.6) were not met:
>No package 'libdrm_nouveau' found
>Consider adjusting the PKG_CONFIG_PATH environment variable if you
>installed software in a non-standard prefix.
>Alternatively, you may set the environment variables NOUVEAU_CFLAGS
>and NOUVEAU_LIBS to avoid the need to call pkg-config.
Already have "WITHOUT_NOUVEAU=yes" in my /etc/make.conf
EDIT: I have conflicting information here about NOUVEAU. Since my card is Radeon, I should not be using any nouveau (NVidia) modules as far as I understand. However, the build is checking for nouveau. So I am confused now. Should I use nouveau or not? If not, how do I modify the build / autogen? The old static configs like freebsd-* are deprecated and about to be removed. You should use just ./autogen.sh (which it sounds like you are in later comments) and then "make". The original error report is just one of the reasons we're removing the old static configs. Re: comment 4, the list of dri drivers defaults to a particular set, then the requirements for those are tested for with errors if they're missing. The assumption here is that this is better for the user than quietly not building a driver they may care about when the libdrm requirement gets increased. To disable a driver you don't care for, you can use something explicit like "--with-dri-drivers=swrast,i915,i965,radeon" and "--with-gallium-drivers=swrast,r600,r300". |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.