I did a cygcheck -c and found some "Incomplete" packages.

        $ cygcheck -c | grep Incom
        libatk1.0_0                     1.24.0-1           Incomplete
        libgdk_pixbuf2.0_0              2.14.7-2           Incomplete
        libgtk2.0_0                     2.14.7-2           Incomplete
        libpango1.0_0                   1.22.4-1           Incomplete
        tcl                             8.4.19-2           Incomplete
        tk                              8.4.19-3           Incomplete

I reinstalled these and now " ruby -e "require 'gtk2'" " works.  Do
you have any idea how I might of messed these up when I was adding
additional packages?

Also, still think it would be helpful if someone answered my question
about the step 4.  It matters, I think it would be helpful to update
this section of the directions updated.

> On your step 4 "Add and select ftp://sourceware.org/pub/cygwinports
> (or a sourceware mirror) in the mirror list.", are we supposed to have
> both sourceware.org and our other download site like
> http://mirror.mcs.anl.gov selected?  Or just the sourceware.org site
> selected?  Or does this even matter?

Thanks,
   Michael

On Tue, Nov 10, 2009 at 11:00 PM, Michael Schuh
<michael.sourceforge...@boardsailor.com> wrote:
> Yaakov,
>
> Thanks for the help.  The executable gave me back (null)\n(null).  I
> tried installing ruby-gnome2 because it was not installed and you
> mentioned it below.  This did not help.  I still get a ruby error.
> This time the cygcheck on the atk.so file comes back with an error and
> I can't figure out which package to load to clean up the error.  I did
> another cygcheck -srv and saved it at
> http://www.boardsailor.com/cygwin/cygcheck-srv_2009-11-10.txt .
>
> On your step 4 "Add and select ftp://sourceware.org/pub/cygwinports
> (or a sourceware mirror) in the mirror list.", are we supposed to have
> both sourceware.org and our other download site like
> http://mirror.mcs.anl.gov selected?  Or just the sourceware.org site
> selected?  Or does this even matter?
>
> Thanks for any help you give me.
>
> Regards,
>    Michael
>
> r...@cad /cygdrive/c/Documents and Settings/Administrator/My 
> Documents/Downloads
> $ gtkversion.exe
>
> r...@cad /cygdrive/c/Documents and Settings/Administrator/My 
> Documents/Downloads
> $ !rub
> ruby -e "require 'gtk2'"
> /usr/lib/ruby/site_ruby/1.8/i386-cygwin/atk.so: No such file or directory - 
> /usr
> /lib/ruby/site_ruby/1.8/i386-cygwin/atk.so (LoadError)
>         from /usr/lib/ruby/site_ruby/1.8/atk.rb:2
>         from /usr/lib/ruby/site_ruby/1.8/gtk2/base.rb:13:in `require'
>         from /usr/lib/ruby/site_ruby/1.8/gtk2/base.rb:13
>         from /usr/lib/ruby/site_ruby/1.8/gtk2.rb:11:in `require'
>         from /usr/lib/ruby/site_ruby/1.8/gtk2.rb:11
>         from -e:1:in `require'
>         from -e:1
>
> $ cygcheck /usr/lib/ruby/site_ruby/1.8/i386-cygwin/atk.so
> C:\cygwin/lib\ruby/site_ruby/1.8/i386-cygwin/atk.so
> Error: could not find cygatk-1.0-0.dll
>   C:\cygwin\bin\cygwin1.dll
>     C:\WINDOWS\system32\ADVAPI32.DLL
>       C:\WINDOWS\system32\KERNEL32.dll
>         C:\WINDOWS\system32\ntdll.dll
>       C:\WINDOWS\system32\RPCRT4.dll
>         C:\WINDOWS\system32\Secur32.dll
>   C:\cygwin\bin\cygglib-2.0-0.dll
>     C:\cygwin\bin\cygiconv-2.dll
>     C:\cygwin\bin\cygintl-8.dll
>     C:\cygwin\bin\cygpcre-0.dll
>   C:\cygwin\bin\cyggobject-2.0-0.dll
>   C:\cygwin\bin\cygruby18.dll
>     C:\cygwin\bin\cygcrypt-0.dll
>     C:\WINDOWS\system32\USER32.dll
>       C:\WINDOWS\system32\GDI32.dll
>   C:\cygwin/lib\ruby/site_ruby/1.8/i386-cygwin\glib2.so
>     C:\cygwin\bin\cyggthread-2.0-0.dll
>
> r...@cad /cygdrive/c/Documents and Settings/Administrator/My 
> Documents/Downloads
> $ cygcheck -srv > cygcheck-srv_2009-11-10.txt
>
>
> On Tue, Nov 10, 2009 at 7:23 PM, Yaakov (Cygwin/X)
> <yselkow...@users.sourceforge.net> wrote:
>>
>> On 10/11/2009 20:38, Michael Schuh wrote:
>>>
>>> Yaakov, thanks for the help with sorting out my last installation problem.
>>>
>>> I had ruby gtk2 working and then it broke after I added a few more
>>> packages.  I installed the additional packages following the
>>> http://sourceware.org/cygwinports/ directions as I understand them.
>>> This time I suspect I am not running the ports version of atk.so but
>>> don't know how to check for this or fix it.
>>
>> The distro does not provide ruby-gnome2, so this is extremely unlikely.
>>
>>> Can someone help me understand what step or concept I am missing on
>>
>> > adding packages and how to fix my current problem?
>>
>> I suspect you are actually running the distro GTK+ stack rather than Ports'. 
>>  Please rename the attached program from .cygbin to .exe and run it (source 
>> also provided).  If the result is not (null)\n(null), then you need to 
>> reinstall the GNOME packages from the distro.
>>
>>
>> Yaakov
>> Cygwin Ports
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Cygwin-ports-general mailing list
>> Cygwin-ports-general@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general
>>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cygwin-ports-general mailing list
Cygwin-ports-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to