LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Can't Install Cdfs! (https://www.linuxquestions.org/questions/suse-opensuse-60/cant-install-cdfs-242074/)

grim2 10-13-2004 05:59 AM

Can't Install Cdfs!
 
Hi!

I have problems with installing cdfs on SLES 8.
I have downloaded file cdfs-2.6.3a.tar.bz2 to /usr directory.
(http://www.elis.rug.ac.be/~ronsse/cdfs/download/).
Then extracted it with command:

# tar -xjvv cdfs-2.6.3a.tar.bz2

Move to the created directory:

# cd /usr/cdfs-2.6.3a

Then I check INSTALL file and tried to compile with command:

# make

First I got a message that "The present kernel configuration has modules disabled. ....." . So I executed:

# cd /usr/src/linux
# make menuconfig

I check "Enable loadable module support" and "Kernel module loader". They have allready been checked. I recompile kernel with commands:

# make dep && make clean bzImage modules modules_install
# mount /boot
# cp /usr/src/linux/arch/i386/boot/bzImage /boot/
# reboot

All works fine without any errors.

Then I tried to compile again:

# make

But I got an error:

traka:/usr/cdfs-2.6.3a # make
make -C /lib/modules/2.4.19-64GB-SMP/build SUBDIRS=/usr/cdfs-2.6.3a modules
make[1]: Entering directory `/usr/src/linux-2.4.19.SuSE'
make -C /usr/cdfs-2.6.3a CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraph
s -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE" MAKING_MODULES=1 modules
make[2]: Entering directory `/usr/cdfs-2.6.3a'
make[2]: *** No rule to make target `modules'. Stop.
make[2]: Leaving directory `/usr/cdfs-2.6.3a'
make[1]: *** [_mod_/usr/cdfs-2.6.3a] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19.SuSE'
make: *** [all] Error 2
traka:/usr/cdfs-2.6.3a #

So I don'n know what is wrong. There is a Make file in current directory.
I have tied with command:

# make Makefile

But I got an message: "Nothing to be done for 'Make file'.

Also, I have tried with RPM cdfs-0.5c-1.i686.rpm but that haven't worked neither. (http://rpm.pbone.net/index.php3/stat....i686.rpm.html)

My configuration is:
OS: Suse Linux Enterprise Server 8
Kernel: 2.4.19-64GB-SMP
Server: Primergy H400

Can anybody help me with this? Give me step by step instructions.

Thanks!

rjlee 10-13-2004 06:18 AM

You should run
Code:

make mrproper
before running
Code:

make menuconfig
It also helps if you go through the options and configure it for your system.

For a 2.4 kernel you also need to run
Code:

make dep
prior to running make, or the dependencies won't be set up and make will almost certainly fail and/or produce an invalid kernel. You also need to run
Code:

make modules modules_install install
if you want your newly compiled kernel to be installed through lilo.

Make sure that you have a boot option for your old kernel before installing the newer one. You may also want to use
Code:

make bzimage
and install it by hand.

Your first step should be to look for instructions on recompiling your kernel…


All times are GMT -5. The time now is 11:29 AM.