This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build script error (libiconv + custom prefix)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]