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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <503D23CE.6010804@gmail.com>
Date: Tue, 28 Aug 2012 23:02:22 +0300
From: Tasos Laskos <tasos DOT laskos AT gmail DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 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>
In-Reply-To: <503D215B.2060705@cygwin.com>
X-IsSubscribed: yes
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 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.

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 don't see this because I have iconv installed.  Maybe someone on this
> list more familiar with iconv could explain this dependency and why it
> makes sense.  However, I'd suggest taking this to the iconv experts to
> get the full explanation of their configure script.
>
>> PS. Please skip any lectures you might be inclined to give,...
>
> Without the lecture, what fun is this question for the rest of us? ;-)
>
>

Heh, I merely wanted to stress that I already know about the pitfalls 
but if you're the funny-rant type go right ahead.


--
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