Page 1 of 1

install emacs[solved]

Posted: 29 Dec 2014, 13:41
by Titide21
Can anyone please help me install emacs?
I can't find it on usm, so I downloaded a emacs-24.4.xzm, however I can't run it after activating the module.
I think I have to resolve the dependencies? What are they? Is there somewhere I can download the complete module with all its dependencies?

Re: install emacs

Posted: 29 Dec 2014, 14:27
by Bogomips

Code: Select all

root@porteus:/home/guest# usm -s emacs


 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) uemacs
2) xemacs
3) emacs-w3m
#? 2
Nothing was found in Slackware but i found this in slackbuilds.

NAME :  xemacs 
CATEG: development
DESC : 
VERS : 21.4.22

 Would you like to attempt to build this from source? [y/n]
Give it a whirl?

And/Or
Titide21 wrote:downloaded a emacs-24.4.xzm, however I can't run it after activating the module.
I think I have to resolve the dependencies? What are they? Is there somewhere I can download the complete module with all its dependencies?
after activating

Code: Select all

usm -u all
usm -d

Re: install emacs

Posted: 29 Dec 2014, 17:15
by Titide21
==============================================================================
WARNING! WARNING! WARNING! WARNING! WARNING!
==============================================================================
One or more errors occurred while usm was running:

FATAL ERROR!
sbo_build 97
md5sum mismatch: xemacs-base-2.27-pkg.tar.gz

==============================================================================
:(
any other option?

Re: install emacs

Posted: 29 Dec 2014, 17:41
by beny
hi you can download emacs directly : http://slackware.mirrors.tds.net/pub/sl ... kware64/e/ my system is 64 bit if yours not download from the 32 bit link, slackware 14.1 have emacs by default so porteus have too after you convert it in xzm package,and try to start it into a console so you can see if something goes wrong in deps link.

Re: install emacs

Posted: 29 Dec 2014, 18:59
by Titide21
when i try to run emacs after activating:-



emacs: error while loading shared libraries: libMagickWand-6.Q16.so.1: cannot open shared object file: No such file or directory

i did

usm -d
downloaded dependencies
same error appears

Re: install emacs

Posted: 29 Dec 2014, 19:17
by Titide21
I'm working through all the dependencies and missing libraries :)

Re: install emacs

Posted: 29 Dec 2014, 19:49
by Titide21
Emacs up and running :D
:%) i was losing patience :)
i'm up for a session with emacs psychotherapist :oops: after all that waiting.

I thank everyone for the help. :)

Re: install emacs[solved]

Posted: 24 Jun 2015, 14:22
by Rico Heart
For anyone in need of some direction, this is what I've done:

- [EDIT: to cleanly end up with just modules, start in Always Fresh mode]
- went to http://packages.slackware.com/ to find & get packages
- installed just the emacs package
- started emacs in the terminal with emacs -nw
- using the error message emacs returned in the terminal I've searched on packages.slackware.com until I've found the corresponding package (some of them were tricky to find, had to use the 'content' and 'description' modes!)
- downloaded and installed with the USM GUI (Tools > Slackware package tools > pkgtools)
- emacs -nw again, a new error output, repeat previous step with new package, then start emacs again, repeat until emacs starts
- then started Emacs with GUI from the main menu, and it worked
- some things might not work, for example encryption needs gnupg2 [EDIT: so more dependency packages are to be identified and installed]
- if all packages including emacs are in the same folder, a Porteus module can be made by right clicking the folder in the file manager (Create module) [EDIT: this did not work for me (only some packages installed), so I made 14 modules and moved them to a /mnt/<drive>/porteus/modules/emacs/ folder]

ended up installing these packages (imgur link, PM me if expired):
Image

Re: install emacs[solved]

Posted: 31 Jul 2015, 07:02
by snake
The reason why Emacs is not possible to be installed with USM is that it is excluded in /etc/usm/files.conf (e directory). Maybe brokenman is vi-lover or this is some kind of conspiracy against emacs? ;)

It does not help to just remove this e from the file, because in "usm -u slackware", the file that tells dependencies of the packages (called /var/usm/slackware/LIBS.txt) is downloaded from sourceforge repository and that is not including Emacs dependencies.

brokenman: could you update LIBS.txt and files.conf to support emacs, or tell how you have generated LIBS.txt file (as I could not find any documentation about it).

I really hope Emacs is not excluded in next version of USM and Porteus.

Re: install emacs[solved]

Posted: 31 Jul 2015, 10:05
by beny
hi emacs have a dedicated directory in slackware repository,the usm or other package manager do not cover the slackware source packages.
http://mirrors.slackware.com/slackware/ ... ackware/e/

Re: install emacs[solved]

Posted: 31 Jul 2015, 11:54
by snake
beny wrote:hi emacs have a dedicated directory in slackware repository,the usm or other package manager do not cover the slackware source packages.
http://mirrors.slackware.com/slackware/ ... ackware/e/

yes and no. Actually your link above is to emacs binary, not source. And yes, as I said, e directory is excluded in usm configuration file so it cannot be installed with USM.

Re: install emacs[solved]

Posted: 31 Jul 2015, 12:35
by beny
hi sorry my mistake source for me is the slackware core. the slackware team suppose that you do a full slackware install so every packages are installed,in porteus this isn't possible,i have seen your post in wishlist you can use git and other software as you wish,without wait the new release,only txz2xzm and put into the modules folder double click on it and software is ready to use.

root@porteus:~# usm -g emacs

The following items were found.
Choose an number to confirm.
ctrl+c to quit

1) emacs-24.3-i486-3.txz
#?
seem i am wrong,you can downloads the package from usm.
well it is a fake package we need brokenman help.
well you have to adds this:

PACKAGE NAME: emacs-24.3-i486-3.txz
PACKAGE LOCATION: ./slackware/e
PACKAGE SIZE (compressed): 36216 K
PACKAGE SIZE (uncompressed): 102650 K
PACKAGE DESCRIPTION:
emacs: emacs (GNU Emacs)
emacs:
emacs: Emacs is the extensible, customizable, self-documenting real-time
emacs: display editor. If this seems to be a bit of a mouthful, an
emacs: easier explanation is that Emacs is a text editor and more. At
emacs: its core is an interpreter for Emacs Lisp, a dialect of the Lisp
emacs: programming language with extensions to support text editing.
emacs: This version supports X.
emacs:
emacs: http://www.gnu.org/software/emacs/
emacs:

you have to adds at packages.txt into the slackware directory in /var/usm after elvis that entry and emacs is at /tmp/usm 36 mb not 0