WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: missing directory in emacs24  (Read 1964 times)

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
missing directory in emacs24
« on: January 29, 2016, 10:14:05 AM »
Hi, I don't know if this is the right place to report this, but when I installed emacs24 and tried to run it, it gives me the error message:

Opening directory: no such file or directory, /etc/emacs24/site-start.d

Is there a missing dependency or what?

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
Re: missing directory in emacs24
« Reply #1 on: January 29, 2016, 10:27:45 AM »
FYI

/etc/emacs/site-start.d does exist on my system

drwxr-xr-x 2 root root  60 Jan 27 15:05 site-start.d

but not /etc/emacs24/site-start.d

What is the most canonical way to fix it?

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: missing directory in emacs24
« Reply #2 on: January 29, 2016, 05:14:47 PM »
Hi kevinfish.

Same issue in dCore-jessie, simple fix:
Code: [Select]
sudo mkdir /etc/emacs24
sudo cp -rf /etc/emacs/* /etc/emacs24/
emacs24 # should run fine now

Jason may provide a custom start-up script.

In the meantime add /etc/emacs24/ directory to your backup via Control Panel -> Backup -> Add Directory
...or just add this entry in /opt/.filetool.lst: etc/emacs24/ (no preceding slash)

If the dbus errors bother you or you need this functionality, then install: dbus-x11.sce

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: missing directory in emacs24
« Reply #3 on: January 29, 2016, 10:09:22 PM »
emacs24 works out of the box on dCore-wily for some reason without that directory.  But I added a startup script based on the one posted above so it should work across all dCores now.  I will test with dCore-jessie.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: missing directory in emacs24
« Reply #4 on: February 02, 2016, 10:07:40 PM »
Please test now that startup script hast been added and confirm fix, thanks.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: missing directory in emacs24
« Reply #5 on: February 03, 2016, 12:19:51 AM »
Fresh install works fine now without hacking. What a beast, default SCE ~95mb, using purge file 71mb plus dependency on xorg 59mb.