Talk:How to compile an experimental X server

From ThinkWiki
Jump to: navigation, search

Other approach

Or, if you want to play with an unstable system, use a distribution, which can help you doing that, for example Gentoo or Sourcemage. You won't need a script that way:

root@gentoo ~ $ echo "x11-base/xorg-x11 ~x86" > /etc/portage/package.keywords
root@gentoo ~ $ emerge -avuD xorg-x11

(scnr. I know that you'll have to unmask a few more packages in reality. I know that you can do something similar in other distributions. I just don't understand why you are not using your package manager [unless you've got an LFS...])

--Pberndt 21:11, 7 July 2006 (CEST)

The script fetches the very latest code from GIT and CVS. No distribution I know off is this bleeding-edge. It makes a large difference in some hot development areas, such as accelerated DRI drivers.

--Thinker 21:30, 7 July 2006 (CEST)

Thinker your script fails for me.
No package 'xextproto' found
No package 'xcmiscproto' found
... ERROR: Command "sh --prefix=/home/paul/3d-pit/install --quiet --cache-file=/home/paul/3d-pit/xorg/autoconf.cache --with-xcb=no" failed in /home/paul/3d-pit/xorg/lib/libX11
the fix was trivial, just adding those two packages
okay,it was missing SM and ice too, how on earth did you compile xorg with this script?


The script assumes you have all the header packages (foo-devel on Fedora, etc.), and fetches only packages that had interesting changes recently (as far as I can judge). I guess you were missing those -devle packages.

BTW, please sign your posts by typing --~~~~ .

--Thinker 21:07, 22 September 2006 (CEST)

Skipping system libraries

How do you set the script to search only $DEST/lib for libraries instead of /usr/local/lib? I am on slackware, which still uses monolithic xorg 6.9 so it all has to be made from scratch

--Singularity 21:14, 22 September 2006 (CEST)

I don't know. Looking at man, maybe adding the -z nodeflib linker option will do the trick.

--Thinker 22:26, 22 September 2006 (CEST)

Add the option to what? I dont understand why LD_LIBRARY_PATH doesn't do the trick -- if the linker doesn't find the libs in /usr/local/lib then IN THEORY shouldn't it search the path in LD_LIBRARY_PATH? Something is wrong here, it doesn't make sense why it works if I copy the files from ~/3d-pit/install/lib to /usr/local/lib but that isn't correct...

--Singularity 06:23, 23 September 2006 (CEST)

The script could do with some more robustness, e.g. checking for 'curl' beforehand. Otherwise it looks good and seems to help me, but I can only say after having finished... :)

--Josef 15:38, 5 January 2007 (CET)