missing dependecies on rpm #1380

Closed
fbacchella opened this Issue Apr 1, 2013 · 4 comments

Projects

None yet

3 participants

@fbacchella

I'm trying to install zfs on amazon instances, using a Amazon Linux image. It's a Redhat clone distribution.
But it fails because the default installation is very minimal, and the zfs rpm is missing dependencies on gcc and make.

yum install zfs gcc make failes too, because zfs is then installed before gcc and Make.
You should add the missing dependencies on the spec files.

@behlendorf
Member

How are you installing it? If your using the yum repo then the spl/zfs-dkms package has a dependency on dkms and the dkms package should depend on the make.

@sstj
sstj commented Apr 1, 2013

I tried installing on CentOS 6.4 now using these commands from http://zfsonlinux.org/epel.html :
$ sudo yum localinstall --nogpgcheck http://archive.zfsonlinux.org/epel/zfs-release-1-2.el6.noarch.rpm
$ sudo yum install zfs
Had to install perl,make,gcc manually.
Also zfs-dracut seems to be for a completely different distro, installing scripts that doesn't work to wrong location

@behlendorf
Member

Alright thanks for he feedback. I'll sort out the dependency issues with a clean minimal install. As for the dracut package it's for Fedora so the best thing to do might be just to disable it.

@behlendorf behlendorf added a commit to zfsonlinux/spl that referenced this issue Apr 3, 2013
@behlendorf behlendorf Replace the SPL_AC_META perl dependency with awk
The only remaining perl dependency is part of the SPL_AC_META macro.
By eliminating this and replacing it with awk we can avoid the need
to pull in perl to rebuild the packages.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue zfsonlinux/zfs#1380
7fd629d
@behlendorf behlendorf added a commit to zfsonlinux/spl that referenced this issue Apr 3, 2013
@behlendorf behlendorf Add additional dependencies for DKMS package
For the DKMS package to successfully build the kernel-devel
headers must be included along gcc, make, and perl.  The SPL
code never directly invokes perl but the kernel build system
depends on it.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue zfsonlinux/zfs#1380
352bd19
@behlendorf behlendorf added a commit that referenced this issue Apr 3, 2013
@behlendorf behlendorf Replace the ZFS_AC_META perl dependency with awk
The only remaining perl dependency is part of the ZFS_AC_META macro.
By eliminating this and replacing it with awk we can avoid the need
to pull in perl to rebuild the packages.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #1380
d17eeaf
@behlendorf behlendorf added a commit that closed this issue Apr 3, 2013
@behlendorf behlendorf Add additional dependencies for DKMS package
For the DKMS package to successfully build the kernel-devel
headers must be included along gcc, make, and perl.  The ZFS
code never directly invokes perl but the kernel build system
depends on it.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1380
9d248f7
@behlendorf behlendorf closed this in 9d248f7 Apr 3, 2013
@behlendorf
Member

The updated master code now includes the correct dependencies. Using a minimal Centos install I was able to verify everything gets pulled in properly. This fix will appear in the repo when the packages are next updated. In the meanwhile just do a yum install kernel-devel gcc make perl before installing zfs.

@unya unya added a commit to unya/zfs that referenced this issue Dec 13, 2013
@behlendorf @unya behlendorf + unya Replace the ZFS_AC_META perl dependency with awk
The only remaining perl dependency is part of the ZFS_AC_META macro.
By eliminating this and replacing it with awk we can avoid the need
to pull in perl to rebuild the packages.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #1380
dfc4a43
@unya unya added a commit to unya/zfs that referenced this issue Dec 13, 2013
@behlendorf @unya behlendorf + unya Add additional dependencies for DKMS package
For the DKMS package to successfully build the kernel-devel
headers must be included along gcc, make, and perl.  The ZFS
code never directly invokes perl but the kernel build system
depends on it.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1380
17e2f00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment