RE: Build error for the Xorg R7.6 in Ubuntu 10.10
On Mon, 2011-02-21 at 11:01 +0800, Chen, Dennis (SRDC SW) wrote: After all the required packages installed, then with the below command will build the total package of the xorg successfully: util/modular/build.sh --clone -n Thanks for the feedback. You can use -a -p to get updates from git and rebuild only affected parts. signature.asc Description: This is a digitally signed message part ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
RE: Build error for the Xorg R7.6 in Ubuntu 10.10
Hi Gaetan, Thank you for the help! Yes, I found I missed some tools un-installed. Now I installed all the package listed in http://wiki.x.org/wiki/RequiredPackages#KarmicKoala9.10 Though some tool versions a little bit older, but apt-get install will handle this… After all the required packages installed, then with the below command will build the total package of the xorg successfully: util/modular/build.sh --clone -n Thanks again… Dennis From: Gaetan Nadon [mailto:mems...@videotron.ca] Sent: 2011年2月19日 5:12 To: Chen, Dennis (SRDC SW) Cc: x...@freedesktop.org Subject: Re: Build error for the Xorg R7.6 in Ubuntu 10.10 On Fri, 2011-02-18 at 11:00 +0800, Chen, Dennis (SRDC SW) wrote: I found that the following build instruction doesn't work in my ubuntu 10.10: = http://lists.x.org/archives/xorg-devel/2009-August/001826.html : These instructions are a couple of years old. The build.sh script had a major update recently. The --help is up-to-date. This wiki has been updated as well. http://wiki.x.org/wiki/ModularDevelopersGuide#Buildingthemodulartree You can let the build script set the environment variables for you. The default values should work for you unless you have very special needs. What you might get into is some missing tools. This wiki lists all the packages you need to build xorg. It would be nice if you could update it with version 10.10. You have about 20 or so UBUNTU packages to install. http://wiki.x.org/wiki/RequiredPackages Usage: build.sh -L -L : just list modules to build util/modular/build.sh -L modlist.txt# Creates a list of all modules to be built Usage: build.sh [options] [prefix] util/modular/build.sh --clone -n # Do not stop on error util/modular/build.sh --clone --autoresume resume.txt# Stop on error but record where you are You must supply the prefix which is where you want the modules to install the binaries, not where the source code is (but it could be the same). Expect a git repository to time out, it happens sometimes. Gaetan ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Build error for the Xorg R7.6 in Ubuntu 10.10
I found that the following build instruction doesn't work in my ubuntu 10.10: = http://lists.x.org/archives/xorg-devel/2009-August/001826.html : Quickstart for those that do not use jhbuild: export PREFIX=/opt/xorg export LD_LIBRARY_PATH=$PREFIX/lib export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig export PATH=$PREFIX/bin:$PATH export ACLOCAL=aclocal -I $PREFIX/share/aclocal git clone git://anongit.freedesktop.org/git/xorg/util/modular/ util/modular echo util/macros built.modules ./util/modular/build.sh --clone -p -f built.modules -r `tail -n 1 built.modules` $PREFIX = For the last cmd above, my system will give the below error: root@LinuxFGL:/home/dennis/xorg_test/util/modular# ./build.sh --clone -p -f built.modules -r `tail -n 1 built.modules` $PREFIX 'prefix' appears to be an option Usage: build.sh [options] [prefix] Options: ... Some env variables in my system as: XORG_CONFIG=--prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --localstatedir=/var ACLOCAL=aclocal -I /opt/xorg/share/aclocal LD_LIBRARY_PATH=/opt/xorg/lib XORG_PREFIX=/usr PREFIX=/opt/xorg PKG_CONFIG_PATH=/opt/xorg/lib/pkgconfig ... Does anybody encounter this issue before? I am trying to build the xorg R7.6 and debug the Xserver these days. Thanks! -Dennis -Original Message- From: Peter Hutterer [mailto:peter.hutte...@who-t.net] Sent: 2011年2月17日 6:23 To: Chen, Dennis (SRDC SW) Cc: x...@freedesktop.org Subject: Re: How to build a Xserver module with the tar ball source code xorg-server-1.9.3 On Tue, Feb 15, 2011 at 02:00:36PM +0800, Chen, Dennis (SRDC SW) wrote: I've download the tar ball xorg-server-1.9.3 source code from the www.x.org, but I can't find the build detail step base on the source code, would you pls tell me how to build the source code to generate a Xserver module or the online link to do that? http://wiki.x.org/wiki/ModularDevelopersGuide but really, as long as you've got all the dependencies installed it's a matter of ./autogen.sh --prefix=/usr and running make. Cheers, Peter ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Build error for the Xorg R7.6 in Ubuntu 10.10
On Fri, 2011-02-18 at 11:00 +0800, Chen, Dennis (SRDC SW) wrote: I found that the following build instruction doesn't work in my ubuntu 10.10: = http://lists.x.org/archives/xorg-devel/2009-August/001826.html : These instructions are a couple of years old. The build.sh script had a major update recently. The --help is up-to-date. This wiki has been updated as well. http://wiki.x.org/wiki/ModularDevelopersGuide#Buildingthemodulartree You can let the build script set the environment variables for you. The default values should work for you unless you have very special needs. What you might get into is some missing tools. This wiki lists all the packages you need to build xorg. It would be nice if you could update it with version 10.10. You have about 20 or so UBUNTU packages to install. http://wiki.x.org/wiki/RequiredPackages Usage: build.sh -L -L : just list modules to build util/modular/build.sh -L modlist.txt # Creates a list of all modules to be built Usage: build.sh [options] [prefix] util/modular/build.sh --clone -n# Do not stop on error util/modular/build.sh --clone --autoresume resume.txt # Stop on error but record where you are You must supply the prefix which is where you want the modules to install the binaries, not where the source code is (but it could be the same). Expect a git repository to time out, it happens sometimes. Gaetan signature.asc Description: This is a digitally signed message part ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com