From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Roger Mc Murtrie Newsgroups: gmane.lisp.guile.bugs Subject: Re: Make problem Mac OS X Date: Sun, 13 Jan 2008 10:18:39 +1100 Message-ID: References: <87prw9354g.fsf@ossau.uklinux.net> <881AD488-9F97-4F0D-B078-BEBD5BB684B8@iinet.net.au> <87tzll1eel.fsf@ossau.uklinux.net> <35E22493-6C5F-4DEE-A261-9D0ED2998C2A@iinet.net.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200179938 5479 80.91.229.12 (12 Jan 2008 23:18:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jan 2008 23:18:58 +0000 (UTC) Cc: bug-guile@gnu.org To: Gregory Marton Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Jan 13 00:19:20 2008 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JDpdH-0000Z6-ES for guile-bugs@m.gmane.org; Sun, 13 Jan 2008 00:19:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDpct-0003vB-3H for guile-bugs@m.gmane.org; Sat, 12 Jan 2008 18:18:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JDpco-0003uw-O6 for bug-guile@gnu.org; Sat, 12 Jan 2008 18:18:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JDpcm-0003uk-Kc for bug-guile@gnu.org; Sat, 12 Jan 2008 18:18:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDpcm-0003uh-Ey for bug-guile@gnu.org; Sat, 12 Jan 2008 18:18:48 -0500 Original-Received: from outbound.icp-qv1-irony-out1.iinet.net.au ([203.59.1.108]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JDpcl-0003iz-Mh for bug-guile@gnu.org; Sat, 12 Jan 2008 18:18:48 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAHfZiEfL2Tu0/2dsb2JhbAAIkVOVOQ X-IronPort-AV: E=Sophos;i="4.24,276,1196607600"; d="scan'208";a="274340045" Original-Received: from unknown (HELO [10.0.1.2]) ([203.217.59.180]) by outbound.icp-qv1-irony-out1.iinet.net.au with ESMTP; 13 Jan 2008 08:18:39 +0900 In-Reply-To: X-Mailer: Apple Mail (2.915) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3697 Archived-At: Hi Greg I could only get it to work by ./configure --enable-shared=no Its often safer to use make distclean when and rerunning configure when trying to sort out these types of problems. Now I comment "#undef HAVE_STAT64" in config.h.in to get rid of the off64_t problem. This stops HAVE_STAT64 getting defined in config.h. Regards Roger On 13/01/2008, at 1:51 AM, Gregory Marton wrote: > Thanks Roger, > > In the ltdl case, it turned out I just needed to make clean for > configure's updates to take effect. I'm still stumped on the mac > problem though -- readline and rl_pending_input, even with adding "- > L /usr/local/bin" to my CFLAGS. Did you finally get that working? > > Thanks, > Grem > >> Hi Greg, >> I've been using locate, find and grep to find missing bits and >> pieces. >> Also the search function of Mac Finder windows (which doesn't seem >> to search all files) >> On my machine >> locate libltdl >> produces >> . >> . >> . >> /usr/lib/libltdl.3.1.4.dylib >> /usr/lib/libltdl.3.dylib >> /usr/lib/libltdl.a >> /usr/lib/libltdl.dylib >> /usr/lib/libltdl.la >> >> Perhaps for Debian you have to install it yourself. I think the >> libguile-ltdl is a separate thing. >> Of course, to use libltdl.a you have to inclide -ltdl in your gcc >> link commands, usually by setting the environment variable before >> running configure: >> LDFLAGS=-ltdl >> export LDFLAGS >> (Although for one package that I build, setting environment >> variables suggested by configure -help results in empty Makefiles!) >> Googling libltdl leads to www.gnu.org/software/libtool. Looks like >> libltdl comes with GNU Libtool which I seem to remember having to >> install at some stage >> >> I don't recall getting the "you may need to run ldconfig". >> message, but I think I've had it from other installs in the past. >> I never have found out how to use it. I think it comes from the >> loader and is really a message, perhaps, to gcc rather than humans. >> >> I'm not much more than a "novice" myself, just stumble along with >> lots of trial and error. >> Nowadays, package installation seems to involve one battle after >> another! >> >> Good luck >> Roger >> >> >> On 11/01/2008, at 11:56 PM, Gregory Marton wrote: >> >>> This is an ongoing problem -- now on Debian guile build complains >>> of not having libltdl even though 'sudo aptitude install libguile- >>> ltdl-1' claimed it was correctly installed. How do I go about >>> finding where this libtdl has been put, and telling configure? >>> Thanks for any help on this, >>> Grem >>>> Hi Roger, >>>> So I'm up against this problem now, and trying, as Ludovic >>>> suggests, to install the "real" GNU readline. I downloaded, >>>> unpacked, configured, made, did sudo make install, and everything >>>> worked fine on my MacBook Pro running 10.4, but at the end it >>>> says "you may need to run ldconfig". It appeared to install >>>> into /usr/local/lib successfully. >>>> making in the guile directory still gives me this problem, as if >>>> it didn't notice. Do you know what ldconfig this is of which it >>>> speaks, or how to run it? Will it help guile recognize the one >>>> it wants? >>>> I'm a rank novice at all these things, sorry. >>>> Thanks, >>>> Grem >>>> Roger Mc Murtrie whote on Wed, 09 Jan 2008 23:30:43 -0800 >>>>> Ludovic wrote: >>>>> Then I guess MacOS X users had better install the "real" GNU >>>>> Readline. Alternatively, we could detect whether >>>>> `rl_pending_input' is available at configure-time, and `#ifdef' >>>>> the offending line of code. However, I don't know what impact it >>>>> would have, and that would really be a crude hack to work around >>>>> the defects of Editline's compatibility layer, so it's probably >>>>> better to leave things as is. >>>>> Thanks, Ludovic. >>>>> Perhaps, detect if `rl_pending_input' is available at configure- >>>>> time. >>>>> If not, abort the configure with an appropriate message? >>>>> Regards >>>>> Roger >>> -- >>> ------ __@ Gregory A. Marton http://csail.mit.edu/~gremio/ >>> --- _` >>> \< >>> ,_ . >>> -- (*)/ (*) Quantum Physics: The dreams stuff is made of. >>> ~~~~~~~~~~~~~~~~-~~~~~~~~_~~~_~~~~~v~~~~^^^^~~~~~--~~~~~~~~~~~~~~~+ >>> +~~~~~~~ >> > > -- > ------ __@ Gregory A. Marton http://csail.mit.edu/~gremio/ > --- _` > \<,_ . > -- (*)/ (*) Prediction is hard, especially about the future. > ~~~~~~~~~~~~~~~~-~~~~~~~~_~~~_~~~~~v~~~~^^^^~~~~~--~~~~~~~~~~~~~~~+ > +~~~~~~~