From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6121 invoked by alias); 28 Aug 2012 20:27:48 -0000 Received: (qmail 6091 invoked by uid 22791); 28 Aug 2012 20:27:45 -0000 X-SWARE-Spam-Status: No, hits=2.0 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_YG X-Spam-Check-By: sourceware.org Received: from vms173013pub.verizon.net (HELO vms173013pub.verizon.net) (206.46.173.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Aug 2012 20:27:28 +0000 Received: from [192.168.1.231] ([unknown] [96.237.111.191]) by vms173013.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0M9H006YMFH9MFE0@vms173013.mailsrvcs.net> for cygwin@cygwin.com; Tue, 28 Aug 2012 15:27:14 -0500 (CDT) Message-id: <503D299D.9030408@cygwin.com> Date: Tue, 28 Aug 2012 23:23:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-version: 1.0 To: cygwin@cygwin.com Subject: Re: Build script error (libiconv + custom prefix) References: <503C0C1A.9040608@gmail.com> <503CDCEE.2000607@cygwin.com> <503CE265.9000800@gmail.com> <503D215B.2060705@cygwin.com> <503D23CE.6010804@gmail.com> In-reply-to: <503D23CE.6010804@gmail.com> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00621.txt.bz2 On 8/28/2012 4:02 PM, Tasos Laskos wrote: > On 08/28/2012 10:51 PM, Larry Hall (Cygwin) wrote: >> On 8/28/2012 11:23 AM, Tasos Laskos wrote: >>> Hi, >>> >>> Thanks for the replies guys. >>> >>> The purpose of the build.sh script is to setup a full env under the >>> "arachni" dir which will include all system libs and other dependencies. >>> >>> It also creates wrappers for the application's executables which setup >>> env >>> variables like PATH and LD_LIBRARY_PATH before running them. >>> >>> The point of all this is that you'll be able to package up that dir and >>> transfer it between boxes without worrying about dependencies. >>> >>> It's meant to create a self-contained package, so I don't want to rely on >>> what's already on the system. >>> >>> I've attached the libiconv logfile and the cygcheck output. >> >> OK, that explains the difference you and I are seeing. In your configure >> output, you get: >> >>> checking for iconv... (cached) no, consider installing GNU libiconv >> > > So...libiconv's configure script requires libiconv, that's a bit wacky. > However, I'm guessing that this is a standard test and doesn't play a part > in this problem. > > Configuring and installing libiconv manually (no prefix) works, it only > fails when running the build script. And if you configure manually with a prefix? > If you'd like to recreate my Cygwin env and try again this is how: > ------------- > setup.exe -q -R c:\cygwin -l c:\cygwin-packages -P make,gcc,g++,perl,wget > ------------- I already tried your script on a machine with Cygwin installed but without iconv and saw the same complaints from configure in your build script. There are other configure flags for this package which could help if you want to experiment with them (assuming you haven't already). But also doing what the configure script recommends solves the problem. If you're content to do that, then you have a solution. If you're not (as I expect you aren't) and the configure flags don't help, then I'd recommend talking to the package authors about the bump in the configure process you're noticing. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple