Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing dependecies on rpm #1380

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

missing dependecies on rpm #1380

fbacchella opened this issue Apr 1, 2013 · 4 comments
Labels
Type: Building Indicates an issue related to building binaries
Milestone

Comments

@fbacchella
Copy link

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
Copy link
Contributor

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
Copy link

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
Copy link
Contributor

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 added a commit to openzfs/spl that referenced this issue Apr 3, 2013
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 openzfs/zfs#1380
behlendorf added a commit to openzfs/spl that referenced this issue Apr 3, 2013
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 openzfs/zfs#1380
behlendorf added a commit that referenced this issue Apr 3, 2013
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
@behlendorf
Copy link
Contributor

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 pushed a commit to unya/zfs that referenced this issue Dec 13, 2013
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 openzfs#1380
unya pushed a commit to unya/zfs that referenced this issue Dec 13, 2013
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 openzfs#1380
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Building Indicates an issue related to building binaries
Projects
None yet
Development

No branches or pull requests

4 participants
@behlendorf @fbacchella @sstj and others