ardagnir / athame

Full vim for your shell (bash, zsh, gdb, python, etc)
GNU General Public License v3.0
1.63k stars 34 forks source link

Launch or test it's correctly installed #9

Closed soyuka closed 9 years ago

soyuka commented 9 years ago

Hi,

I'm running with zsh and tmux with urxvt. I just install athame and everything seems fine except some mv:

mv /usr/lib/libreadline.a /usr/lib/libreadline.old
mv: could not evaluate « /usr/lib/libreadline.a »: No such file or directory
make: [install-static] Erreur 1 (ignored)
/usr/bin/install -c -m 644 libreadline.a /usr/lib/libreadline.a
test -n "ranlib" && ranlib /usr/lib/libreadline.a
mv /usr/lib/libhistory.a /usr/lib/libhistory.old
mv: could not evaluate « /usr/lib/libhistory.a »: No such file or directory
make: [install-static] Erreur 1 (ignored)
/usr/bin/install -c -m 644 libhistory.a /usr/lib/libhistory.a

Now what? How can I check that the modded libreadline has been installed correctly? How may I test this? I've started a new bash shell (without tmux) but there is no vi. Theoretically this should work with zsh too?

Thanks! This project is looking great, hope it'll get through beta soon :)

g0xA52A2A commented 9 years ago

Hi @soyuka zsh uses zle rather than readline so I wouldn't expect athame to work like it does in bash.

soyuka commented 9 years ago

@george-b thanks for the quick answer about zsh. Still, I've started bash in a new terminal but there is no changes :/.

I have vim 7.4 with +clientserver.

ardagnir commented 9 years ago

If there's a problem with vim, athame will yell at you with angry red text, so if there's no difference athame didn't get installed or wasn't linked in by bash.

What OS are you using?

zhoufeng1989 commented 9 years ago

Hi, thanks for the work, I install athame on My Mac OSX and I use Zsh,how can I activate it?

soyuka commented 9 years ago

@ardagnir I'm using Debian. How may I check that it get linked in by bash?

@zhoufeng1989 :

zsh uses zle rather than readline so I wouldn't expect athame to work like it does in bash

ardagnir commented 9 years ago

You would know if it did. Athame doesn't fail silently. It sounds like Debian uses static linking, so they compile bash to use it's own version of readline rather than a system one. You would have to recompile bash to get it to work.

This seems to be a common problem. I'll see if I can come up with an easier way to get athame working on Debain-based OSes.

ardagnir commented 9 years ago

Athame now works on zsh and I have included a script to force bash to use system readline.