Unix Technical Forum

Source files compiled. Why no loadable module?

This is a discussion on Source files compiled. Why no loadable module? within the Linux Operating System forums, part of the Unix Operating Systems category; --> Dear experts, I'm trying to upgrade xfree from 4.1, to 4.3. I read the very long document, and did ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 05:46 PM
linuxquestion@yahoo.com
 
Posts: n/a
Default Source files compiled. Why no loadable module?

Dear experts,

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


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 a host.def file

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

-----------
- ran make

cd /tmp/xfree86/Source4.3.0/xc

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


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

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

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. And
it worked.

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

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


Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 05:46 PM
Jacob Westenbach
 
Posts: n/a
Default Re: Source files compiled. Why no loadable module?

<linuxquestion@yahoo.com> wrote in message
news:672ceaed.0401281253.19e2b405@posting.google.c om...
> Dear experts,
>
> I'm trying to upgrade xfree from 4.1, to 4.3. I
> read the very long document, and did what it said.
>
>
> 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 a host.def file
>
> cd /tmp/xfree86/Source4.3.0/xc/config/cf
> cp xf86site.def host.def
>
> -----------
> - ran make
>
> cd /tmp/xfree86/Source4.3.0/xc
>
> time make World > World.log 2>&1 &
>
>
> Building takes about 25 minutes.
> Generates a 6-7 meg log file.
>
> -------------
>
> 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. And
> it worked.
>
> But I can't find an rpm file, or anything for xfree 4.3.
>
> What am I missing here? What is the big picture?
> What are the commands?
>
>
> Thanks


You've overlooked the obvious -- because you did not use an rpm package to
install/update xfree, the rpm database has no way of knowing that anything
has changed.

You will need to first use rpm to remove the 4.1 version (rpm -e xfree86)
and then perform the configure/make/make install process.

Personally, I'd search for a source rpm and use rpm --rebuild to create an
installable .rpm which can then be used to update the 4.1 and the rpm
database.

JW


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 05:47 PM
linuxquestion@yahoo.com
 
Posts: n/a
Default Re: Source files compiled. Why no loadable module?

I'm just wondering. Have you actually done an upgrade from 4.x, to 4.3?

You say that to update the rpm database, you have to use the rpm command.
So, to enter XFree86-4.3 into the database, you would have to run the rpm
command, in order to update it. But, in the 6 mb log file of the
compilation, there is no mention at all of ".rpm", or "rpm". So, how
do I get the rpm, in order to run the command? I downloaded the only
source available.

Also, there a LOT of dependencies on X. Removing X would require
reloading dozens, maybe hundreds of packages. Which ones were they
again? They also have interdependencies. And then, you still
need the 4.3 rpm.

If followed the directions from the website closely, but still
can't find the rpm. Does anyone know how to get the rpm from this
compilation?

Thanks


> You've overlooked the obvious -- because you did not use an rpm package to
> install/update xfree, the rpm database has no way of knowing that anything
> has changed.
>
> You will need to first use rpm to remove the 4.1 version (rpm -e xfree86)
> and then perform the configure/make/make install process.
>
> Personally, I'd search for a source rpm and use rpm --rebuild to create an
> installable .rpm which can then be used to update the 4.1 and the rpm
> database.
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 05:47 PM
Andreas Tretow
 
Posts: n/a
Default Re: Source files compiled. Why no loadable module?

On Thu, 29 Jan 2004 13:17:01 -0800, linuxquestion wrote:

[Top posting fixed; comp.os.linux.hardware removed, Followup-to set to
linux.redhat.install]

>> You've overlooked the obvious -- because you did not use an rpm package to
>> install/update xfree, the rpm database has no way of knowing that anything
>> has changed.
>>
>> You will need to first use rpm to remove the 4.1 version (rpm -e xfree86)
>> and then perform the configure/make/make install process.
>>
>> Personally, I'd search for a source rpm and use rpm --rebuild to create an
>> installable .rpm which can then be used to update the 4.1 and the rpm
>> database.
>>

> I'm just wondering. Have you actually done an upgrade from 4.x, to 4.3?


Does it matter?

> You say that to update the rpm database, you have to use the rpm command.
> So, to enter XFree86-4.3 into the database, you would have to run the rpm
> command, in order to update it. But, in the 6 mb log file of the
> compilation, there is no mention at all of ".rpm", or "rpm". So, how
> do I get the rpm, in order to run the command? I downloaded the only
> source available.
>
> Also, there a LOT of dependencies on X. Removing X would require
> reloading dozens, maybe hundreds of packages. Which ones were they
> again? They also have interdependencies. And then, you still
> need the 4.3 rpm.
>
> If followed the directions from the website closely, but still
> can't find the rpm. Does anyone know how to get the rpm from this
> compilation?
>


First of all, please stop top posting, it makes it so much harder to
follow the thread. Also, please do not cross-post to so many newsgroups,
especially if they are not exactly applicable (comp.os.linux.hardware) and
more importantly don't forget to set a Followup-to header.

There is a wealth of information on the net on how to build rpms.

Why don't you ask your distro vendor for an update to XFree 4.3 (you are
using the Enterprise version aren't you?)? In case he doesn't supply one
you might want to try one from www.whiteboxlinux.org, which you can find
here for example:

