Help - Search - Members - Calendar
Full Version: XFree86 src RPM rebuild
MandrivaUsers.org > Advanced Topics > Command Line, Kernel and Programming
tyme
I've never done this before, but would like to do it now that I know how to optimize it for my architecture (athlon). That is, I want to rebuild XFree86 from source RPMs, but I'm unsure of which files I will need, and also the best place to find them at. So far I've only found: XFree86-4.3-5mdk.src.rpm

will this be enough, or are there other src files I will need?

thanks!
aru
IMHO that file is the only one you need. Once you rebuild the package rpm will create all the rpm binary packages for install.
tyme
yeah, i built that one last night. not sure why I asked the question when I was gonna build it anyways, but atleast in the future someone will be able to find the answer.

the resultant files are the following:
X11R6-contrib-4.3-5mdk.athlon.rpm
XFree86-100dpi-fonts-4.3-5mdk.athlon.rpm
XFree86-4.3-5mdk.athlon.rpm
XFree86-75dpi-fonts-4.3-5mdk.athlon.rpm
XFree86-cyrillic-fonts-4.3-5mdk.athlon.rpm
XFree86-devel-4.3-5mdk.athlon.rpm
XFree86-doc-4.3-5mdk.athlon.rpm
XFree86-glide-module-4.3-5mdk.athlon.rpm
XFree86-libs-4.3-5mdk.athlon.rpm
XFree86-server-4.3-5mdk.athlon.rpm
XFree86-static-libs-4.3-5mdk.athlon.rpm
XFree86-xfs-4.3-5mdk.athlon.rpm
XFree86-Xnest-4.3-5mdk.athlon.rpm
XFree86-Xvfb-4.3-5mdk.athlon.rpm
tyme
it seems I've gotten myself into a problem here. when I attempt to start X now, after installing these new RPMs, i get the error:
CODE
Could not init font path element unix/:-1, removing from list!
followed by:
CODE
Fatal server error: could not open default font 'fixed'


I installed all the files that were previously installed, so I'm going to guess the problem is other font related RPMs that I need to re-install? any ideas? Thanks for the help!

nevermind: this problem was fixed simply by restarting xfs in the manner of:
CODE
# service xfs stop

# service sfs start


for some reason when I attempted a restart it sort of froze, so this way worked best.
aru
I cannot help you to solve that problem, it can be caused by a high number of possibities (from a full /tmp partition, to a wrong compilation, passing by a socket error). There should be some clues in the logs (system and X).

Meanwhile if you want to test your brand new X compilation you can override the font problem changing in /etc/X11/XF86Config-4 the:

FontPath "unix/:-1"
to
FontPath "/usr/X11R6/lib/X11/fonts/"

HTH
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.