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: Re: Problems compiling on Archlinux 64 Date: Fri, 24 Nov 2006 10:27:14 +0900 Organization: Weez International Ltd. Message-ID: <200611241027.14530.manveru@weez-int.com> References: <200611212055.01073.manveru@weez-int.com> <200611221029.57786.manveru@weez-int.com> <20061122115329.GA2837@kobe.laptop> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1164401121 26312 80.91.229.2 (24 Nov 2006 20:45:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Nov 2006 20:45:21 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 24 21:45:12 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 1Gnhuy-0005xH-9s for ged-emacs-devel@m.gmane.org; Fri, 24 Nov 2006 21:45:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gnhux-0001fa-Ii for ged-emacs-devel@m.gmane.org; Fri, 24 Nov 2006 15:45:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gnhtf-0000iz-K8 for emacs-devel@gnu.org; Fri, 24 Nov 2006 15:43:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gnhtf-0000iW-03 for emacs-devel@gnu.org; Fri, 24 Nov 2006 15:43:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gnhte-0000iR-TN for emacs-devel@gnu.org; Fri, 24 Nov 2006 15:43:42 -0500 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GnhQi-0006Vx-9L for emacs-devel@gnu.org; Fri, 24 Nov 2006 15:13:48 -0500 Original-Received: from [124.100.243.80] (helo=weez-int.com) by mx20.gnu.org with esmtp (Exim 4.52) id 1GnPrz-0000Pc-N2 for emacs-devel@gnu.org; Thu, 23 Nov 2006 20:28:48 -0500 Original-Received: from weez-int.com (weez-int.com [192.168.1.3]) by weez-int.com (Postfix) with ESMTP id 4E981105E06 for ; Fri, 24 Nov 2006 10:27:15 +0900 (JST) Original-To: emacs-devel@gnu.org User-Agent: KMail/1.9.5 In-Reply-To: <20061122115329.GA2837@kobe.laptop> 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:62732 Archived-At: On Wednesday 22 November 2006 20:53, Giorgos Keramidas wrote: > On 2006-11-22 10:29, Michael Fellinger wrote: > >On Wednesday 22 November 2006 03:31, Chong Yidong wrote: > >>Michael Fellinger writes: > >>> 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. > >> > >> Do other amdx86-64 distributions use /usr/lib64? If so, how do we > >> distinguish between the two cases? > > > > Well, the simplest way i could come up with is to look if such a > > folder exists at all simply doing this check after looking up `arch` > > returns a 64bit-system. > > Well, yes... and no. I wouldn't like this change for 64-bit FreeBSD ditto... i meant for linux only > > systems, for example (for the reason you explained below in: > > As far as i know quite some distributions use /usr/lib64 to use both > > 64bit and 32bit (in /usr/lib) libraries. However, distributions who do > > not support 32bit libs at all only use /usr/lib this is the case (only > > as far as i know) for FreeBSD (sorry guys, of course it's _no_ > > distribution ;) [...] > > Is there some way to uniquely identify Archlinux? > > This could be even something like: > > iff we are on a linux system and... > iff this is a 64-bit system and... > iff file /etc/archlinux-release exists then... > handle /usr/lib64 in a special manner Well, here is what you need :) The other factors are tested for already. [manveru@pi ~]$ cat /etc/arch-release Arch Linux 0.7.2 (Gimmick)