Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: kevinfish on January 29, 2016, 10:14:05 AM

Title: missing directory in emacs24
Post by: kevinfish 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?
Title: Re: missing directory in emacs24
Post by: kevinfish 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?
Title: Re: missing directory in emacs24
Post by: nitram 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
Title: Re: missing directory in emacs24
Post by: Jason W 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.
Title: Re: missing directory in emacs24
Post by: Jason W on February 02, 2016, 10:07:40 PM
Please test now that startup script hast been added and confirm fix, thanks.
Title: Re: missing directory in emacs24
Post by: nitram 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.