unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Davin Pearson <davin.pearson@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Problems installing Emacs Version 28.1
Date: Sun, 24 Jul 2022 16:16:40 +1200	[thread overview]
Message-ID: <CAG9ihEuGE538kdZPmss+N3qmT1XHs1oxqLvQ2b10XzFA147_9A@mail.gmail.com> (raw)
In-Reply-To: <CAG9ihEuv0PEq6k+dL0FRV4c32sq=0kBewcu1+2iehkh7rd=2DA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 7602 bytes --]

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
>

[-- Attachment #2: Type: text/html, Size: 9354 bytes --]

  reply	other threads:[~2022-07-24  4:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-24  4:11 Problems installing Emacs Version 28.1 Davin Pearson
2022-07-24  4:16 ` Davin Pearson [this message]
2022-07-24  5:38 ` tomas
2022-07-24 11:18 ` Gregor Zattler
2022-07-25  2:15   ` Davin Pearson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAG9ihEuGE538kdZPmss+N3qmT1XHs1oxqLvQ2b10XzFA147_9A@mail.gmail.com \
    --to=davin.pearson@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).