[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
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'
-I/home/manveru/pkgbuilds/emacs-cvs/src/emacs/src -D_BSD_SOURCE 
-I/usr/include/alsa -g -O2 -Wno-pointer-sign  
make[2]: *** No rule to make target `/usr/lib64/crt1.o', needed by `temacs'. 
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.

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

reply via email to

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