From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: build broken: libxml - i386 vs. X86_64 - configure problem Date: Mon, 13 Sep 2010 10:30:54 -0400 Message-ID: <2622DDFD-A026-430F-959B-167F6462D731@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1284388456 16586 80.91.229.12 (13 Sep 2010 14:34:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2010 14:34:16 +0000 (UTC) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 13 16:34:11 2010 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 1OvA6j-0003dI-AS for ged-emacs-devel@m.gmane.org; Mon, 13 Sep 2010 16:34:09 +0200 Original-Received: from localhost ([127.0.0.1]:52218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvA6i-00052k-A7 for ged-emacs-devel@m.gmane.org; Mon, 13 Sep 2010 10:34:08 -0400 Original-Received: from [140.186.70.92] (port=47783 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvA6S-0004ml-K3 for emacs-devel@gnu.org; Mon, 13 Sep 2010 10:33:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvA35-0004PG-7Q for emacs-devel@gnu.org; Mon, 13 Sep 2010 10:30:24 -0400 Original-Received: from mail-qy0-f169.google.com ([209.85.216.169]:37235) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvA35-0004PA-5F for emacs-devel@gnu.org; Mon, 13 Sep 2010 10:30:23 -0400 Original-Received: by qyk8 with SMTP id 8so1983483qyk.0 for ; Mon, 13 Sep 2010 07:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=BkFrNDcgdt6J8EAe6g3m5E2Rm0vRhnF2DoB5Sy/Ta1w=; b=MPJ0blKnlQ039Bf+IZLp56yOwfZXlRsDdwQ2cNOH4/KiY3IzKDaX7uiiIIN2BtNZlX i48efaWut0mKMbXk92y/ZfuSXWIoanDMs1Kficnhc0MvHLyy09eh4OjMgM+wL67omCNM Uss9+HDfR+WlLz65WZ5F1wiFlUyg93ukIxxGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=I7z8fmI9SMP1XjZRxObIRlK9Q6MeppwszfbAISMSZ+Nx/kqfkftlx6OjMBvcaBsVaO vi1OV692VWwVLlMyLIp8RRCgGJ3XWJv3CwP7D/oTBZjRPUUSjm5sSNEubSsCV4uTeTp6 losQo9VrctlyP91kJBU8MLACvHZGA6szOEmnk= Original-Received: by 10.229.238.200 with SMTP id kt8mr3151721qcb.0.1284388222518; Mon, 13 Sep 2010 07:30:22 -0700 (PDT) Original-Received: from [192.168.1.15] (pool-72-95-198-253.pitbpa.east.verizon.net [72.95.198.253]) by mx.google.com with ESMTPS id r1sm6417283qcq.22.2010.09.13.07.30.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Sep 2010 07:30:21 -0700 (PDT) X-Mailer: Apple Mail (2.1081) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:130047 Archived-At: The libxml bindings or something else related to XML broke the build for = me (on a mac), due to the chosen build architecture being 64-bit (chosen = by default, and that is correct), but the library being i386: dr@elin:~/em24.git emacs24$ ./configure --with-ns ... checking build system type... x86_64-apple-darwin10.4.0 checking host system type... x86_64-apple-darwin10.4.0 ... checking for libxml-2.0 > 2.2.0... yes checking LIBXML2_CFLAGS... -I/opt/local/include/libxml2 = -I/opt/local/include =20 checking LIBXML2_LIBS... -L/opt/local/lib -lxml2 -lpthread -lz -liconv = -lm =20 ... gcc -prebind -framework AppKit -Xlinker -headerpad -Xlinker 6C8 \ -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o menu.o = window.o charset.o coding.o category.o ccl.o character.o chartab.o = bidi.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o = keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o = fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o = search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o = floatfns.o fns.o font.o print.o lread.o syntax.o unexmacosx.o bytecode.o = process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o = intervals.o textprop.o composite.o md5.o xml.o nsterm.o nsfns.o = nsmenu.o nsselect.o nsimage.o nsfont.o fontset.o fringe.o image.o = terminfo.o lastfile.o mktime.o -L/opt/local/lib -lxml2 = -lpthread -lz -liconv -lm -lresolv -lncurses =20 ld: warning: in /opt/local/lib/libxml2.dylib, file is not of required = architecture Undefined symbols: "_xmlCleanupParser", referenced from: _parse_buffer in xml.o "_xmlDocGetRootElement", referenced from: _parse_buffer in xml.o "_xmlReadMemory", referenced from: _parse_buffer in xml.o "_htmlReadMemory", referenced from: _parse_buffer in xml.o "_xmlCheckVersion", referenced from: _parse_buffer in xml.o "_xmlFreeDoc", referenced from: _parse_buffer in xml.o ld: symbol(s) not found dr@elin:~/em24.git emacs24$ lipo -info /opt/local/lib/libxml2.dylib Non-fat file: /opt/local/lib/libxml2.dylib is architecture: i386 Would it be possible to fix the configure script to make sure that the = library is not only present, but that it can actually be bound?