This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: cygcheck - How to fill in Runtime requirements? (X application)
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "Jari Aalto+mail.linux" <letters at hotpop dot com>
- Cc: cygwin-apps at cygwin dot com
- Date: Mon, 9 Feb 2004 08:27:37 -0500 (EST)
- Subject: Re: cygcheck - How to fill in Runtime requirements? (X application)
- References: <wu6w3997.fsf@blue.sea.net>
- Reply-to: cygwin-apps at cygwin dot com
On Mon, 9 Feb 2004, Jari Aalto+mail.linux wrote:
> I'm porting xboard, which contains dependencies
>
> h:\unix-root\u\bin\cygwin1.dll
> G:\WINNT\system32\ADVAPI32.DLL
> G:\WINNT\system32\NTDLL.DLL
> G:\WINNT\system32\KERNEL32.DLL
> G:\WINNT\system32\RPCRT4.DLL
> h:\unix-root\u\usr\X11R6\bin\cygX11-6.dll
> h:\unix-root\u\bin\cygcygipc-2.dll
> h:\unix-root\u\usr\X11R6\bin\cygXaw-7.dll
> h:\unix-root\u\usr\X11R6\bin\cygXext-6.dll
> h:\unix-root\u\usr\X11R6\bin\cygXmu-6.dll
> h:\unix-root\u\usr\X11R6\bin\cygXt-6.dll
> h:\unix-root\u\usr\X11R6\bin\cygICE-6.dll
> h:\unix-root\u\usr\X11R6\bin\cygSM-6.dll
> h:\unix-root\u\usr\X11R6\bin\cygXpm-4.dll
>
> I'm not sure what dependencies I should list in setup.hint and
> in xboard.README. I was thinking about:
>
> requires: cygwin cygipc xfree86-base
>
> Jari
Jari,
Try running 'cygcheck -f' on the POSIX path to each of the DLLs listed by
cygcheck. In fact, I've posted the following in the past, which should
work for you:
find .inst -name '*.exe' | xargs cygcheck | sed -e '/\.exe/d' -e 's,\\,/,g' | sort -bu | xargs -n1 cygpath -u | xargs cygcheck -f
The above should find all the external dependences for the executables in
your package. If you're providing a run-time library, you'll need to also
include '*.dll' in the find command (ditto for '*.bin', as in TeXmacs).
Also, dependences resulting from scripts aren't detected by the above.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton