On 9/13/2011 8:09 AM, Dario Buttari wrote:
> Thank you Marco!
>
> I run cygcheck as you suggested, and found that I was missing cyggomp-1.dll:
>
> $ cygcheck /usr/lib/R/bin/exec/R.exe
> C:\Users\Giulio\cygwin\lib\R\bin\exec\R.exe
>    C:\Users\Giulio\cygwin\bin\libR.dll
>      C:\Users\Giulio\cygwin\lib\lapack\cygblas-0.dll
>        C:\Users\Giulio\cygwin\bin\cygwin1.dll
>          C:\Windows\system32\ADVAPI32.DLL
>            C:\Windows\system32\msvcrt.dll
>              C:\Windows\system32\KERNELBASE.dll
>                C:\Windows\system32\ntdll.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-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-File-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-Interlocked-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-Localization-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-LibraryLoader-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-Memory-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-Misc-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-NamedPipe-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-ProcessThreads-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-String-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-Synch-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll
>              C:\Windows\system32\API-MS-Win-Core-Util-L1-1-0.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\API-MS-Win-Core-LocalRegistry-L1-1-0.dll
>            C:\Windows\system32\API-MS-Win-Security-Base-L1-1-0.dll
>            C:\Windows\system32\KERNEL32.dll
>              C:\Windows\system32\API-MS-Win-Core-RtlSupport-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\RPCRT4.dll
>              C:\Windows\system32\API-MS-Win-Core-DelayLoad-L1-1-0.dll
>        C:\Users\Giulio\cygwin\bin\cyggcc_s-1.dll
>      C:\Users\Giulio\cygwin\bin\cygbz2-1.dll
>      C:\Users\Giulio\cygwin\bin\cygiconv-2.dll
>      C:\Users\Giulio\cygwin\bin\cygicui18n48.dll
>        C:\Users\Giulio\cygwin\bin\cygicuuc48.dll
>          C:\Users\Giulio\cygwin\bin\cygicudata48.dll
>          C:\Users\Giulio\cygwin\bin\cygstdc++-6.dll
>      C:\Users\Giulio\cygwin\bin\cygintl-8.dll
>      C:\Users\Giulio\cygwin\bin\cyglzma-5.dll
>      C:\Users\Giulio\cygwin\bin\cygpcre-0.dll
>      C:\Users\Giulio\cygwin\bin\cygreadline7.dll
>        C:\Users\Giulio\cygwin\bin\cygncursesw-10.dll
>        C:\Windows\system32\USER32.dll
>          C:\Windows\system32\GDI32.dll
>            C:\Windows\system32\LPK.dll
>              C:\Windows\system32\USP10.dll
>      C:\Users\Giulio\cygwin\bin\cygz.dll
> cygcheck: track_down: could not find cyggomp-1.dll
>
> I then checked which package has the missing cyggomp-1.dll, and found
> that it is part of libgomp1/libgomp1-4.5.3-2:
> http://cygwin.com/cgi-bin2/package-grep.cgi?grep=cyggomp-1.dll
>
> I installed that package by running setup.exe, and now I am finally
> able to start R without getting an error message. Thank you very much
> for the help!
>
> Is this kind of troubleshooting required for all the packages from
> cygwin ports?
> This is the first package that I install from cygwin ports, and I am
> fairly new to cygwin/unix/linux.
>

This only happen when you install from cygwin port a package that have
a depency from a package that you miss and that is only available
in the standard cygwin distribution.

Setup knows that you are missing a package but as it is not available
in ports, setup can not install it.

cygcheck is the tool to find missing DLL

Regards
Marco

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to