PDA

View Full Version : Xorg 7.3 install guide


TheIcebreaker
10-24-2007, 04:09 AM
CAn somebody who is successful post a brief guide to build Xorg 7.3.

I am facing problems dloading from git as i am behind a http proxy requiring authentication.

I am running FC4 Xorg 6.8.2 kernel 2.6.17 and have my reasons not to upgrade the distro.

Will 7.3 work with this.

Thanks any way

TheIcebreaker
10-24-2007, 05:14 AM
Well folks now i think that since 7.3 is toooo new to install i will make do with 7.2

i have dloaded the tarballs
what do i do next.????

Michael
10-24-2007, 08:59 AM
Have you considered just pointing your yum repos to one from say Fedora 7 and then selectively upgrading all X related packages?

TheIcebreaker
10-24-2007, 10:26 PM
Have you considered just pointing your yum repos to one from say Fedora 7 and then selectively upgrading all X related packages?

are you sure that wont vreate any probs wht soever
can generaly packages created for fc7 be installed on another Fc (lower versions)

wont it have higher dependencies


moreover i wud really like to bbuild X and keep my original as well so that i can switch when necessary

Xipeos
10-25-2007, 11:29 AM
See this (http://www.x.org/wiki/ModularDevelopersGuide).

Short version:
1. download everything from here (http://xorg.freedesktop.org/archive/X11R7.3/src/everything/)
2. download damageproto 1.1 (http://xorg.freedesktop.org/archive/individual/proto/damageproto-1.1.0.tar.bz2) separately
3. download latest Mesa3D and unpack it somewhere near
4. download the build-from-tarballs.sh (http://gitweb.freedesktop.org/?p=xorg/util/modular.git;a=blob_plain;f=build-from-tarballs.sh) script
5. assuming you're installing to /usr/X11R7.3:
- export PATH=/usr/X11R7.3/bin:$PATH
- export PKG_CONFIG_PATH=/usr/X11R7.3/lib/pkgconfig:$PKG_CONFIG_PATH

6. ./build-from-tarballs.sh -m PATH_TO_MESA -n -bz2 -e /usr/X11R7.3

That's it.

EDIT: you may have to modify the script to suit your needs. I added -j8 to make, removed fonts, docs and all the drivers I didn't need.

TheIcebreaker
10-25-2007, 09:58 PM
See this (http://www.x.org/wiki/ModularDevelopersGuide).

Short version:
1. download everything from here (http://xorg.freedesktop.org/archive/X11R7.3/src/everything/)
2. download damageproto 1.1 (http://xorg.freedesktop.org/archive/individual/proto/damageproto-1.1.0.tar.bz2) separately
3. download latest Mesa3D and unpack it somewhere near
4. download the build-from-tarballs.sh (http://gitweb.freedesktop.org/?p=xorg/util/modular.git;a=blob_plain;f=build-from-tarballs.sh) script
5. assuming you're installing to /usr/X11R7.3:
- export PATH=/usr/X11R7.3/bin:$PATH
- export PKG_CONFIG_PATH=/usr/X11R7.3/lib/pkgconfig:$PKG_CONFIG_PATH

6. ./build-from-tarballs.sh -m PATH_TO_MESA -n -bz2 -e /usr/X11R7.3

That's it.

EDIT: you may have to modify the script to suit your needs. I added -j8 to make, removed fonts, docs and all the drivers I didn't need.

Ok thanks but a couple of things still linger:-

1. why do you need to dload damageproto separately.
2. I have X116.8.2 installed in /usr/X11R6 and i want to use both interghangeably just for the reason that I may end up with some problem in 7.3.
i) Will running X11R7.3 change my system so that i cant revert back.
ii) How could i accomplish this.

Xipeos
10-26-2007, 04:31 AM
1. why do you need to dload damageproto separately.

You need damageproto 1.1.0 to compile, but only 1.0.3 is provided in the 7.3 tree.

*EDIT: meh this is no longer true, sorry for the false information.


2. I have X116.8.2 installed in /usr/X11R6 and i want to use both interghangeably just for the reason that I may end up with some problem in 7.3.
i) Will running X11R7.3 change my system so that i cant revert back.
ii) How could i accomplish this.


Move /usr/X11R6 to /usr/X11R6_old then create a link from 7.3 to R6:
mv /usr/X11R6 /usr/X11R6_old&&ln -s /usr/X11R7.3 /usr/X11R6

Some people intall X11 directly in /usr, but this way it's cleaner and much easier to up/downgrade.

When you want to go back, simply remove the link and rename X11R6_old to X11R6.

TheIcebreaker
10-28-2007, 10:55 AM
I tried the above metod got all the dependencies and after multiple build attempts i am getting errors.

error in building input evdev ,vmmouse for a few
what do i do.


You need damageproto 1.1.0 to compile, but only 1.0.3 is provided in the 7.3 tree.

*EDIT: meh this is no longer true, sorry for the false information.



Move /usr/X11R6 to /usr/X11R6_old then create a link from 7.3 to R6:
mv /usr/X11R6 /usr/X11R6_old&&ln -s /usr/X11R7.3 /usr/X11R6

Some people intall X11 directly in /usr, but this way it's cleaner and much easier to up/downgrade.

When you want to go back, simply remove the link and rename X11R6_old to X11R6.

Xipeos
10-28-2007, 10:59 AM
error in building input evdev ,vmmouse for a few
what do i do.

You most likely do not need any other input drivers than keyboard, mouse and joystick. I do not know why evdev, vmmouse and the others fail, but I don't really care (I just removed them from the beginning like I said before).

TheIcebreaker
10-28-2007, 12:03 PM
can you just post an ls -R of your build directory

You most likely do not need any other input drivers than keyboard, mouse and joystick. I do not know why evdev, vmmouse and the others fail, but I don't really care (I just removed them from the beginning like I said before).

Xipeos
10-29-2007, 09:43 AM
can you just post an ls -R of your build directory

No. Why would you want it? Here (http://pastebin.ca/753655)'s the script diff though (I'm assuming this is want you really want).

TheIcebreaker
10-29-2007, 10:05 AM
Well the install went well.
Everything was built except some input drivers and video-glide.
But as you said i dont need that.

Problem now is that I tried to install the fglrx driver on the new Xorg after symlinking and all that.
installer said everything ok.

But there were no Libfglrx files inside and no aticonfig
it only copied a dri module in X11R7.3/modules/dri

but modules are supposed to be in xorg/modules I suppose.
In the end expectedly the fglrx module did not load and X could not start.
any ideas.

Xipeos
10-29-2007, 11:25 AM
But there were no Libfglrx files inside and no aticonfig
it only copied a dri module in X11R7.3/modules/dri


I can't know for sure, as I don't know how your system is set up. In my experience, the ati installer puts its files in /usr/lib/{dri,xorg} which are symlinks to /usr/X11/lib/{modules/dri,xorg} respectively. You should check that those links are not broken, or the installer will just abandon.


but modules are supposed to be in xorg/modules I suppose.

On my system, only libfglrxdrm.so and fglrx_drv.so are in xorg/modules/{linux,drivers}.

TheIcebreaker
10-30-2007, 08:03 AM
are plz give me your ls -R X11R7.3
I need to verify wat all is missing.


I dont have many programs in bin like
1 xterm
2 glxinfo
3 glxgears

etc

Xipeos
10-30-2007, 12:13 PM
I dont have many programs in bin like
1 xterm
2 glxinfo
3 glxgears

etc

That's because they come from different packages. xterm from xterm (obviously) and glxinfo&gears from MesaDemos.

I considered for a moment pasting ls -R somewhere, but it's 5000 something lines. Here's ls /usr/X11/bin though:

# ls /usr/X11R7.3_old/bin/
X@ dga* inw@ oclock* smproxy* xconsole* xfindproxy* xkbvleds* xmore* xset* xvinfo*
Xnest* editres* ioport* outb@ startx* xcursorgen* xfontsel* xkbwatch* xon* xsetmode* xwd*
Xorg* fontname.sh* lbxproxy* outl@ sxpm* xcutsel* xfs* xkill* xorgconfig* xsetpointer* xwininfo*
Xvfb* fontprop.sh* listres* outw@ twm* xdbedizzy* xfsinfo* xload* xphelloworld* xsetroot* xwud*
appres* fonttosfnt* lndir* pcitweak* viewres* xditview* xft-config* xlogo* xplsprinters* xsm*
atobm* fslsfonts* luit* proxymngr* x11perf* xdm* xfwp* xlsatoms* xpr* xstdcmap*
bdftopcf* fstobdf* makedepend* revpath* x11perfcomp* xdmshell* xgamma* xlsclients* xprehashprinterlist* xtrapchar*
beforelight* gccmakedep* makeg* rstart* xauth* xdpr* xgc* xlsfonts* xprop* xtrapin*
bitmap* gtf* makestrs* rstartd* xauth_switch_to_sun-des-1* xdpyinfo* xhost* xmag* xpsimplehelloworld* xtrapinfo*
bmtoa* iceauth* mergelib* scanpci* xbiff* xdriinfo* xinit* xman* xpxthelloworld* xtrapout*
ccmakedep* ico* mkdirhier* sessreg* xcalc* xedit* xkbbell* xmessage* xrandr* xtrapproto*
cleanlinks* imake* mkfontdir* setxkbmap* xclipboard* xev* xkbcomp* xmh* xrdb* xtrapreset*
cvt* inb@ mkfontscale* showfont* xclock* xeyes* xkbevd* xmkmf* xrefresh* xtrapstats*
cxpm* inl@ mkhtmlindex* showrgb* xcmsdb* xfd* xkbprint* xmodmap* xrx* xvidtune*



If you followed the instructions, and only some drivers failed, then you *have* everything.

TheIcebreaker
10-31-2007, 02:55 AM
i dont have the dmx* binaries as well
though i have the libdmx libs in X11R7.3/lib

Xipeos
10-31-2007, 09:46 AM
i dont have the dmx* binaries as well
though i have the libdmx libs in X11R7.3/lib

That's because you didn't compile Xdmx. You most likely do not need it (it provides means to use multi-displays, with each display connected to a different computer).

I've updated my previous post to reflect the contents of a vanilla X11R7.3 build.