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



Maybe Xorg hardcoded the location of that lib somewhere, thus not using $LD_LIBRARY_PATH..
After going nowhere fast, I decided to make a huge dsl extension out of the compile to /opt/xorg72 and load it on a different machine booting from USB. Interestingly, I did not need to run startx as root, xorg found all of the libraries on its own and it worked :)

I've been wondering for a while if the file permissions are somehow messed up on the DIY frugal hd install I compiled xorg on - maybe the problems I've been having bear this out.

Anyway, xorg-7.2 recognises the Intel855 on my other machine (and says it can handle the Intel915, since I recall WDef mentioned this), it looks like I will not need 855wrap and the hw acceleration seems to work.

Now all I have to do is reduce the extension from 220MB and figure out how to make a uci...

hmm interesting.... did you try your extension after booting with "dsl base norestore" -- or basically like a clean livecd/usb?

First you should try renaming it to .tar.gz - reboot cleanly back into "dsl base norestore" and load it again.  Since it's only in /opt/xorg72 it should work.  Now for uci extension... search wiki: extension

Quote
hmm interesting.... did you try your extension after booting with "dsl base norestore" -- or basically like a clean livecd/usb?

I presume you refer to the frugal hd install - no, because the DSL splash with the boot options prompt does not come up on this machine. Booting with "dsl base norestore" would mean modifying lilo.conf and then modifying it back again and this machine takes forever to boot (it also refuses to boot from cd).

Quote
First you should try renaming it to .tar.gz - reboot cleanly back into "dsl base norestore" and load it again.  Since it's only in /opt/xorg72 it should work.

The original compile was made with a symlink /opt/xorg72 --> /mnt/sdb4/opt/xorg72. Unfortunately the frugal hd install machine does not have enough RAM to restore the extension as .dsl or .tar.gz - I could eventually try this with a uci or the unc I made from a compile to /usr/local (built in stages to cope with the lack of RAM).

Quote
Now for uci extension... search wiki: extension

I must have been suffering from temporary blindless when I went there before - I see it now...

I spent some time to eliminate the /man, /doc, .h, .pc, .m4, .a & .la files in the compile as suggested by ^hats^ with the result that the extension is now a trim 180MB...

There are still executable files such as xprint (20-30MB...) that I believe could be eliminated and fonts that could be removed, but it's hard to imagine that the extension will ever be smaller than DSL itself - or DSL-N for that matter since it works on rc4 too.

If there is some interest for those who use new graphics chips and need hw acceleration, etc I could post (probably literally) the extension but I'm not sure the size is exactly in the spirit of DSL - what does anybody think?

Next Page...
original here.