emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems installing Emacs Version 28.1


From: Davin Pearson
Subject: Re: Problems installing Emacs Version 28.1
Date: Sun, 24 Jul 2022 16:16:40 +1200

I thought the problem was a missing ld command so
I tried the following but received no joy.  Below is the
output of the install ld command:

www@www-HP-EliteBook-840-G2:~$ sudo apt-get install ld
[sudo] password for www:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package ld

Please help me get my Emacs running like it should!

On Sun, 24 Jul 2022 at 16:11, Davin Pearson <davin.pearson@gmail.com> wrote:

I am trying to install Emacs Version 28.1 onto my Ubuntu GNU/Linux machine.

I have run the program ./configure with the following arguments with no errors.

www@www-HP-EliteBook-840-G2:/usr/share/emacs/emacs-28.1$ ./configure --with-x-toolkit=no --with-xpm=ifavailable --with-jpeg=ifavailable --with-png=ifavailable --with-gif=ifavailable --with-tiff=ifavailable --with-gnutls=ifavailable

When I run "make" the command ld returns the following error:
/usr/bin/ld: cannot find -lz

What am I doing wrong?  The print out of the command "make" is shown
below:

------------------------------------------------------------------------

www@www-HP-EliteBook-840-G2:/usr/share/emacs/emacs-28.1$ make
make -C lib all
make[1]: Entering directory '/usr/share/emacs/emacs-28.1/lib'
  GEN      alloca.h
  GEN      dirent.h
  GEN      malloc/dynarray.gl.h
  GEN      malloc/dynarray-skeleton.gl.h
  GEN      fcntl.h
  GEN      inttypes.h
echo '#include "mini-gmp.h"' >gmp.h-t
mv gmp.h-t gmp.h
  GEN      limits.h
  GEN      signal.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      sys/random.h
  GEN      sys/select.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/types.h
  GEN      time.h
  GEN      unistd.h
  CC       fingerprint.o
  CC       fchmodat.o
  CC       fcntl.o
  CC       free.o
  CC       fsusage.o
  CC       mini-gmp-gnulib.o
  CC       regex.o
  CC       sig2str.o
  CC       sigdescr_np.o
  CC       time_rz.o
  CC       acl-errno-valid.o
  CC       acl-internal.o
  CC       get-permissions.o
  CC       set-permissions.o
  CC       allocator.o
  CC       binary-io.o
  CC       c-ctype.o
  CC       c-strcasecmp.o
  CC       c-strncasecmp.o
  CC       careadlinkat.o
  CC       close-stream.o
  CC       count-leading-zeros.o
  CC       count-one-bits.o
  CC       count-trailing-zeros.o
  CC       md5-stream.o
  CC       md5.o
  CC       sha1.o
  CC       sha256.o
  CC       sha512.o
  CC       dtoastr.o
  CC       dtotimespec.o
  CC       malloc/dynarray_at_failure.o
  CC       malloc/dynarray_emplace_enlarge.o
  CC       malloc/dynarray_finalize.o
  CC       malloc/dynarray_resize.o
  CC       malloc/dynarray_resize_clear.o
  CC       file-has-acl.o
  CC       filemode.o
  CC       filevercmp.o
  CC       gettime.o
  CC       nproc.o
  CC       nstrftime.o
  CC       pipe2.o
  CC       qcopy-acl.o
  CC       stat-time.o
  CC       tempname.o
  CC       timespec.o
  CC       timespec-add.o
  CC       timespec-sub.o
  CC       u64.o
  CC       unistd.o
  CC       openat-die.o
  CC       save-cwd.o
  AR       libgnu.a
make[1]: Leaving directory '/usr/share/emacs/emacs-28.1/lib'
make -C lib-src all
make[1]: Entering directory '/usr/share/emacs/emacs-28.1/lib-src'
  CCLD     etags
  CCLD     ctags
  CCLD     emacsclient
  CCLD     ebrowse
  CCLD     hexl
  CC       pop.o
  CCLD     movemail
  CCLD     make-docfile
  CCLD     make-fingerprint
make[1]: Leaving directory '/usr/share/emacs/emacs-28.1/lib-src'
make -C src VCSWITNESS='' BIN_DESTDIR=''/usr/local/bin/'' \
ELN_DESTDIR='/usr/local/lib/emacs/28.1/' all
make[1]: Entering directory '/usr/share/emacs/emacs-28.1/src'
  GEN      lisp.mk