ftp://mirror.physics.ncsu.edu/pub/wh...6/RedHat/RPMS/

Beware of dependency issues though.

HTH
Andreas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-17-2008, 05:48 PM
Walter Mautner
 
Posts: n/a
Default Re: Source files compiled. Why no loadable module?

linuxquestion@yahoo.com wrote:

> Dear experts,
>
> I'm trying to upgrade xfree from 4.1, to 4.3. I
> read the very long document, and did what it said.
>
>
> 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 a host.def file
>
> cd /tmp/xfree86/Source4.3.0/xc/config/cf
> cp xf86site.def host.def
>
> -----------
> - ran make
>
> cd /tmp/xfree86/Source4.3.0/xc
>
> time make World > World.log 2>&1 &
>
>
> Building takes about 25 minutes.
> Generates a 6-7 meg log file.
>
> -------------
>
> 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.
>

.......
and where is the final "make install"?
You may want to use "checkinstall make install" to create a specific rpm
which you can also uninstall.
Checkinstall is available as rpm I think .
--
Longhorn error#4711: TCPA / NGSCB VIOLATION: Microsoft optical mouse
detected penguin patterns on mousepad. Partition scan in progress
to remove offending incompatible products. Reactivate your MS software
(3 days grace period). [LinuxCounter#295241]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-17-2008, 05:48 PM
Kirth Gersen
 
Posts: n/a
Default Re: Source files compiled. Why no loadable module?

On Thu, 29 Jan 2004 13:17:01 -0800, linuxquestion wrote:

> I'm just wondering. Have you actually done an upgrade from 4.x, to 4.3?
>
> You say that to update the rpm database, you have to use the rpm command.
> So, to enter XFree86-4.3 into the database, you would have to run the rpm
> command, in order to update it. But, in the 6 mb log file of the
> compilation, there is no mention at all of ".rpm", or "rpm". So, how
> do I get the rpm, in order to run the command? I downloaded the only
> source available.
>
> Also, there a LOT of dependencies on X. Removing X would require
> reloading dozens, maybe hundreds of packages. Which ones were they
> again? They also have interdependencies. And then, you still
> need the 4.3 rpm.
>
> If followed the directions from the website closely, but still
> can't find the rpm. Does anyone know how to get the rpm from this
> compilation?
>
> Thanks
>
>
>> You've overlooked the obvious -- because you did not use an rpm package to
>> install/update xfree, the rpm database has no way of knowing that anything
>> has changed.
>>
>> You will need to first use rpm to remove the 4.1 version (rpm -e xfree86)
>> and then perform the configure/make/make install process.
>>
>> Personally, I'd search for a source rpm and use rpm --rebuild to create an
>> installable .rpm which can then be used to update the 4.1 and the rpm
>> database.
>>


after running make World to compile X
you should run make install and make install.man
and X should be installed.
But on a rpm system that's a dangerous thing to do.
The rpm database still thinks X 4.1 is available and it isn't, of course.

You'd be better off installing from a binary package:
Some kind soul has done all the work for you.

Kirth.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-17-2008, 05:49 PM
linuxquestion@yahoo.com
 
Posts: n/a
Default Re: Source files compiled. Why no loadable module?

> ......
> and where is the final "make install"?
> You may want to use "checkinstall make install" to create a specific rpm
> which you can also uninstall.
> Checkinstall is available as rpm I think .


Good catch. I did do that (make install), but still, did not get
an rpm file. Same symptoms unfortunately.

I've installed a number of packages from .src.rpm tonight. It's
nothing like the instructions for XFREE 4.3.

Really very odd. I actually have two different kernels running on
my machines. 2.4.9, and 2.4.20. Only run one at one time though. (I
needed up upgrade.) So, why can't I get two versions of XFree on
the machine?

If I install a newer package as an upgrade, would it "overwrite" the
original, and update all the dependencies?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-17-2008, 05:50 PM
Gene
 
Posts: n/a
Default Re: Source files compiled. Why no loadable module?

On Saturday 31 January 2004 00:04 linuxquestion@yahoo.com wrote:

>> ......
>> and where is the final "make install"?
>> You may want to use "checkinstall make install" to create a specific
>> rpm which you can also uninstall.
>> Checkinstall is available as rpm I think .

>
> Good catch. I did do that (make install), but still, did not get
> an rpm file. Same symptoms unfortunately.
>
> I've installed a number of packages from .src.rpm tonight. It's
> nothing like the instructions for XFREE 4.3.
>
> Really very odd. I actually have two different kernels running on
> my machines. 2.4.9, and 2.4.20. Only run one at one time though. (I
> needed up upgrade.) So, why can't I get two versions of XFree on
> the machine?
>
> If I install a newer package as an upgrade, would it "overwrite" the
> original, and update all the dependencies?


Its supposed to. And then the newer one should work with the older
kernel, although I'm not sure I could find a legit reason to back up
versions in the stable series. I'm on 2.6.2-rc3 ATM for about 15
minutes, seems to be working so far.

--
---
Cheers, Gene
There are 4 boxes to be used in the defense of liberty:
Soap, Ballot, Jury, and Ammo. Please use in that order.
-Ed Howdershelt (Author)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:03 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com