zfsonlinux / pkg-zfs

Native ZFS packaging for Debian and Ubuntu
https://launchpad.net/~zfs-native/+archive/daily
308 stars 55 forks source link

g++ missing dependency on Ubuntu trusty (14.04.01) #128

Closed fabrica64 closed 9 years ago

fabrica64 commented 9 years ago

Installing ubuntu-zfs on trusty server (14.04.01) with commands:

add-apt-repository ppa:zfs-native/stable

aptitude (installing ubuntu-zfs and dependencies)

Cannot build zfs and spl kernel modules, logs: ... Setting up dkms (2.2.0.3-1.1ubuntu5+zfs9~trusty) ... Setting up spl-dkms (0.6.3-1~trusty) ... Loading new spl-0.6.3 DKMS files... First Installation: checking all kernels... Building only for 3.13.0-39-generic Building initial module for 3.13.0-39-generic configure: error: in /var/lib/dkms/spl/0.6.3/build': configure: error: C compiler cannot create executables Seeconfig.log' for more details Error! Bad return status for module build on kernel: 3.13.0-39-generic (x86_64) Consult /var/lib/dkms/spl/0.6.3/build/make.log for more information. ... Setting up zfs-dkms (0.6.3-3~trusty) ... Loading new zfs-0.6.3 DKMS files... First Installation: checking all kernels... Building only for 3.13.0-39-generic Building initial module for 3.13.0-39-generic configure: error: in /var/lib/dkms/zfs/0.6.3/build': configure: error: C compiler cannot create executables Seeconfig.log' for more details Error! Bad return status for module build on kernel: 3.13.0-39-generic (x86_64) Consult /var/lib/dkms/zfs/0.6.3/build/make.log for more information. ...

Installed g++ (apt-get install g++) and can compile kernel modules without problems