-
Notifications
You must be signed in to change notification settings - Fork 30
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
If build with no dkms, breaks build even after install dkms #58
Comments
I've fallen into this Catch-22 myself a few times. Always had to remove the flubbed original try at the dkms install before being successful. |
Try The -i flag will ignore the file exists error |
Telling make to ignore all errors wouldn't feel safe to me as an end-user; it would be far better to have the Makefile itself be more robust. Given that the directory name is built using |
I see your point. But it was just a suggestion. So, the commands: To make the module To clean the build directory To uninstall the module |
I will add a check to the makefile to ensure DKMS is installed. |
I'm using Ubuntu 18.04.4. I cloned this repository, and tried
sudo make dkms
But, got an error:
I installed
dkms
, and then tried to make this again, but got a different error:So, the first failed make had created the directory, but subsequent makes fail if the directory exists. I tried
make clean
, but it didn't remove the created directory. I finally hand-deleted the directory, and thesudo make dkms
got a lot further (it ended up failing, but that'll be a different report).Suggestions:
sudo make clean
remove the source directorydkms
(and other prerequisites?) before creating the source directoryThe text was updated successfully, but these errors were encountered: