X-Recipient: archive-cygwin AT delorie DOT com 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 Message-id: <503CDCEE.2000607@cygwin.com> Date: Tue, 28 Aug 2012 10:59:58 -0400 From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> Reply-to: cygwin AT cygwin DOT 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 AT cygwin DOT com Subject: Re: Build script error (libiconv + custom prefix) References: <503C0C1A DOT 9040608 AT gmail DOT com> In-reply-to: <503C0C1A.9040608@gmail.com> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: <cygwin.cygwin.com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 8/27/2012 8:08 PM, Tasos Laskos wrote: > Hi folks, > > I'm trying to port my project's [1] build/package script to Cygwin but I'm > facing some difficulties during runtime. > > It runs fine under Linux and OSX but I'm not sure if that's because these > environments fulfil a dependency I'm unaware of, while Cygwin being a > stripped down system does not, or something else. > > Here's how to go about reproducing it. > > To setup the Cygwin environment: > ---------------------------- > setup.exe -q -R c:\cygwin -l c:\cygwin-packages -P make,gcc,g++,perl,wget > ---------------------------- > > To reproduce the issue open up the Cygwin shell: > ---------------------------- > mkdir lib > cd lib > wget --no-check-certificate > https://raw.github.com/Arachni/arachni/experimental/external/scripts/lib/readlink_f.sh > > cd .. > wget --no-check-certificate > https://raw.github.com/Arachni/arachni/experimental/external/scripts/build.sh > bash build.sh > ---------------------------- > > It fails when it tries to build the first dependency, libiconv, but I'm not > sure why. > For some reason it looks for a /usr/lib/libiconv.la while it has been > configured with a different prefix. > > Anyone have any ideas? What's the failure? Following your steps above I found build.sh built libiconv fine for me. If you're still having trouble and want to follow-up, please send along your cygcheck -srv output as an attachment. And of course there's Marco's point that libiconv-1.14 is available already as a package, if that's all you need. -- 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