Re: SOLVED: modular build, libGL make install fails
On 3 February 2010 01:25, David Gerard dger...@gmail.com wrote: If I shell out and then do ./autogen.sh --prefix=$HOME/mesa then it works properly. Phew! Wrong directory! That should of course be: ./autogen.sh --prefix=$HOME/xorg-build and possibly a make after that. - d. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
SOLVED: modular build, libGL make install fails
On 30 January 2010 23:17, David Gerard dger...@gmail.com wrote: Is this a bug, or just me? This is doing the modular build with jhbuild: /home/fun/.local/bin/install-check -d /usr/local/include/GL install: cannot change permissions of `/usr/local/include/GL': No such file or directory I'm doing a build in my home directory, but it appears to be trying to do things to the system. Surely that's not right ... It's just me. Due to http://bugs.freedesktop.org/show_bug.cgi?id=26337 , building with jhbuild requires one to shell out to run ./autogen.sh because jhbuild tries to go straight to 'make'. Doing just ./autogen.sh uses the default prefix, which is of course /usr/local . If I shell out and then do ./autogen.sh --prefix=$HOME/mesa then it works properly. Phew! - d. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: modular build, libGL make install fails
On 31 January 2010 16:31, Dan Nicholson dbn.li...@gmail.com wrote: On Sat, Jan 30, 2010 at 3:17 PM, David Gerard dger...@gmail.com wrote: Is this a bug, or just me? This is doing the modular build with jhbuild: /home/fun/.local/bin/install-check -d /usr/local/include/GL install: cannot change permissions of `/usr/local/include/GL': No such file or directory I'm doing a build in my home directory, but it appears to be trying to do things to the system. Surely that's not right ... Mesa is trying to install in /usr/local, apparently. I don't know what jhbuild is doing, but obviously we'd need to see more context. Indeed. I tried again from clean (and using the jhbuildrc that's actually in git!), but it did it again. I also tried on FreeBSD 8.0 and it *didn't* do this. This sugggests there's some weird config stuff going on here - it does appear to be a build system thing, not a Mesa thing ... will investigate further. (My goal is to make it easy for people to just build Xorg from git head casually and anywhere. This way they won't have to wait until their distro updates to discover that Xorg removed some little thing they happen to rely on a year ago. Also, more eyes = more bug reports, etc.) - d. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: modular build, libGL make install fails
On Sat, Jan 30, 2010 at 3:17 PM, David Gerard dger...@gmail.com wrote: Is this a bug, or just me? This is doing the modular build with jhbuild: /home/fun/.local/bin/install-check -d /usr/local/include/GL install: cannot change permissions of `/usr/local/include/GL': No such file or directory make[3]: *** [install-headers] Error 1 make[3]: Leaving directory `/home/fun/git/mesa/src/mesa' make[2]: *** [install] Error 1 make[2]: Leaving directory `/home/fun/git/mesa/src/mesa' make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/fun/git/mesa/src' make: *** [install] Error 1 *** Error during phase install of libGL: ## Error running make install *** [66/168] I'm doing a build in my home directory, but it appears to be trying to do things to the system. Surely that's not right ... What's an appropriate workaround here? Mesa is trying to install in /usr/local, apparently. I don't know what jhbuild is doing, but obviously we'd need to see more context. -- Dan ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: modular build, libGL make install fails
Mm. I thought it was relevant to here since it's a mandatory part of building Xorg at all. - If you're using the nVidia binary driver you can skip(cut it out of the xorg.modules) the mesa build because nVidia binary uses it's own Glx modules. Remember to put --disable-glx in the autogenargs for xserver in xorg.modules. Also take out the stuff you don't need to build in the xorg.modules which will save you time and headaches. If you're unsure just use the mesa-dev packages in whatever distro you're using. 'sudo ~/.local/bin/jhbuild --moduleset=/home/foo/jhbuild/modulesets/xorg.modules -f ~/jhbuildrc.XORG build xorg' works for me. Happy Building. ubuntu 9.10 - Error:Success -- View this message in context: http://old.nabble.com/modular-build%2C-libGL-%22make-install%22-fails-tp27388491p27394454.html Sent from the Free Desktop - xorg mailing list archive at Nabble.com. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
modular build, libGL make install fails
Is this a bug, or just me? This is doing the modular build with jhbuild: /home/fun/.local/bin/install-check -d /usr/local/include/GL install: cannot change permissions of `/usr/local/include/GL': No such file or directory make[3]: *** [install-headers] Error 1 make[3]: Leaving directory `/home/fun/git/mesa/src/mesa' make[2]: *** [install] Error 1 make[2]: Leaving directory `/home/fun/git/mesa/src/mesa' make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/fun/git/mesa/src' make: *** [install] Error 1 *** Error during phase install of libGL: ## Error running make install *** [66/168] I'm doing a build in my home directory, but it appears to be trying to do things to the system. Surely that's not right ... What's an appropriate workaround here? - d. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: modular build, libGL make install fails
On 31 January 2010 02:44, Jeremy Huddleston jerem...@freedesktop.org wrote: 1) mesa has its own list Mm. I thought it was relevant to here since it's a mandatory part of building Xorg at all. 2) you want to use sudo for make install. You need root permissions Ah, but I don't, you see. I'm trying to build this thing (Xorg in all its glory) in my home directory. (Using jhbuild to pull all modules from git and build them module by module.) So why is whatever configuration Xorg is giving Mesa telling Mesa to try to install in the system? That bit's Xorg, not Mesa - Mesa is a third-party inclusion, but it's Xorg giving it build parameters. - d. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg