delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/07/14:12:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.5 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
MIME-Version: 1.0
In-Reply-To: <4FF871BA.9020809@gmail.com>
References: <CAGVbBt3V+d2JpyKckHRBa0kdQtbQA6_0iXuA_oo-umJtHsj83A AT mail DOT gmail DOT com> <CAGVbBt2xb2h0zdQf5bXTo+xizuRkSVQmCsRBp1kVw0k-xh_50w AT mail DOT gmail DOT com> <4FF871BA DOT 9020809 AT gmail DOT com>
Date: Sat, 7 Jul 2012 20:12:05 +0200
Message-ID: <CAGVbBt0EuW6VBE=nNCNTqQeJVpart3AjPkFpKe5_CoCm8+0a1Q@mail.gmail.com>
Subject: Re: How to determine runtime and build requirements for an application?
From: Coldpizza <coldpizza DOT rockstation AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q67ICPMm019159

: No such file or directory/!bin/bash
./depchecker.sh: líne 12: syntactic error near unexpected element `$'do\r''
'/depchecker.sh: líne 12: `do


2012/7/7 marco atzeri <marco DOT atzeri AT gmail DOT com>:
> On 7/7/2012 6:22 PM, Coldpizza wrote:
>>
>> Watching under /usr/share/doc/Cygwin/lftp.README I see the following.
>> Is there any way to determine it, for example to compile other
>> application from source, or must figure it out by myself?
>>
>>> Runtime requirements:
>>>   cygwin
>>>   libexpat1
>>>   libgcc1
>>>   libiconv2
>>>   libintl8
>>>   libncurses10
>>>   libopenssl100
>>>   libreadline7
>>>   libstdc++6
>>>
>>> Build requirements:
>>>   binutils
>>>   gcc4-g++
>>>   gettext-devel
>>>   libiconv
>>>   make
>>>   openssl-devel
>>>   readline
>>>
>>> Build script additional requirements:
>>>   coreutils
>>>   findutils
>>>   cygport
>>
>>
>> --
>
>
> for dll runtime dependency see
>
> $ cygcheck /usr/bin/lftp.exe
>
> using a small script like
> --------------------------------------------
> #/!bin/bash
> if [ $# -ne 1 ]
> then
>         echo "Usage : " $0 "file_name"
>         echo "Find package dependency from dll dependency"
>         exit 1
> fi
>
> a=1
> for i in  $(cygcheck $1 |tr " " "^" | tr "\r" " " )
> do
>         echo  -n $i |tr "^" " "
>         echo -n " =>  "
>         b=$(cygcheck -f $(cygpath -u $(echo $i |tr  "^" " "))| tr "\r" " " )
>         if [ -z $b ]
>         then
>           echo "??"
>         else
>           echo $b
>         fi
> done
> ----------------------------------------------------
> you can directly look at the package dependency
>
>
> $ cyg_dependency /usr/bin/lftp.exe
> E:\cygwin\bin\lftp.exe =>  lftp-4.3.7-1
>   E:\cygwin\bin\cyggcc_s-1.dll =>  libgcc1-4.5.3-3
>     E:\cygwin\bin\cygwin1.dll =>  cygwin-1.7.15-1
>       C:\Windows\system32\KERNEL32.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-RtlSupport-L1-1-0.dll =>  ??
>         C:\Windows\system32\ntdll.dll =>  ??
>         C:\Windows\system32\KERNELBASE.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-ProcessThreads-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-Memory-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-Synch-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-File-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-IO-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-ThreadPool-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-LibraryLoader-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-NamedPipe-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-Misc-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-Localization-L1-1-0.dll =>  ??
>
> C:\Windows\system32\API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-String-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-Debug-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-ErrorHandling-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-Fibers-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-Util-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Security-Base-L1-1-0.dll =>  ??
>   E:\cygwin\bin\cygstdc++-6.dll =>  libstdc++6-4.5.3-3
>   E:\cygwin\bin\cygcrypto-1.0.0.dll =>  libopenssl100-1.0.1c-1
>     E:\cygwin\bin\cygz.dll =>  zlib0-1.2.7-1
>   E:\cygwin\bin\cygncurses-10.dll =>  libncurses10-5.7-18
>   E:\cygwin\bin\cygexpat-1.dll =>  libexpat1-2.1.0-1
>   E:\cygwin\bin\cygiconv-2.dll =>  libiconv2-1.14-2
>   E:\cygwin\bin\cygintl-8.dll =>  libintl8-0.18.1.1-2
>   E:\cygwin\bin\cygreadline7.dll =>  libreadline7-6.1.2-3
>     E:\cygwin\bin\cygncursesw-10.dll =>  libncursesw10-5.7-18
>     C:\Windows\system32\USER32.dll =>  ??
>       C:\Windows\system32\GDI32.dll =>  ??
>         C:\Windows\system32\API-MS-Win-Core-LocalRegistry-L1-1-0.dll =>  ??
>         C:\Windows\system32\LPK.dll =>  ??
>           C:\Windows\system32\USP10.dll =>  ??
>             C:\Windows\system32\msvcrt.dll =>  ??
>               C:\Windows\system32\API-MS-Win-Core-Console-L1-1-0.dll =>  ??
>               C:\Windows\system32\API-MS-Win-Core-DateTime-L1-1-0.dll =>  ??
>
> C:\Windows\system32\API-MS-Win-Core-Interlocked-L1-1-0.dll =>  ??
>       C:\Windows\system32\ADVAPI32.dll =>  ??
>         C:\Windows\system32\API-MS-WIN-Service-Core-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-WIN-Service-winsvc-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-WIN-Service-Management-L1-1-0.dll =>  ??
>         C:\Windows\system32\API-MS-WIN-Service-Management-L2-1-0.dll =>  ??
>         C:\Windows\system32\RPCRT4.dll =>  ??
>           C:\Windows\system32\SspiCli.dll =>  ??
>             C:\Windows\system32\CRYPTBASE.dll =>  ??
>               C:\Windows\system32\API-MS-Win-Core-DelayLoad-L1-1-0.dll =>
> ??
>
> C:\Windows\system32\API-MS-Win-Security-LSALookup-L1-1-0.dll =>  ??
>   E:\cygwin\bin\cygssl-1.0.0.dll =>  libopenssl100-1.0.1c-1
>
>
> Regards
> Marco
>
> --
> 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
>

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