Invoking emacs, I got these error message.
Error: (file-error "Cannot open load file" "no such file or directory" "starter-kit-defuns")
Error: (file-error "Cannot open load file" "no such file or directory" "tex-site")
Looking into my .emacs.d directory, I see no "starter-kit-defuns" nor "tex-site" in it. I also don't remember explicitly install them.
Why do I have these errors? How to remove/resolve them?
This is the content of my init.el file. -> https://gist.github.com/prosseek/ec47ea3569b6f02721cf
When installing emacs, I used brew install emacs --HEAD --use-git-head --cocoa --srgb command as is described in this site. However, it seems that there are some bugs with the newest version - https://lists.gnu.org/archive/html/bug-gnu-emacs/2013-09/msg00135.html.
When I reinstalled emacs with brew install emacs --cocoa --srgb, the errors are gone.
I had the same problem after updating emacs through MacPorts. The "tex-site" error can be resolved by removing and re-installing your auctex using M-x package-list-packages.
Related
I'm using LaTeX Workshop on VSCode to build pdf using LaTeX and I'm getting this error in the Output console when I save the .tex file.
Formatting with command latexindent
-c,d:path_to_folder,d:path_to_folder/__latexindent_temp.tex,-y=defaultIndent:
' '
Formatting failed with exit code 2
stderr: Can't locate Log/Log4perl.pm in #INC (you may need to install the Log::Log4perl module) (#INC contains: C:/Program Files/MiKTeX/scripts/latexindent C:/Perl64/site/lib C:/Perl64/lib) at C:/Program Files/MiKTeX/scripts/latexindent/LatexIndent/LogFile.pm line 22.
The problem is only related to the formatting stuff because the build runs successfully generating the pdf as supposed.
What I did:
Opened the CPAN Client of my Windows 10
Run install Log::Log4perl (it installed also other packages like Log::Dispatch::File and
YAML::Tiny)
Rebooted the system
Checked that Log4perl is installed and it is
I also tryied to install Log4perl through VSCode cmd but I'm getting this wierd error:
Running make for E/ET/ETJ/Log-Log4perl-1.53.tar.gz
to undefined at C:/Perl64/site/lib/ExtUtils/Install.pm line 141.
make: *** [pm_to_blib] Error 255
ETJ/Log-Log4perl-1.53.tar.gz
"C:\Program Files (x86)\GnuWin32\bin\make.exe" -- NOT OK
Failed during this command:
ETJ/Log-Log4perl-1.53.tar.gz : make NO
Any suggestions?
I figured it out in the end! To solve the error do:
Download latexindent.exe
Edit Latex-workshop › Latexindent:
Path in the Latex Workshop VSCode extension settings with the
latexindent.exe path
When I try to open a file with emacs, I am getting following error.
Unable to activate package ‘evil’.
Required package ‘goto-chg-1.6’ is unavailable
I neither change any config of emacs nor installed any packages on system.
I am running emacs 25.1.1 on Ubuntu 17.04.
Any pointer on what would cause the issue?
After a system update (Arch Linux), some package was not found anymore (megaparsack). I installed it with raco pkg install megaparsack but got this message during installation:
raco setup: docs failure: query-exec: unable to open the database file
error code: 14
SQL: "ATTACH $1 AS other"
database: #<path:/home/ploppz/.racket/6.12/doc/docindex.sqlite>
mode: 'read-only
file permissions: (write read)
Why? Should I have used sudo?
Despite this failure, code that uses megaparsack now runs fine.
This issue is caused by docindex.sqlite missing from your system-scope documentation directory. You can check what directory this is via: (require setup/dirs) (find-user-doc-dir). On Archlinux this is /usr/share/doc/racket/. If it's missing, chances are you need to install another package. edit: Archlinux fixed this in 7.1-1 - see this Archlinux bug report.
Without the aforementioned file, raco pkg install <pkgname> will not be able to finalize the installation of documentation to your user-scope, but the packages should be usable otherwise.
I encountered this issue in a slightly different manner - on Gentoo /usr/share/doc is compressed by default, and the dev-scheme/racket package was installed with a docindex.sqlite.bz2 while the code still looks for the original path (and sqlite3 probably cannot read bzip2 files). edit: I got this fixed in official portage.
I'm newbie in emacs. I got an error when I try install auto-complete...I install it from https://github.com/auto-complete/auto-complete
when I make it, I got an error like this:
Loading subst-jis...
Loading subst-ksc...
Loading subst-big5...
Loading subst-gb2312...
Loading subst-jis...
Loading subst-ksc...
Loading subst-big5...
Loading subst-gb2312...
cask install
make: cask: No such file or directory
make: *** [.cask/22.1.1/elpa] Error 1
what am I doing wrong??...thanks!!!
You got error because cask is not installed.
But you need not to install Cask if you don't develop auto-complete.
Steps for installing auto-complete are here.
Install newer Emacs by homebrew or macports.
Emacs(/usr/bin/emacs) which is installed on MacOSX is very old. Recent packages does not work on it.
Add following setting to your configuration file(~/.emacs.d/init.el).
(require 'package)
(package-initialize)
(add-to-list'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
Restart Emacs
M-x package-refresh-contents
M-x package-install then you type auto-complete
See Also
http://ergoemacs.org/emacs/emacs_package_system.html
I am trying to open gmail with Emacs. M-x wl yields the following error message.
/usr/bin/mail is not an executable. Setting mail-interactive to t.
Initializing...
Loading mail-mime-setup...done
gnus-mime-setup is not found.
emh-setup is not found.
Updating addresses...done
Checking environment...
Auto plugged off at imap.gmail.com:993
byte-code: Searching for program: no such file or directory, gnutls-cli
Any ideas?
It wants you to install a utility called gnutls-cli. If you're on a Debian-derived distribution, apt-get install gnutls-bin which contains this utility and a few others. If you're on something else, please edit your question to include more details.