From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neal Becker Newsgroups: gmane.emacs.devel Subject: Re: emacs-23.1.96: problem on GNU/Linux AMD64 (Red Hat 4.8) Date: Wed, 21 Apr 2010 12:05:02 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: dough.gmane.org 1271868131 10783 80.91.229.12 (21 Apr 2010 16:42:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Apr 2010 16:42:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 21 18:42:02 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O4czs-0006Rt-Fi for ged-emacs-devel@m.gmane.org; Wed, 21 Apr 2010 18:41:56 +0200 Original-Received: from localhost ([127.0.0.1]:57014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4czr-0004Af-VT for ged-emacs-devel@m.gmane.org; Wed, 21 Apr 2010 12:41:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4cQP-00077C-Rv for emacs-devel@gnu.org; Wed, 21 Apr 2010 12:05:17 -0400 Original-Received: from [140.186.70.92] (port=33912 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4cQO-00075C-6M for emacs-devel@gnu.org; Wed, 21 Apr 2010 12:05:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4cQM-0007vs-Tf for emacs-devel@gnu.org; Wed, 21 Apr 2010 12:05:15 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:59656) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4cQM-0007vB-N8 for emacs-devel@gnu.org; Wed, 21 Apr 2010 12:05:14 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O4cQK-0007ho-Fv for emacs-devel@gnu.org; Wed, 21 Apr 2010 18:05:12 +0200 Original-Received: from 139.85.239.116 ([139.85.239.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Apr 2010 18:05:12 +0200 Original-Received: from ndbecker2 by 139.85.239.116 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Apr 2010 18:05:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Followup-To: gmane.emacs.devel Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 139.85.239.116 User-Agent: KNode/4.4.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:123989 Archived-At: Nelson H. F. Beebe wrote: > A build of emacs-23.1.96 on GNU/Linux AMD64 (Red Hat 4.8) with > > % set path=(/bin /usr/bin) > % env LDFLAGS='-Wl,-rpath,/usr/local/lib64 -L/usr/local/lib64' ./configure > && make all check > > failed like this: > > configure:15477: gcc -o conftest -O2 -D_BSD_SOURCE \ > -Wl,-rpath,/usr/local/lib64 -L/usr/local/lib64 -Wl,-znocombreloc \ > -L/usr/X11R6/lib conftest.c -lungif -lX11 >&5 > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching > for -lX11 /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when > searching for -lX11 /usr/bin/ld: cannot find -lX11 > collect2: ld returned 1 exit status > configure:15484: $? = 1 > > On Red Hat and OpenSuSE AMD64 systems, the default world is 64-bit, > and libraries reside in /usr/local/lib64; the companion /usr/local/lib > holds only 32-bit libraries. Thus it is WRONG WRONG WRONG for > configure to be sticking in -L/usr/X11R6/lib, overriding the correct > settings supplied in LDFLAGS! Builds fine on fedora 12 x86_64 using a (slightly modified) version of the rawhide spec file.