install emacs[solved]

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
User avatar
Titide21
White ninja
White ninja
Posts: 15
Joined: 29 Dec 2014, 11:54
Distribution: Porteus-v3.1
Location: Mauritius

install emacs[solved]

Post#1 by Titide21 » 29 Dec 2014, 13:41

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?
Last edited by Titide21 on 31 Dec 2014, 09:36, edited 1 time in total.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: install emacs

Post#2 by Bogomips » 29 Dec 2014, 14:27

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
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Titide21
White ninja
White ninja
Posts: 15
Joined: 29 Dec 2014, 11:54
Distribution: Porteus-v3.1
Location: Mauritius

Re: install emacs

Post#3 by Titide21 » 29 Dec 2014, 17:15

==============================================================================
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?

beny
Full of knowledge
Full of knowledge
Posts: 733
Joined: 02 Jan 2011, 11:33
Location: italy

Re: install emacs

Post#4 by beny » 29 Dec 2014, 17:41

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.

User avatar
Titide21
White ninja
White ninja
Posts: 15
Joined: 29 Dec 2014, 11:54
Distribution: Porteus-v3.1
Location: Mauritius

Re: install emacs

Post#5 by Titide21 » 29 Dec 2014, 18:59

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

User avatar
Titide21
White ninja
White ninja
Posts: 15
Joined: 29 Dec 2014, 11:54
Distribution: Porteus-v3.1
Location: Mauritius

Re: install emacs

Post#6 by Titide21 » 29 Dec 2014, 19:17

I'm working through all the dependencies and missing libraries :)

User avatar
Titide21
White ninja
White ninja
Posts: 15
Joined: 29 Dec 2014, 11:54
Distribution: Porteus-v3.1
Location: Mauritius

Re: install emacs

Post#7 by Titide21 » 29 Dec 2014, 19:49

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. :)

Rico Heart
White ninja
White ninja
Posts: 17
Joined: 24 Jun 2015, 13:14
Distribution: Porteus 3.1 XFCE
Location: Europe

Re: install emacs[solved]

Post#8 by Rico Heart » 24 Jun 2015, 14:22

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

User avatar
snake
White ninja
White ninja
Posts: 14
Joined: 29 Dec 2010, 10:02
Distribution: Porteus-v3.1 64bit KDE
Location: Finland

Re: install emacs[solved]

Post#9 by snake » 31 Jul 2015, 07:02

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.

beny
Full of knowledge
Full of knowledge
Posts: 733
Joined: 02 Jan 2011, 11:33
Location: italy

Re: install emacs[solved]

Post#10 by beny » 31 Jul 2015, 10:05

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/

User avatar
snake
White ninja
White ninja
Posts: 14
Joined: 29 Dec 2010, 10:02
Distribution: Porteus-v3.1 64bit KDE
Location: Finland

Re: install emacs[solved]

Post#11 by snake » 31 Jul 2015, 11:54

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.

beny
Full of knowledge
Full of knowledge
Posts: 733
Joined: 02 Jan 2011, 11:33
Location: italy

Re: install emacs[solved]

Post#12 by beny » 31 Jul 2015, 12:35

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

Post Reply