OS: Linux, Ubuntu 9.10, x86-64.
jhbuild pulls down libGL from git, then just tells it "make". This results in the makefile giving:
Please choose a configuration from the following list:
[...list of possible kernel configurations...]
Then type 'make <config>' (ex: 'make linux-x86')
Or, run './configure' then 'make'
See './configure --help' for details
- and it errors out.
So either it needs to pick a parameter to feed "make", or we need to run "./autogen.sh" here before "make".
(Despite the error message, there is no file "./configure".)
Workaround: option 4. to shell out, run ./autogen.sh , exit shell, option 1. to continue with the make.
Also happens on FreeBSD 8.0.
By the way: if you shell out and just run ./autogen.sh , mesa then tries to install to /usr/local, which is the default when a prefix isn't specified. So do:
That doesn't make sense. What module set are you using? The one in current util/modular? It should be treated just like all the other autotooled modules. Maybe it tries to be smart because mesa doesn't use automake and there's no Makefile.am.
One thing I notice is that jhbuild has an attribute supports-non-srcdir-builds, and that should be no for mesa. It doesn't handle non-srcdir builds. So, you can add supports-non-srcdir-builds="no" to the autotools element.
I'm using the "make everything" instructions on http://xorg.freedesktop.org/wiki/JhBuildInstructions and the build file from git.
I got the directory wrong, I'll kick it a bit and see what can be done to make it behave ...
The correct workaround is: shell out, run
- then exit shell and try again. You might have to run make as well if it's not your first time through.
Created attachment 34142 [details] [review]
Patch to xorg.modules to indicate mesa can't handle non-srcdir builds
Ah, wait. I suspect the actual issue here is that mesa isn't really autooled.
If you aren't doing 'jhbuild -a', jhbuild looks at the fresh checkout of mesa, sees that there is a Makefile there, and hence thinks it doesn't need to run autogen.sh
Created attachment 34144 [details] [review]
Patch to xorg.modules to describe mesa more accurately
skip-autogen="never" fixes this by causing autogen.sh to be always run.
Updated patch attach.
Patch applied as commit 22f77aa18c48c17c251aebe72fa78ab4fadbcfa7 to xorg/util/modular should address this issue
on May 25, 2016 at 16:53:04.
(provided by the Example extension).