delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/28/16:28:05

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: <503D299D.9030408@cygwin.com>
Date: Tue, 28 Aug 2012 16:27:09 -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> <503CDCEE DOT 2000607 AT cygwin DOT com> <503CE265 DOT 9000800 AT gmail DOT com> <503D215B DOT 2060705 AT cygwin DOT com> <503D23CE DOT 6010804 AT gmail DOT com>
In-reply-to: <503D23CE.6010804@gmail.com>
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/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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019