compiling snapapi for athlon on RH9

Hello
I'm trying to install Acronis True Image 9.1 for Linux on my RH9 server.
Halfway through installation it asks me if I want the system to automatically compile snapapi for me (I don't even know what it is..)
it then gives me an error message.. the error log is below. Please help me on how to compile snapapi for my kernel since I'm clueless..
thanks


Running 'rpm -U --percent --force --nodeps /tmp/RPMS.hG9PoQ/dkms-2.0.4-2.noarch.rpm':
finished
Running 'rpm -U --percent --force --nodeps /tmp/RPMS.hG9PoQ/snapapi_modules-0.7.1-1.noarch.rpm':
finished
Running 'rpm -U --percent --force --nodeps /tmp/RPMS.hG9PoQ/MediaBuilder-9.1.3563-1.i386.rpm':
finished
Running 'rpm -e trueimage':
error: package trueimage is not installed
finished
Running 'rpm -U --percent --force --nodeps /tmp/RPMS.hG9PoQ/TrueImageClient-9.1.3563-1.i386.rpm':
ln: creating symbolic link `/root/Desktop/TrueImage.desktop' to `/usr/lib/Acronis/TrueImageServer/TrueImage.desktop': No such file or directory
finished
Launching '/usr/sbin/dkms install -m snapapi -v 0.7.1 2>&1'.

Error! Could not locate snapapi.o for module snapapi in the DKMS tree.
You must run a dkms build for kernel 2.4.20-31.9 (athlon) first.


Error! Your kernel source for kernel 2.4.20-31.9 cannot be found at
/lib/modules/2.4.20-31.9/build or /lib/modules/2.4.20-31.9/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
exited with status 1.
Acronis True Image Server Setup failed to build kernel modules. Consult /var/log/trueim-setup.log and /var/lib/dkms/snapapi/0.7.1/build/make.log for error messages.
Running 'rpm -e MediaBuilder-9.1.3563-1':
finished
Running 'rpm -e snapapi_modules-0.7.1-1':
error: Failed dependencies:
        snapapi_modules is needed by (installed) TrueImageClient-9.1.3563-1
finished
Running 'rpm -e dkms-2.0.4-2':
error: Failed dependencies:
        dkms >= 2.0.0 is needed by (installed) snapapi_modules-0.7.1-1
finished
Running 'rpm -e TrueImageClient-9.1.3563-1':
finished
Running 'rpm -U --percent --force --nodeps /tmp/RPMS.c2rPAh/dkms-2.0.4-2.noarch.rpm':
finished
Running 'rpm -U --percent --force --nodeps /tmp/RPMS.c2rPAh/snapapi_modules-0.7.1-1.noarch.rpm':
finished
Running 'rpm -U --percent --force --nodeps /tmp/RPMS.c2rPAh/MediaBuilder-9.1.3563-1.i386.rpm':
finished
Running 'rpm -e trueimage':
error: package trueimage is not installed
finished
Running 'rpm -U --percent --force --nodeps /tmp/RPMS.c2rPAh/TrueImageClient-9.1.3563-1.i386.rpm':
ln: creating symbolic link `/root/Desktop/TrueImage.desktop' to `/usr/lib/Acronis/TrueImageServer/TrueImage.desktop': No such file or directory
finished
Launching '/usr/sbin/dkms install -m snapapi -v 0.7.1 2>&1'.

Error! Could not locate snapapi.o for module snapapi in the DKMS tree.
You must run a dkms build for kernel 2.4.20-31.9 (athlon) first.


Error! Your kernel source for kernel 2.4.20-31.9 cannot be found at
/lib/modules/2.4.20-31.9/build or /lib/modules/2.4.20-31.9/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
exited with status 1.
Acronis True Image Server Setup failed to build kernel modules. Consult /var/log/trueim-setup.log and /var/lib/dkms/snapapi/0.7.1/build/make.log for error messages.
eggster34Asked:
Who is Participating?
 
rindiCommented:
You'll have to get the kernel-develeopment tools, and for this old type of kernel probably also the kernel modules to be able to install those things. If you have a working yum, use that in a terminal as root and install those things.

yum install kernel-devel
yum install kernel-modules
yum install kernel-utils

You could also try getting yum extender for a graphical frontend for yum

yum install yumex

0
 
eggster34Author Commented:
for each command it says "cannot find a package matching.."
are you sure these modules are for rh9 ?

I can install pretty much everything else..
0
 
rindiCommented:
They might have another name. Run yum info kernel*, this should show you a list of packages starting with kernel, and then you can install those which are similar to the above.
0
 
eggster34Author Commented:
yum info kernel* returns no results
0
 
rindiCommented:
Could be your repositary isn't complete. check out the following site. although it is for fedora-core it should be similar enough to rh9 for you to catch the important info and google for specifics for rh9:

http://stanton-finley.net/fedora_core_5_installation_notes.html

Mainly check out what is written on yum.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.