1

On Ubuntu I would install emacs dependencies with apt-get build-dep emacs24, extract the emacs25.2.tar.gz and install but the dependencies don't seem to be on openSuse's zypper (package manager).

Atm I'm getting this when trying to install emacs25.2

configure: error: You seem to be running X, but no X development libraries
were found.  You should install the relevant development files for X
and for the toolkit you want, such as Gtk+ or Motif.  Also make
sure you have development files for image handling, i.e.
tiff, gif, jpeg, png and xpm.
If you are sure you want Emacs compiled without X window support,   pass
 --without-x

How should I go about getting that dependency and other dependencies needed for emacs on openSuse?

1
  • Please disclose posts in related forums so that we don't spin our wheels unnecessarily: reddit.com/r/emacs/comments/6misud/… This way, forum participants can read what other people have already said elsewhere. – lawlist Jul 11 '17 at 1:54
1

emacs 25.2 is already available in the editors repo. See these instructions on how to add it.

EDIT: Other openSUSE releases are available for the same repo.

5
  • I've added the repo, went back to Software Management. I still see only emacs 24.3 – irregular Jul 12 '17 at 0:18
  • After looking around I see that there was a "Versions" tab after highlighting the emacs package where the new version shows up after adding that repo. – irregular Jul 12 '17 at 0:38
  • The link to the editors repository returns a The requested URL is no longer available on this server and there is no forwarding address. error. – kiamlaluno May 3 '18 at 7:56
  • No. The questioner is not interested on installing emacs, but installing the build dependencies required by emacs so that you can build emacs from sources and install it manually without employing the package manager for installing emacs. – Richard Gomes Dec 6 '20 at 0:29
  • It is not clear to me whether @tyler wants to install dependencies or emacs itself. He posted the way he would do it in Ubuntu, but it is not clear whether that's one of many ways he could do it or the one way he would do it – Felipe Lema Dec 14 '20 at 17:21
0

The command for installing build dependencies only for emacs is:

zypper source-install --build-deps-only emacs

NOTE: You may need to enable sources repository in YAST.

Shameless self promotion: This script downloads the latest version of emacs, automagically installs dependencies (for Debian and openSUSE), builds it, installs under a folder you can configure and finally creates symbolic links onto your $HOME/bin.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.