Can't load Evil..... #2

Closed
yehe01 opened this Issue Sep 16, 2013 · 12 comments

4 participants

@yehe01

I renamed my own .emacs.d and cloned yours. But it is not able to load evil and complains to me.
I am using Emacs for Mac OS X 24.3.

screen shot 2013-09-16 at 11 13 42 am

@xiaohanyu
Owner

Hi, @luckykevin

It seems that el-get failed to build evil.
Maybe you need to install texlive, as https://github.com/xiaohanyu/oh-my-emacs/blob/master/ome-advanced.org said. texlive need several hundred megabytes hard disk space, and it is a prerequisity of ome-tex.org.

I've already made a patch for evil to remove the texlive requirement for just build.

I don't have a Mac OS X, so please try it and let me know your result, thanks.

@yehe01

TexLive? you mean http://www.tug.org/texlive/ ? It's about 1GB large. I don't want to install. Is there a way to customise which package I want to load when staring Emacs? Actually, I don't like to use Evil. I just want to make the error message disappear when I start Emacs.

@xiaohanyu
Owner

Yeah, you're right, it is that texlive, that maybe a weird "bug" of evil.

For your case, just M-x el-get-remove evil, and then comment out (ome-load "ome-advanced.org") in https://github.com/xiaohanyu/oh-my-emacs/blob/master/ome.org, then it should be OK.

@yehe01

Thanks.

@yehe01 yehe01 closed this Sep 16, 2013
@j-h-l

I actually do have texlive (MacTex) installed already on my mac. Same problem.

@xiaohanyu
Owner

@j-h-l Could you please paste the log of cd ~/.emacs.d/el-get/evil/ && make all info?

Thanks. Maybe this is the problem of evil.

@xiaohanyu xiaohanyu reopened this Sep 16, 2013
@j-h-l

@xiaohanyu This is what I get. Not much, but hope it helps (edit It looks like same as the original image above)

emacs --batch -Q -L . -L lib -f batch-byte-compile evil-core.el

In toplevel form:
evil-core.el:104:1:Error: Symbol's value as variable is void: evil-visual-state-p
make: *** [evil-core.elc] Error 1
@xiaohanyu
Owner

@j-h-l Thanks. Seems this is the same problem of dimitri/el-get#946.

Just disable and skip evil and continue. I'll try to fix this.

About how to disable evil, see #4.

@Herdinger

Finally found the reason for evil not building. It's not a bug in evil or ome it's related to homebrew again. When compiling emacs calls the shell which in turn calls emacs. But if you do "which emacs" it should probably point to the system emacs and not the homebrew one. This could be solved by defining in alias for emacs in your shell or it could be done as a fix in ome. The smartest way would probably be adding a flag to the homebrew formula for overriding system-emacs just like it exists for vim. I'm going to do that later.

@xiaohanyu
Owner

Thanks! I have no experience with Mac OS X and homebrew, any help will be appreciated.

@Herdinger

Submitted a fix to el-get dimitri/el-get#1435.
It got merged we can close the issue.

@xiaohanyu
Owner

Hi, @Herdinger , I've seen your patch dimitri/el-get#1435 has been merged, so I'll close this issue now.

@xiaohanyu xiaohanyu closed this Dec 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment