problem building fuse on CentOS 4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Harshavardhana Ranganath wrote:
> Hi Matt,
>
>      Check the rpm spec file for few more options to specify the 
> kernel and
>
> #   --define "ksrc <srcdir>"
> #       Build with kernel header files found in <srcdir>.
> #       By default, the build script will try to find the kernel headers
> #       matching the specified kernel or, if no kernel was specified, the
> #       current kernel.
> #
> #   --define "kernel <version>"
> #       Specify kernel version to build the module for.
> #       By default, the version is derived from the kernel source 
> files, or
> #       failing that, from "uname -r".
>
>       If you have kernel source in non standard path or looks like you 
> have src release tag different than the kernel installed. 
>
>       Check if you have ls -l /usr/src/kernels/ and uname -r match. If 
> they don't match then a proper work around to fix this is to use 
> --define "kernel <version>". Let us see give it a try, if there are 
> issues then we can look into it.

Here is what I'm getting:

[root at windfarm-gw ~]# uname -r
2.6.9-78.0.8.ELsmp
[root at windfarm-gw ~]# ls -l /usr/src/kernels/
total 8
drwxr-xr-x  17 root root 4096 Dec 21 18:44 2.6.9-78.0.8.EL-smp-x86_64
drwxr-xr-x  17 root root 4096 Dec 21 18:43 2.6.9-78.0.8.EL-x86_64

Not quite an exact match.

[root at windfarm-gw ~]# rpmbuild -ta fuse-2.7.3glfs10.tar.gz --with 
modules --define "kernel 2.6.9-78.0.8.EL-smp"

Gives:
RPM build errors:
    File not found: 
/var/tmp/fuse-2.7.3glfs10-1-root-root/lib/modules/2.6.9-78.0.8.EL-smp/kernel/fs/fuse
    File not found: 
/var/tmp/fuse-2.7.3glfs10-1-root-root/lib/modules/2.6.9-78.0.8.EL-smp/kernel/fs/fuse/fuse.ko

And, rpmbuild -ta fuse-2.7.3glfs10.tar.gz --with modules --define 
"kernel 2.6.9-78.0.8.EL-smp-x86_64"

RPM build errors:
    File not found: 
/var/tmp/fuse-2.7.3glfs10-1-root-root/lib/modules/2.6.9-78.0.8.EL-smp-x86_64/kernel/fs/fuse
    File not found: 
/var/tmp/fuse-2.7.3glfs10-1-root-root/lib/modules/2.6.9-78.0.8.EL-smp-x86_64/kernel/fs/fuse/fuse.ko


What should I try next?

-- Matt




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux