You are not logged in.

#1 2006-02-18 17:25:31

Bysshe
Member
Registered: 2004-12-10
Posts: 271

Very noob question, don't kill me: Xorg7 recompile

Possible?  [ducks]

Offline

#2 2006-02-18 17:42:55

MaceM
Member
From: Austria
Registered: 2003-11-26
Posts: 47

Re: Very noob question, don't kill me: Xorg7 recompile

i'm not really up to date with xorg. mine is 11R6.8.2
but as long as you have a PKGBUILD for 11R7 it should be fairly easy to recompile i guess.

Offline

#3 2006-02-18 18:39:37

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Very noob question, don't kill me: Xorg7 recompile

It is possible, but prepare for a week of work if you're not someone who is doing regular package maintenance tongue

Offline

#4 2006-02-18 19:34:24

Bysshe
Member
Registered: 2004-12-10
Posts: 271

Re: Very noob question, don't kill me: Xorg7 recompile

JGC wrote:

It is possible, but prepare for a week of work if you're not someone who is doing regular package maintenance tongue

Bah, ya.   tongue   Looks like alot of research into what was done, probably patching, compiling gobs of components, and repackaging.  About a week for me, maybe trying to figure what I have to do, then maybe another week getting it done. 

Yeah, I actually tried to do it a couple of weeks ago and realised for the time being it was over my head.

The real curiosity is if it would possibly accept "Os -msse -m3dnow" very simple flags.  I actually get something from this on an AthlonXP with the old Xorg.  Considering, maybe 50-100FPS, in glxgears, that's not very much.  Looks like even less when putting my head to recompiling Xorg7.  Less, as in who gives a crap.  LOL.

**oops meant to say "-msse -m3dnow"

Offline

#5 2006-02-18 20:07:49

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Very noob question, don't kill me: Xorg7 recompile

You could try optimizing the xorg-server package together with the videodriver for your hardware to find out if it really matters that much.

Offline

#6 2006-02-18 20:47:38

Bysshe
Member
Registered: 2004-12-10
Posts: 271

Re: Very noob question, don't kill me: Xorg7 recompile

JGC wrote:

You could try optimizing the xorg-server package together with the videodriver for your hardware to find out if it really matters that much.

I'll give myself some time over the next week (time is short and precious for me) to play with it, and I get the feeling I'll need to give a yell, particularly with the nvidia driver.  Noticed for one, that there's been gobs of updates since I last even touched things, including pacman.  And a new Xorg modular in testing?  I got two threads earmarked on that.   smile

Let me ask, before, Xorg7 PKGBUILD had scripts for installing the rest of the components, and maybe that has changed?

Offline

#7 2006-02-25 04:39:44

Bysshe
Member
Registered: 2004-12-10
Posts: 271

Re: Very noob question, don't kill me: Xorg7 recompile

error:

checking for C compiler default output file name... configure: error: C compiler cannot create executables

Damn.  How did I manage that?  Gcc is working fine, I just can't rebuild xorg-server, glitz, or cairo.  I used to be able to do this.

Offline

#8 2006-02-25 15:47:39

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Very noob question, don't kill me: Xorg7 recompile

Check your CHOST and CFLAGS settings in makepkg.conf. I pass the CHOST variable to the configure script, if you change it from i686-pc-linux-gnu to something else, your compiler won't get found. Same goes for invalid CFLAGS, gcc won't run with those.

Offline

#9 2006-02-25 19:40:09

Bysshe
Member
Registered: 2004-12-10
Posts: 271

Re: Very noob question, don't kill me: Xorg7 recompile

New problems.  But just so you know, I'm trying to use srcpac to rebuild these.  Anyway.  The record:

I did find problems in makepkg.conf and the new one reads exactly

export CARCH="i686"
export CHOST="i686-pc-linux-gnu"
#-- Exclusive: will only run on i686 or higher (P6, Athlon)
export CFLAGS="-march=athlon-xp -Os -pipe -mmmx -msse -m3dnow"
export CXXFLAGS="-march=athlon-xp -Os -pipe -mmmx -msse -m3dnow"

Next the following errors and actions I took ocurred:

checking for XSERVERCFLAGS... configure: error: Package requirements (randrproto renderproto fixesproto damageproto xcmiscproto xextproto xproto xtrans xf86miscproto xf86vidmodeproto xf86bigfontproto scrnsaverproto bigreqsproto resourceproto fontsproto inputproto xf86dgaproto videoproto compositeproto trapproto recordproto resourceproto xineramaproto evieproto xkbfile xfont xau fontenc xdmcp) were not met:

Package damageproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `damageproto.pc'
to the PKG_CONFIG_PATH environment variable
No package 'damageproto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

$pacman -S damageproto
that error "fixed"

checking for XSERVERCFLAGS... configure: error: Package requirements (randrproto renderproto fixesproto damageproto xcmiscproto xextproto xproto xtrans xf86miscproto xf86vidmodeproto xf86bigfontproto scrnsaverproto bigreqsproto resourceproto fontsproto inputproto xf86dgaproto videoproto compositeproto trapproto recordproto resourceproto xineramaproto evieproto xkbfile xfont xau fontenc xdmcp) were not met:

Package compositeproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `compositeproto.pc'
to the PKG_CONFIG_PATH environment variable
No package 'compositeproto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

$pacman -S compositeproto
supposedly now "fixed"  big_smile I am a newby, though.

Here's the error that finally got me:

checking whether to build Xdmx DDX... checking for DMXMODULES... yes
configure: error: Xdmx build explicitly requested, but required
                              modules not found.

Now I'm scratching my head again.  Thanks a bunch.  big_smile

Offline

Board footer

Powered by FluxBB