[Nix-dev] Re: emacs 23.1 build error
Ludovic Courtès
ludo at gnu.org
Sun Aug 9 01:05:12 CEST 2009
Hi,
Peter Simons <simons at cryp.to> writes:
> has anyone managed to build Emacs 23.1 on linux/x86_64? When I try to, I
> get the following error:
>
> [...]
> gcc -nostdlib `./prefix-args -Xlinker -z nocombreloc` -Wl,-znocombreloc -o temacs pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o xfont.o terminfo.o lastfile.
> o vm-limit.o ../oldXMenu/libXMenu11.a -lSM -lICE -ltiff -ljpeg -lpng -lz -lm -lungif -lXpm -lX11 -lncurses -lm -lgcc -lc -lgcc /usr/lib64/crtn.o
> impure path `/usr/lib64/crt1.o' used in link
> collect2: ld returned 1 exit status
> make[2]: *** [temacs] Error 1
> make[2]: Leaving directory `/tmp/nix-build-f98890yzjdz3xzrglihsnqf87lgq5mbh-emacs-23.1.drv-0/emacs-23.1/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/tmp/nix-build-f98890yzjdz3xzrglihsnqf87lgq5mbh-emacs-23.1.drv-0/emacs-23.1'
> make: *** [bootstrap] Error 2
It did build on NixOS/x86_64 (among others):
http://hydra.nixos.org/job/nixpkgs/trunk/emacs23/all
I assume your fix was for Nixpkgs on non-NixOS distros, right?
Anyway, thanks for taking care of it!
Ludo'.
More information about the nix-dev
mailing list