Closed CustomIcon closed 3 years ago
Hi @pokurt - I assume this issue is under Arch Linux?
May I also know which command was used to build / install nchat?
Here are the commands i used:
git clone https://aur.archlinux.org/nchat-git.git && cd nchat-git
makepkg -s # this will build tdlib and also build nchat client with tdlib
makepkg -i # where it fails
manually installing by going into build directory of nchat and type in sudo make install
works for now.
nchat creates it's man pages in /usr/local/share/man. However sometimes this is a link to /usr/local/man and that's why it fails. For a quick fix
delete the link,
sudo rm /usr/local/share/man
Install the program usingmakepkg -i
Move the created file '/usr/local/share/man/man1/nchat.1.gz' to '/usr/local/man/man1.' Recreate the linkcd /usr/local/share && sudo ln -s ../man man
Hi - a fix for this has been implemented in above commit. It changes the default man-page install path for nchat
, and also makes nchat
respect CMAKE_INSTALL_MANDIR
if set.
The AUR repository https://aur.archlinux.org/nchat-git.git is not updated yet. But once it's updated to point to latest nchat
, I think the install error reported in this issue should go away. Please let me know if it doesn't. Thanks!
I've tested it and it works fine. The AUR repo has been updated to use the make.sh to build. I know the pkg version in the AUR repo 2.04 but that is automatically generated when you build using makepkg. It uses the master branch of the nchat repository. I will update the README and make a pull request.
The same issue i had when I used another app called weechat. but they fixed in a later update. however I dont know the exact commit but here is the thread: https://bbs.archlinux.org/viewtopic.php?id=201322 seems like same thing is happening here in nchat. i can use it in build directory however, unable to install it.