Hi, Thank you so much, i will download the src rpm Mr. Derek. i will try from your tutorial... Thank you.
Teddy Widhi L. Penguin Power! On Fri, 4 Feb 2005 11:15:43 +0000, Derek Jennings <[EMAIL PROTECTED]> wrote: > On Friday 04 February 2005 10:43, Teddy Widhi wrote: > > Hi, > > > > Everybody have experience with compile x.org 6.8.1 from source? > > i want to experiment to compile xorg 6.8.1 from source in my mandrake > > 10.1. how to install the xorg from source? > > > > Thank you > > > > Teddy > > As always you are best off compiling the src.rpm > I am running 6.8.2 which I got by downloading the src.rpm from Cooker > ftp://ftp.rediris.es/pub/linux/distributions/mandrake-devel/cooker/SRPMS/main > > Recompiling Cooker RPMs is not always successful, but at the moment xorg-6.8.2 > compiles on Mandrake 10.1 OK. > > To compile a src.rpm create a directory structure in your /home of > > ~/rpm > ~/rpm/BUILD > ~/rpm/SPECS > ~/rpm/SOURCES > ~/rpm/RPMS > ~/rpm/RPMS/i586 > ~/rpm/RPMS/noarch > ~/rpm/RPMS/i386 > ~/rpm/RPMS/i686 > ~/rpm/RPMS/athlon > ~/rpm/SRPMS > ~/rpm/tmp > > then create a file ~/.rpmrc containing > #buildarchtranslate: i386: i586 > #buildarchtranslate: i486: i586 > #buildarchtranslate: i586: i586 > #buildarchtranslate: i686: i586 > > optflags: i386 -O2 -fomit-frame-pointer -pipe -march=i386 %{debugcflags} > optflags: i486 -O2 -fomit-frame-pointer -pipe -march=i486 %{debugcflags} > optflags: k6 -O2 -fomit-frame-pointer -pipe -march=k6 %{debugcflags} > optflags: i586 -O2 -fomit-frame-pointer -pipe -march=i586 %{debugcflags} > optflags: i686 -O2 -fomit-frame-pointer -pipe -march=i686 %{debugcflags} > optflags: athlon -O2 -fomit-frame-pointer -pipe -march=athlon %{debugcflags} > > Download the src.rpm and as USER (not root) install it with > rpm -ivh package_name.src.rpm > > It will install the source files (plus patches) into ~/rpm/SOURCES and a file > xorg.spec into ~/rpm/SPECS > > View xorg.spec and edit it if you wish to change the way xorg is compiled. > The specfile is a set of instructions on how to patch the source, and how to > build 'Mandrake' packages. Once you are happy with the spec file cd to the > ~/rpm/SPECS directory, and as USER NOT root run > rpmbuild -bb xorg.spec > (You may need to install the rpmbuilder package) > Go away have a cup of tea, some dinner, go down the pub, have several beers. > Stop for a kebab on the way home, and watch some late night telly. > > When the compiling is finished you will find a whole bunch of RPMs have > appeared in ~/rpm/RPMS/i586 Install them in the usual way. > > HTH > > derek > > -- > www.jennings.homelinux.net > http://twiki.mdklinuxfaq.org > > > ____________________________________________________ > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com > Join the Club : http://www.mandrakeclub.com > ____________________________________________________ > > >
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________