DSL Tips and Tricks :: A quick guide on compiling XOrg 7.0 on DSL



Hmm - I read the rsync man pages and tried many things, but never got past this:
Code Sample
# rsync ftp.x.org::ftp/pub/X11R7.2/individual/everything/*.tar.bz2 /tmp
Password:
@ERROR: auth failed on module ftp
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(420)

I tried with password "", "anonymous", "guest" but no luck. Does the other end have to be enabled for rsync?

Edit
----
Got it with:
Code Sample
wget -c --retr-symlinks ftp://ftp.x.org/pub/X11R7.2/individual/everything/*.tar.bz2

I 've been working on building xorg 7.2 from the "build from tarballs" script.

Unlike ^hats^, I tired the script without the -m (mesa) switch but it halts at the application "xdriinfo" with the message "error: cannot find GL library - make sure Mesa or other OpenGL package is installed"

I'm booted from a DSL 3.3 frugal hd install using the tiny X server (or whatever the default is called) and used the prefix /usr/X11R7 with the tarballs script to avoid overwriting anything in /usr/X11R6.

If I try to compile Mesa, I get an error "cannot stat `libGL.so.1.2': No such file or directory" - it's true that this library is not present, but this seems like a catch-22 situation - how can I build xorg if I need to have xorg/xfree86 in the first place? I get an error (perhaps not the same one) whether I try to build with or without hardware acceleration (make linux-x86 or make linux-dri-x86).

The aim is to make an xorg.unc extension, any suggestions would be much appreciated.

Do you really need dri things if you aren't going to build mesa? Perhaps the script doesn't really account for everything without -m.  You could just try commenting it out from building.

My guess about that mesa error is that something went wrong building it before that, so it can't find the file.

But I hope you'll try building mesalib :)
Also, why are you trying to build a unc first?  My understanding is that this can be all self contained - so uci should be optimal in this case... but this is misc. now.

In the end I managed to build mesalib by loading the XFree86/XFree86-dev extensions - xdriinfo built OK when I compiled it at the point the build script failed but on the next full build it couldn't find mesa.

I'm wondering if trying to build xorg in /usr/X11R7 is the problem with mesa/xdriinfo. I can try to build a uci extension - DSL/uci-wise, where would be the best location to build xorg - /usr, /usr/X11R6, /usr/X11R7, /opt or?

uci wise, something in /opt should be fine... such as /opt/xorg72 ?

The output directory shouldn't really affect much....
Afaik /usr/X11R? is not used since xorg has gone modular.  In more traditional systems, libs and binaries are _typically_ placed in system-wide directories (ie /usr/lib* , /usr/bin, etc) and the rest in /usr/xorg

Mixing different versions might be dangerous... if you plan on building libmesa (did you get libdrm?), make sure you get a corresponding version for those as well and that you pass -m to the script.

Next Page...
original here.