[zfs-discuss] debian: zfs failed to install

Kostya Berger bergerkos at yahoo.co.uk
Mon Jan 18 09:07:02 EST 2016

So it seems to be buggy configure script.

Sent from Yahoo Mail on Android 
  On Mon, Jan 18, 2016 at 15:43, Manfred Braun via zfs-discuss<zfs-discuss at list.zfsonlinux.org> wrote:   
Hi @Kostya, at Hajo !


Thanks for the reply. I have build-essential installed.

>which cc            ->           /usr/bin/cc

>which gcc         ->           /usr/bin/gcc


The probably important part in the cobf.log seems to be:


gcc (Debian 4.9.2-10) 4.9.2

Copyright (C) 2014 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO



configure:3401: $? = 0

configure:3390: gcc -v >&5

Using built-in specs.



Target: x86_64-linux-gnu

Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/RE$

Thread model: posix

gcc version 4.9.2 (Debian 4.9.2-10)

configure:3401: $? = 0

configure:3390: gcc -V >&5

gcc: error: unrecognized command line option '-V'

gcc: fatal error: no input files

compilation terminated.



/etc/apt/sources.list looks ok (no testing or such, just 'jessie main').


And even bad: I cannot repeat - the behavior is now another one.

Have I told, it's a Virtualbox VM ? There are the client kernel modules



Thanks so far,




From: zfs-discuss [mailto:zfs-discuss-bounces at list.zfsonlinux.org] On Behalf Of Kostya Berger via zfs-discuss
Sent: Monday, January 18, 2016 11:52 AM
To: zfs-discuss at list.zfsonlinux.org
Subject: Re: [zfs-discuss] debian: zfs failed to install


Obviously wrong path to gcc. What does `which cc` gives off? Do you have gcc installed?

Sent from Yahoo Mail on Android


On Mon, Jan 18, 2016 at 12:29, Manfred Braun via zfs-discuss

<zfs-discuss at list.zfsonlinux.org> wrote:

Hi !

I have a debian VM (virtualbox) for some time and now
decided to make a normal zfs setup.

The dependencies seems to be resolved and the packages
are download, but build fails:

Fetched 2,448 kB in 5s (446 kB/s) 
Preconfiguring packages ...
Selecting previously unselected package spl-dkms.
(Reading database ... 116577 files and directories currently installed.)
Preparing to unpack .../spl-dkms_0.6.5-1_all.deb ...
Unpacking spl-dkms (0.6.5-1) ...
Setting up spl-dkms (0.6.5-1) ...
Loading new spl-0.6.5 DKMS files...
First Installation: checking all kernels...
Building only for 3.16.0-4-amd64
Building initial module for 3.16.0-4-amd64
configure: error: in `/var/lib/dkms/spl/0.6.5/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
Error! Bad return status for module build on kernel: 3.16.0-4-amd64 (x86_64)

Astoundingly, setup continues and failes for zfs-dkms with
'the same' error message. Then setup continues and loading
zfs modules naturally fails.

I am on jessie:
3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux

Any help would really be great!


zfs-discuss mailing list
zfs-discuss at list.zfsonlinux.org

zfs-discuss mailing list
zfs-discuss at list.zfsonlinux.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20160118/ccd6c9fa/attachment.html>

More information about the zfs-discuss mailing list