make -C ../oldXMenu/ libXMenu11.a
make[2]: Entering directory '/usr/share/emacs/emacs-28.1/oldXMenu'
  CC       Activate.o
  CC       AddPane.o
  CC       AddSel.o
  CC       ChgPane.o
  CC       ChgSel.o
  CC       Create.o
  CC       DelPane.o
  CC       DelSel.o
  CC       Destroy.o
  CC       Error.o
  CC       EvHand.o
  CC       FindPane.o
  CC       FindSel.o
  CC       InsPane.o
  CC       InsSel.o
  CC       Internal.o
  CC       Locate.o
  CC       Post.o
  CC       Recomp.o
  CC       SetAEQ.o
  CC       SetFrz.o
  CC       SetPane.o
  CC       SetSel.o
  CC       XDelAssoc.o
  CC       XLookAssoc.o
  CC       XCrAssoc.o
  CC       XDestAssoc.o
  CC       XMakeAssoc.o
  CC       insque.o
  GEN      libXMenu11.a
make[2]: Leaving directory '/usr/share/emacs/emacs-28.1/oldXMenu'
  GEN      globals.h
  CC       dispnew.o
  CC       frame.o
  CC       scroll.o
  CC       xdisp.o
  CC       menu.o
  CC       xmenu.o
  CC       window.o
  CC       charset.o
  CC       coding.o
  CC       category.o
  CC       ccl.o
  CC       character.o
  CC       chartab.o
  CC       bidi.o
  CC       cm.o
  CC       term.o
  CC       terminal.o
  CC       xfaces.o
  CC       xterm.o
  CC       xfns.o
  CC       xselect.o
  CC       xrdb.o
  CC       xsmfns.o
  CC       xsettings.o
  CC       emacs.o
  CC       keyboard.o
  CC       macros.o
  CC       keymap.o
  CC       sysdep.o
  CC       bignum.o
  CC       buffer.o
  CC       filelock.o
  CC       insdel.o
  CC       marker.o
  CC       minibuf.o
  CC       fileio.o
  CC       dired.o
  CC       cmds.o
  CC       casetab.o
  CC       casefiddle.o
  CC       indent.o
  CC       search.o
  CC       regex-emacs.o
  CC       undo.o
  CC       alloc.o
  CC       pdumper.o
  CC       data.o
  GEN      buildobj.h
  CC       doc.o
  CC       editfns.o
  CC       callint.o
  CC       eval.o
  CC       floatfns.o
  CC       fns.o
  CC       font.o
  CC       print.o
  CC       lread.o
  CC       emacs-module.o
  CC       syntax.o
  CC       bytecode.o
  CC       comp.o
  CC       dynlib.o
  CC       process.o
  CC       gnutls.o
  CC       callproc.o
  CC       region-cache.o
  CC       sound.o
  CC       timefns.o
  CC       atimer.o
  CC       doprnt.o
  CC       intervals.o
  CC       textprop.o
  CC       composite.o
  CC       xml.o
  CC       lcms.o
  CC       inotify.o
  CC       profiler.o
  CC       decompress.o
  CC       thread.o
  CC       systhread.o
  CC       xfont.o
  CC       fontset.o
  CC       fringe.o
  CC       image.o
  CC       terminfo.o
  CC       lastfile.o
make -C ../admin/charsets all
make[2]: Entering directory '/usr/share/emacs/emacs-28.1/admin/charsets'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/share/emacs/emacs-28.1/admin/charsets'
make -C ../admin/unidata charscript.el
make[2]: Entering directory '/usr/share/emacs/emacs-28.1/admin/unidata'
make[2]: Nothing to be done for 'charscript.el'.
make[2]: Leaving directory '/usr/share/emacs/emacs-28.1/admin/unidata'
make -C ../admin/unidata emoji-zwj.el
make[2]: Entering directory '/usr/share/emacs/emacs-28.1/admin/unidata'
make[2]: Nothing to be done for 'emoji-zwj.el'.
make[2]: Leaving directory '/usr/share/emacs/emacs-28.1/admin/unidata'
  CCLD     temacs
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:647: temacs] Error 1
make[1]: Leaving directory '/usr/share/emacs/emacs-28.1/src'
make: *** [Makefile:449: src] Error 2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]