Talk:How to compile an experimental X server

From ThinkWiki
Revision as of 05:29, 23 September 2006 by Singularity (Talk | contribs) (Skipping system libraries)
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 autogen.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
Aborting.
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?

--Singularity

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 ld.so, 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 fails...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)