From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Aaron Turner" Newsgroups: gmane.lisp.guile.user Subject: Re: Building shared libs (DLL) under Cygwin (1.8.4) Date: Thu, 1 May 2008 14:53:39 -0700 Message-ID: <1ca1c1410805011453o69963566q2133d1063ca37c9d@mail.gmail.com> References: <1ca1c1410804301357y5d9023c5ha5ddedcd17e69666@mail.gmail.com> <87iqxyz93k.fsf@ossau.uklinux.net> <481A1027.3010700@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209678848 2577 80.91.229.12 (1 May 2008 21:54:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 May 2008 21:54:08 +0000 (UTC) Cc: guile-user@gnu.org, Neil Jerram To: "Cesar Strauss" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu May 01 23:54:41 2008 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jrgja-0005UK-G8 for guile-user@m.gmane.org; Thu, 01 May 2008 23:54:34 +0200 Original-Received: from localhost ([127.0.0.1]:47073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jrgit-0000SV-GB for guile-user@m.gmane.org; Thu, 01 May 2008 17:53:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jrgip-0000S6-E4 for guile-user@gnu.org; Thu, 01 May 2008 17:53:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jrgio-0000Rf-M8 for guile-user@gnu.org; Thu, 01 May 2008 17:53:46 -0400 Original-Received: from [199.232.76.173] (port=58776 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jrgio-0000Rc-H8 for guile-user@gnu.org; Thu, 01 May 2008 17:53:46 -0400 Original-Received: from yw-out-1718.google.com ([74.125.46.155]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jrgio-00007G-7A for guile-user@gnu.org; Thu, 01 May 2008 17:53:46 -0400 Original-Received: by yw-out-1718.google.com with SMTP id 5so728459ywm.66 for ; Thu, 01 May 2008 14:53:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=cJc2BgQltOOL+1RytsLYVl1rOQrPrD0Kd4+9HhDqHaI=; b=hRc9vX8gB+dfctGL+U20gzLZVxtSMbFq+atgnVwk+GPKhdSzWEKR4mJMRnPEH04ky4z/0rV42V+B2xXJU3/P3fZO9mFPHp5b2mnLc0dSsU25yOdrdqq25Bx1JL9hX1XsUWeTusrko25xLfCvjYdfMM2ahsnAuVd3N8aNQ+4J9Cw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FWw8nIvHWWjqY8Ku9SNyvhHqYGFu2Avv9eKQHxP4CvcIEMH1p9J3A9I+qpPnBjwkxrdr+QntUelUsO1Qq3IrtzwrX5OGFw7/kz6BOwFXODMa+dJE0fcNejAyrYw5P5qTYEPVS3YsTr93CipUYDhrSvH3MtqTrHSzKP+W00Gv/b8= Original-Received: by 10.150.68.2 with SMTP id q2mr2894767yba.87.1209678819069; Thu, 01 May 2008 14:53:39 -0700 (PDT) Original-Received: by 10.150.143.20 with HTTP; Thu, 1 May 2008 14:53:39 -0700 (PDT) In-Reply-To: <481A1027.3010700@gmail.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6554 Archived-At: On Thu, May 1, 2008 at 11:47 AM, Cesar Strauss wrote: > Neil Jerram wrote: > > > > > "Aaron Turner" writes: > > > > > > > > > > I'm trying to rebuild Guile 1.8.4 under Cygwin (latest stable) because > > > the Cygwin packages seem to have some serious problems (I've been told > > > it was built with the wrong version of gcc). Everything seems ok > > > (configure && make report no errors), but when it's all said and done, > > > all I get is a static library. [snip] > > > > > > > > > > Please try this: > > make clean > libtoolize --copy --force > ./configure > make > make install > > It seems the particular version of libtool included in guile 1.8.4 is > somewhat broken on mingw/cygwin. The above worked for me on both platforms. Yep! That worked! Well mostly... 'guile-config link' doesn't return the correct string (-L/usr/local/lib is AFTER -lguile) but that's easily fixed with a little shell script magic. > > I would suggest working with the Cygwin people on this. They are more > > likely to be familiar with this kind of issue (which probably comes > > from how the autotools work on Cygwin), and if there's a problem with > > the current Guile in Cygwin, it would be much better to fix that for > > all Cygwin users. > > > > I agree, that would be best. I'll see if I can ping the maintainer. > > (FWIW, when I last updated a couple of weeks ago, the Cygwin Guile > > version was 1.8.2. I've been using that successfully and haven't seen > > any critical problems. I did see a problem with open-input-pipe > > hanging, but worked around that by writing to a temporary file instead > > and then re-reading from that file.) > > I'm still having problems with the lastest version. I've been told that it was due to the Cygwin Guile using a different version of gcc then what is shipped with Cygwin. No idea if that's true. > As far as I could follow the discussion, it seems the Autogen tool used to > crash frequently, but worked when Guile was compiled from source. Yep, that's what I've been told. Limited testing so far seems to indicate this does fix the problem (autogen isn't crashing anymore, except for using it with pipes: 'autogen -v | echo' for example). Thanks! -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin