Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#3932 - gtk-sharp-2

Attached to Project: Arch Linux
Opened by cigla (cigla) - Wednesday, 08 February 2006, 23:26 GMT
Last edited by arjan timmerman (blaasvis) - Thursday, 09 February 2006, 00:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

after install, gtk-sharp-2 isn't registered with mono

When I try to build helloworld.cs I get this error:
[cigla@kantaii pr4]$ mcs -pkg:gtk-sharp-2.0 helloword.cs
error CS8027: Couldn't run pkg-config: Cannot find the specified file
This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 10 February 2006, 22:49 GMT
Reason for closing:  Works for me
Comment by Jan de Groot (JGC) - Thursday, 09 February 2006, 15:16 GMT
You could try to install pkgconfig, as the message says. pkgconfig isn't included as dependency anymore because it isn't a runtime dependency but a build-time dependency for most packages. This affects multiple packages though, including your own project ;)
Comment by cigla (cigla) - Thursday, 09 February 2006, 17:13 GMT
tnx

but when i try to run compiled application i get this error:
Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll
in (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&)
in <0x00035> Gtk.Application:Init ()
in <0x00011> HelloWorld:Main (System.String[] args)

and in /etc/mono/config there is no dllmap with libgtk-win32-2.0-0.dll
Comment by Jan de Groot (JGC) - Thursday, 09 February 2006, 18:10 GMT
Hmm, can you show us some code? I don't think it's something with mono but rather something with your code or so, as muine (also a GTK-sharp-2 app) works perfect with this version of gtk-sharp-2
Comment by cigla (cigla) - Thursday, 09 February 2006, 21:04 GMT
tnx for help
after reboot, everithing works ok :)
problem was that i didn't install pkgconfig and after that rebooted
(and the problem was in monodevelop project templates - reference links are broken and i had to add them myself)

Loading...