From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Engeler Newsgroups: gmane.emacs.bugs Subject: Re: mac emacs port busted. Date: Sat, 27 Oct 2007 14:31:51 -0700 Organization: http://groups.google.com Message-ID: <1193520711.965845.120540@22g2000hsm.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: ger.gmane.org 1193533713 4611 80.91.229.12 (28 Oct 2007 01:08:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2007 01:08:33 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 28 02:08:34 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ilwdm-0003IJ-8E for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Oct 2007 02:08:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ilwdd-0000gw-Cm for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2007 21:08:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!22g2000hsm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 59 Original-NNTP-Posting-Host: 212.254.35.77 Original-X-Trace: posting.google.com 1193520712 1362 127.0.0.1 (27 Oct 2007 21:31:52 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 27 Oct 2007 21:31:52 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/522.11.1 (KHTML, like Gecko) Version/3.0.3 Safari/522.12.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 22g2000hsm.googlegroups.com; posting-host=212.254.35.77; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.bug:43780 X-Mailman-Approved-At: Sat, 27 Oct 2007 21:08:07 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16855 Archived-At: On Oct 17, 10:31 pm, Doug Turner wrote: > if there is a better place for this kind of reports, please redirect me. > > when buildingemacsfor the mac os x with: > > ./configure --with-carbon --without-x > make bootstrap > > the result is: > > gcc -I/sw/include -L/sw/lib -prebind -framework Carbon -framework > QuickTime -Xlinker -headerpad -Xlinker 690 -o temacs pre-crt0.o > dispnew.o frame.o scroll.o xdisp.o window.o charset.o coding.o > category.o ccl.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 print.o lread.o abbrev.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 mac.o macterm.o macfns.o macmenu.o macselect.o fontset.o > fringe.o image.o terminfo.o lastfile.o -lncurses > /usr/bin/ld: warning -prebind ignored because > MACOSX_DEPLOYMENT_TARGET environment variable greater or equal to 10.4 > /usr/bin/ld: Undefined symbols:_res_9_init > collect2: ld returned 1 exit status > make[2]: *** [temacs] Error 1 > make[1]: *** [bootstrap-build] Error 2 > make: *** [bootstrap] Error 2 > > I believe that we need to ensure that the link includes -lresolv. I > also believe that this is related to or a direct cause of the check > in to configure.in: > > revision 1.477 > date: 2007-10-17 15:53:01 +0000; author: cyd; state: Exp; lines: > +31 -4; commitid: IJUAzOun4gWWAXBs; > (HAVE_RES_INIT): Define if res_init() exists. > (HAVE_LIBRESOLV): Also define if we are using res_init(). > > No patch; sorry. Happy to try one if you do not have a mac for > testing. If I get some time, i will put something together and post > it here. > > Regards, > Doug Turner Hi Doug, I encountered the same problem on Emacs 23.0.50.1 under OS X 10.4.10. Doing a manual "export LIBS=-lresolv" before "make bootstrap" solved the problem. Is there no automatic build on all platforms after each check-in? Regards, Daniel