[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems compiling on Archlinux 64
From: |
Michael Fellinger |
Subject: |
Problems compiling on Archlinux 64 |
Date: |
Tue, 21 Nov 2006 20:55:00 +0900 |
User-agent: |
KMail/1.9.5 |
Hello List,
This is my first mail to this list and i just started out with emacs... hope i
don't break any rules here ;)
However, since we just have the emacs22 pretest period, i thought i should
give it a try and went to build it on an archlinux 64bit system.
result: surprise, surprise, it won't build.
reason: there is no /usr/lib64 directory
backtrace:
make[2]: Leaving directory `/home/manveru/pkgbuilds/emacs-cvs/src/emacs/lisp'
(cd src; make -w bootstrap)
make[2]: Entering directory `/home/manveru/pkgbuilds/emacs-cvs/src/emacs/src'
gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I.
-I/home/manveru/pkgbuilds/emacs-cvs/src/emacs/src -D_BSD_SOURCE
-I/usr/include/alsa -g -O2 -Wno-pointer-sign
pre-crt0.c
make[2]: *** No rule to make target `/usr/lib64/crt1.o', needed by `temacs'.
Stop.
make[2]: Leaving directory `/home/manveru/pkgbuilds/emacs-cvs/src/emacs/src'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/home/manveru/pkgbuilds/emacs-cvs/src/emacs'
make: *** [bootstrap] Error 2
I was told that this directory (/usr/lib64) does not exist since Archlinux
follows the LFS and Archlinux64 the CLFS standards. The same seems to be the
case for FreeBSD.
From m/amsx86-64.h:
> The libraries for binaries native to the build host's architecture are
installed under /usr/lib in FreeBSD, and the ones that need special paths are
32-bit compatibility libraries (installed under /usr/lib32). To build a
native binary of Emacs on FreeBSD/amd64 we can just point to /usr/lib.
And because of that, emacs fails to compile since it cannot
find /usr/lib64/(crt1.o|crti.o)
I have no proposed solution apart from providing a different header with
different paths, but i guess you guys know how to figure that out (my C-fu is
rather weak)
Thanks for your help in advance.
^manveru
my System:
address@hidden emacs]$ uname -a
Linux sigma 2.6.18-ARCH #1 SMP PREEMPT Tue Oct 3 21:59:13 IST 2006 x86_64 AMD
Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux
the crt1.o:
address@hidden emacs]$ file /usr/lib/crt1.o
/usr/lib/crt1.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), for
GNU/Linux 2.6.6, not stripped
- Problems compiling on Archlinux 64,
Michael Fellinger <=
- Re: Problems compiling on Archlinux 64, Chong Yidong, 2006/11/21
- Re: Problems compiling on Archlinux 64, Michael Fellinger, 2006/11/21
- Re: Problems compiling on Archlinux 64, Giorgos Keramidas, 2006/11/22
- Re: Problems compiling on Archlinux 64, Michael Fellinger, 2006/11/24
- Re: Problems compiling on Archlinux 64, Nick Roberts, 2006/11/25
- Re: Problems compiling on Archlinux 64, Alfred M. Szmidt, 2006/11/25
- Re: Problems compiling on Archlinux 64, Chong Yidong, 2006/11/26
- Re: Problems compiling on Archlinux 64, Alfred M. Szmidt, 2006/11/26
- Re: Problems compiling on Archlinux 64, Giorgos Keramidas, 2006/11/26
- Re: Problems compiling on Archlinux 64, Richard Stallman, 2006/11/25