Difference between revisions of "Talk:How to compile an experimental X server"

From ThinkWiki
Jump to: navigation, search
(Skipping system libraries)
Line 32: Line 32:
 
--[[User:Thinker|Thinker]] 21:07, 22 September 2006 (CEST)
 
--[[User:Thinker|Thinker]] 21:07, 22 September 2006 (CEST)
  
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 --[[User:Singularity|Singularity]] 21:14, 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  
 +
 
 +
--[[User:Singularity|Singularity]] 21:14, 22 September 2006 (CEST)
 +
 
 +
I don't know. Looking at <tt>man ld.so</tt>, maybe adding the <tt>-z nodeflib</tt> linker option will do the trick.
 +
 
 +
--[[User:Thinker|Thinker]] 22:26, 22 September 2006 (CEST)

Revision as of 21:26, 22 September 2006

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)