LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2004, 03:59 PM   #1
Darrell22
Member
 
Registered: Nov 2003
Posts: 79

Rep: Reputation: 15
Compiled source files. Why no loadable module?


Dear experts,

I'm trying to upgrade xfree from 4.1, to 4.3. I
read their very long document, and did what it said.


I downloaded the source files and extracted them:

cd /tmp/xfree86/Source4.3.0

gzip -d < X430src-1.tgz | tar vxf -
gzip -d < X430src-2.tgz | tar vxf -
gzip -d < X430src-3.tgz | tar vxf -
gzip -d < X430src-4.tgz | tar vxf -
gzip -d < X430src-5.tgz | tar vxf -
gzip -d < X430src-6.tgz | tar vxf -
gzip -d < X430src-7.tgz | tar vxf -

-----------
- created the host.def file

cd /tmp/xfree86/Source4.3.0/xc/config/cf
cp xf86site.def host.def

-----------
- make/compiled it all

cd /tmp/xfree86/Source4.3.0/xc

time make World > World.log 2>&1 &

Builds - takes about 25 minutes.
Generates 6-7 meg log file.


-------------

- do some more things

From xc/programs/Xserver, run:
make Makefile
make Makefiles
make includes
make depend
make

pwd
/tmp/xfree86/Source4.3.0/xc/programs/Xserver

make Makefile, etc.

...

../../lib/lbxutil/liblbxutil.a randr/librandr.a render/librender.a hw/xnest/libxnest.a Xext/libext.a dbe/libdbe.a record/librecord.a GL/glx/libglx.a GL/mesa/GLcore/libGLcore.a XTrap/libxtrap.a os/libcwrapper.o ../../lib/font/libXfont.a -lfreetype dix/libxpstubs.a -L../../exports/lib -lXext -lX11 -lz -lm
-Wl,-rpath-link,../../exports/lib
+ mv -f Xvfb Xvfb.bak
gcc -o Xvfb -O2 -fno-strength-reduce -ansi -pedantic -Wall -Wpointer-arith -Wundef -L../../exports/lib hw/vfb/stubs.o hw/vfb/miinitext.o hw/vfb/dpmsstubs.o dix/libdix.a os/libos.a ../../exports/lib/libXau.a ../../exports/lib/libXdmcp.a hw/vfb/libvfb.a fb/libfb.a mfb/libmfb.a dix/libxpstubs.a mi/libmi.a Xext/libexts.a xkb/libxkb.a Xi/libxinput.a lbx/liblbx.a
../../lib/lbxutil/liblbxutil.a randr/librandr.a render/librender.a mi/libmi.a Xext/libext.a dbe/libdbe.a record/librecord.a GL/glx/libglx.a GL/mesa/GLcore/libGLcore.a XTrap/libxtrap.a os/libcwrapper.o ../../lib/font/libXfont.a -lfreetype dix/libxpstubs.a -lz -lm
-Wl,-rpath-link,../../exports/lib

-------------

I'm expecting to find the 4.3 module for xfree,
but I can't find anything:


rpm -qa | grep -i free

XFree86-libs-4.1.0-29
XFree86-ISO8859-15-75dpi-fonts-4.1.0-29
XFree86-xdm-4.1.0-29
XFree86-devel-4.1.0-29
XFree86-compat-modules-3.3.6-43
freetype-2.0.3-7
XFree86-4.1.0-29
XFree86-100dpi-fonts-4.1.0-29
XFree86-ISO8859-15-100dpi-fonts-4.1.0-29
XFree86-tools-4.1.0-29
freetype-devel-2.0.3-7
XFree86-doc-4.1.0-29
XFree86-xfs-4.1.0-29
XFree86-75dpi-fonts-4.1.0-29
XFree86-twm-4.1.0-29
XFree86-xf86cfg-4.1.0-29



find / -type f -name *.rpm | grep -i free
- nothing



------------

When I upgraded the kernel from source, I
got an rpm file, that I then installed.

But I can't find an rpm file for xfree 4.3.


What am I missing here? What is the big picture?
What are the commands?


Thanks
 
Old 01-28-2004, 11:48 PM   #2
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 389

Rep: Reputation: 52
Compiling XFree86 won't result in an RPM package.

I'm looking at the bottom of http://www.xfree86.org/current/BUILD4.html; it says if the compile was successful (that is, there are no errors in World.log) type make install, then make install.man.

You should uninstall your XFree86 RPMs because you'll be overwriting the files the XFree86 RPMs installed with the ones you compiled.

Lyle
 
Old 01-29-2004, 05:27 AM   #3
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
if your comileing y did u make a alternate .rmp file just so u can install it? make install s quicker and easyer, and last i checked no modules were needed that you should know of, type startx does everyhitng for you after you configure it
 
Old 01-30-2004, 01:23 PM   #4
Darrell22
Member
 
Registered: Nov 2003
Posts: 79

Original Poster
Rep: Reputation: 15
Thanks for responding. So, if I compile XFree86, what will I get?
How do I work with it? Am I supposed to run an executable or
script now?

I tried the suggestions, but still get problems. Any ideas?



make install


...
make[1]: Leaving directory `/tmp/xfree86/Source4.3.0/xc'

real 1m2.842s
user 0m22.100s
sys 0m15.200s

-----------

make install.man

...
make[1]: Leaving directory `/tmp/xfree86/Source4.3.0/xc'
------------

startx

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-18.10.1 i686 [ELF]
Build Date: 28 January 2004
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Jan 28 23:05:27 2004
(==) Using config file: "/etc/X11/XF86Config"
Parse error on line 242 of section InputDevice in file /etc/X11/XF86Config
"Device" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()

Fatal server error:
no screens found

Which is my original problem. Will post the file in another post.
 
Old 01-30-2004, 02:01 PM   #5
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 389

Rep: Reputation: 52
Follow the directions in this post:

http://www.linuxquestions.org/questi...752#post621752

Lyle
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ndiswrapper module not loadable quarry_06 Linux - Wireless Networking 9 08-10-2005 09:25 PM
how to add new loadable module to kernel? Mistreated Linux - Software 7 02-02-2005 11:22 AM
RedHat 9 (2.4.20-8) kernel rebuild without loadable module support RedHatDude Linux - Software 4 09-09-2003 10:32 PM
RedHat 9 (2.4.20-8) kernel rebuild without loadable module support RedHatDude Red Hat 1 09-09-2003 10:20 PM
loadable kernel module brajesh Linux - General 2 01-17-2003 01:54 AM


All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration