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

fix sudo make install failed on Ubuntu 20.04 #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix sudo make install failed on Ubuntu 20.04 #30

wants to merge 1 commit into from

Conversation

kazuk
Copy link

@kazuk kazuk commented Sep 3, 2020

kazuk@kazuk-ubuntu2004:~/Spin$ sudo make install
cd Src; make install
make[1]: ディレクトリ '/home/kazuk/Spin/Src' に入ります
cp		 spin /usr/local/bin/spin
cp		 ../Man/spin.1 /usr/local/share/man/man1/spin.1
cp: 通常ファイル '/usr/local/share/man/man1/spin.1' を作成できません: そのようなファイルやディレクトリはありません
make[1]: *** [makefile:44: install] エラー 1
make[1]: ディレクトリ '/home/kazuk/Spin/Src' から出ます
make: *** [makefile:5: install] エラー 2

by default , Ubuntu 20.04 doesn't have /usr/local/share/man/man1
then need mkdir /usr/local/share/man/man1

```
kazuk@kazuk-ubuntu2004:~/Spin$ sudo make install
cd Src; make install
make[1]: ディレクトリ '/home/kazuk/Spin/Src' に入ります
cp		 spin /usr/local/bin/spin
cp		 ../Man/spin.1 /usr/local/share/man/man1/spin.1
cp: 通常ファイル '/usr/local/share/man/man1/spin.1' を作成できません: そのようなファイルやディレクトリはありません
make[1]: *** [makefile:44: install] エラー 1
make[1]: ディレクトリ '/home/kazuk/Spin/Src' から出ます
make: *** [makefile:5: install] エラー 2
```

by default , Ubuntu 20.04 doesn't have `/usr/local/share/man/man1`
then need `mkdir /usr/local/share/man/man1`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant