From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Fellinger Newsgroups: gmane.emacs.devel Subject: Problems compiling on Archlinux 64 Date: Tue, 21 Nov 2006 20:55:00 +0900 Organization: Weez International Ltd. Message-ID: <200611212055.01073.manveru@weez-int.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1164110158 23998 80.91.229.2 (21 Nov 2006 11:55:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Nov 2006 11:55:58 +0000 (UTC) Cc: ams@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 21 12:55:45 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GmUDk-00019G-HV for ged-emacs-devel@m.gmane.org; Tue, 21 Nov 2006 12:55:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmUDk-0000Hz-3g for ged-emacs-devel@m.gmane.org; Tue, 21 Nov 2006 06:55:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GmUDV-0000FH-DU for emacs-devel@gnu.org; Tue, 21 Nov 2006 06:55:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GmUDU-0000DV-Hq for emacs-devel@gnu.org; Tue, 21 Nov 2006 06:55:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmUDU-0000DI-Bw for emacs-devel@gnu.org; Tue, 21 Nov 2006 06:55:08 -0500 Original-Received: from [124.100.243.80] (helo=weez-int.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GmUDS-0007mB-50; Tue, 21 Nov 2006 06:55:07 -0500 Original-Received: from weez-int.com (weez-int.com [192.168.1.3]) by weez-int.com (Postfix) with ESMTP id 73D4C169C59; Tue, 21 Nov 2006 20:55:01 +0900 (JST) Original-To: emacs-devel@gnu.org User-Agent: KMail/1.9.5 Content-Disposition: inline X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62593 Archived-At: Hello List, This is my first mail to this list and i just started out with emacs... hop= e i=20 don't break any rules here ;) However, since we just have the emacs22 pretest period, i thought i should= =20 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/lis= p' (cd src; make -w bootstrap) make[2]: Entering directory `/home/manveru/pkgbuilds/emacs-cvs/src/emacs/sr= c' gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/home/man= veru/pkgbuilds/emacs-cvs/src/emacs/src -D_BSD_SOURCE -I/usr/include/alsa -g= -O2 -Wno-pointer-sign =20 pre-crt0.c make[2]: *** No rule to make target `/usr/lib64/crt1.o', needed by `temacs'= =2E=20 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= =20 follows the LFS and Archlinux64 the CLFS standards. The same seems to be th= e =20 case for FreeBSD. =46rom m/amsx86-64.h: > The libraries for binaries native to the build host's architecture are=20 installed under /usr/lib in FreeBSD, and the ones that need special paths a= re=20 32-bit compatibility libraries (installed under /usr/lib32). To build a=20 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=20 find /usr/lib64/(crt1.o|crti.o) I have no proposed solution apart from providing a different header with=20 different paths, but i guess you guys know how to figure that out (my C-fu = is=20 rather weak) Thanks for your help in advance. ^manveru my System: [manveru@sigma emacs]$ uname -a Linux sigma 2.6.18-ARCH #1 SMP PREEMPT Tue Oct 3 21:59:13 IST 2006 x86_64 A= MD=20 Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux the crt1.o: [manveru@sigma emacs]$ file /usr/lib/crt1.o /usr/lib/crt1.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), = for=20 GNU/Linux 2.6.6, not stripped