Mono problem on Angstrom

Hi,

I know there people that have gotten Mono working on the BBB running Angstrom. I am fairly new to Linux and BBB, but I have many years of programming experience. So, with that said, here is what I’ve done so far.

opkg update
opkg install mono.

I am simply trying to run the sample Hello World programs at: http://www.mono-project.com/Mono_Basics.

I can run the command line example with no problems.

When I try to run the GTK+ Hello World example with:

gmcs Ex-02.cs -pkg:gtk-sharp-2.0 (Ex-o2.cs is my GTK+ Hello World program)

This is the error I received:

Package gtk-sharp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk-sharp-2.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gtk-sharp-2.0’ found
error CS8027: Error running pkg-config. Check the above output.

When I try to run the .NET Windows Form Hello World example with:

gmcs Ex-03.cs -pkg:dotnet (Ex-03.cs is my .NET Windows Form Hello World program)

Package dotnet was not found in the pkg-config search path.
Perhaps you should add the directory containing `dotnet.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘dotnet’ found
error CS8027: Error running pkg-config. Check the above output.

Can anyone help with what I’m sure is an easy fix?

Thanks!

try:
opkg install gtk-sharp-2.0

To get the libs you’ll need for the gtk example.

Doug

I get the following response (and I did opkg update first):

root@beaglebone:~# opkg install gtk-sharp-2.0
Unknown package ‘gtk-sharp-2.0’.
Collected errors:

  • opkg_install_cmd: Cannot install package gtk-sharp-2.0.

These are the “gtk” related items I get listed when I do:

opkg list

gtk±dbg - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs - Debugging f
iles
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
gtk±dev - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs - Development
files
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
gtk+3-dbg - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs - Debugging fi
les
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
gtk+3-demo - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
gtk+3-dev - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs - Development
files
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
gtk+3-doc - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs - Documentatio
n files
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
gtk+3-locale-en - 3.2.3-r2.5
gtk-demo - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
gtk-doc-stub - 0.0+gitAUTOINC+3dfd0a09de696ec8c544762747f8a0f77153622e-r0.7 - St
ub implementation of gtk-doc
Stub implementation of gtk-doc, as we don’t want to build the API
gtk-doc-stub-dbg - 0.0+gitAUTOINC+3dfd0a09de696ec8c544762747f8a0f77153622e-r0.7

  • Stub implementation of gtk-doc - Debugging files
    Stub implementation of gtk-doc, as we don’t want to build the API
    gtk-doc-stub-dev - 0.0+gitAUTOINC+3dfd0a09de696ec8c544762747f8a0f77153622e-r0.7
  • Stub implementation of gtk-doc - Development files
    Stub implementation of gtk-doc, as we don’t want to build the API
    gtk-engine-clearlooks - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK clearlooks theme engine
    gtk-engine-clearlooks - 2.20.2-r3.15
    gtk-engine-crux-engine - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK crux-engine theme engine
    gtk-engine-crux-engine - 2.20.2-r3.15
    gtk-engine-glide - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK glide theme engine
    gtk-engine-glide - 2.20.2-r3.15
    gtk-engine-hcengine - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK hcengine theme engine
    gtk-engine-hcengine - 2.20.2-r3.15
    gtk-engine-industrial - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK industrial theme engine
    gtk-engine-mist - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK mist theme engine
    gtk-engine-mist - 2.20.2-r3.15
    gtk-engine-redmond95 - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK redmond95 theme engine
    gtk-engine-redmond95 - 2.20.2-r3.15
    gtk-engine-thinice - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK thinice theme engine
    gtk-engine-thinice - 2.20.2-r3.15
    gtk-engines - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK theme engines
    gtk-engines-dbg - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3 - Debugging files
    GTK theme engines This package contains ELF symbols and related sources
    gtk-engines-dev - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3 - Development fil
    es
    GTK theme engines This package contains symbolic links, header files,
    gtk-immodule-am-et - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs
    GTK input module for am-et
    gtk-immodule-cedilla - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs
    GTK input module for cedilla
    gtk-immodule-cyrillic-translit - 2.24.17-r0.2 - Multi-platform toolkit for creat
    ing GUIs
    GTK input module for cyrillic-translit
    gtk-immodule-inuktitut - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs
    GTK input module for inuktitut
    gtk-immodule-ipa - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs
    GTK input module for ipa
    gtk-immodule-multipress - 2.24.17-r0.2 - Multi-platform toolkit for creating GUI
    s
    GTK input module for multipress
    gtk-immodule-thai - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs
    GTK input module for thai
    gtk-immodule-ti-er - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs
    GTK input module for ti-er
    gtk-immodule-ti-et - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs
    GTK input module for ti-et
    gtk-immodule-viqr - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs
    GTK input module for viqr
    gtk-immodule-xim - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs
    GTK input module for xim
    gtk-printbackend-file - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs
    GTK printbackend module for file
    gtk-printbackend-lpr - 2.24.17-r0.2 - Multi-platform toolkit for creating GUIs
    GTK printbackend module for lpr
    gtk-theme-clearlooks - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK theme clearlooks
    gtk-theme-clearlooks - 2.20.2-r3.15
    gtk-theme-crux - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK theme crux
    gtk-theme-crux - 2.20.2-r3.15
    gtk-theme-industrial - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK theme industrial
    gtk-theme-mist - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK theme mist
    gtk-theme-mist - 2.20.2-r3.15
    gtk-theme-redmond - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK theme redmond
    gtk-theme-redmond - 2.20.2-r3.15
    gtk-theme-thinice - 2.20.2-r3.17 - gtk-engines version 2.20.2-r3
    GTK theme thinice
    gtk-theme-thinice - 2.20.2-r3.15
    gtk-xfce-engine - 3.0.1-r0.6 - gtk-xfce-engine version 3.0.1-r0
    XFCE theme for GTK
    gtk-xfce-engine-dbg - 3.0.1-r0.6 - gtk-xfce-engine version 3.0.1-r0 - Debugging
    files
    XFCE theme for GTK This package contains ELF symbols and related sources
    gtk-xfce-engine-dev - 3.0.1-r0.6 - gtk-xfce-engine version 3.0.1-r0 - Developmen
    t files
    XFCE theme for GTK This package contains symbolic links, header files,
    gtk-xfce-engine-themes - 3.0.1-r0.6 - gtk-xfce-engine version 3.0.1-r0
    XFCE theme for GTK
    gtk3-immodule-am-et - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs
    GTK input module for am-et
    gtk3-immodule-cedilla - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs
    GTK input module for cedilla
    gtk3-immodule-cyrillic-translit - 3.2.3-r2.6 - Multi-platform toolkit for creati
    ng GUIs
    GTK input module for cyrillic-translit
    gtk3-immodule-inuktitut - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs
    GTK input module for inuktitut
    gtk3-immodule-ipa - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs
    GTK input module for ipa
    gtk3-immodule-multipress - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs
    GTK input module for multipress
    gtk3-immodule-thai - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs
    GTK input module for thai
    gtk3-immodule-ti-er - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs
    GTK input module for ti-er
    gtk3-immodule-ti-et - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs
    GTK input module for ti-et
    gtk3-immodule-viqr - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs
    GTK input module for viqr
    gtk3-immodule-xim - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs
    GTK input module for xim
    gtk3-printbackend-file - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs
    GTK printbackend module for file
    gtk3-printbackend-lpr - 3.2.3-r2.6 - Multi-platform toolkit for creating GUIs
    GTK printbackend module for lpr
    gtk3-xfce-engine - 3.0.1-r0.6 - gtk-xfce-engine version 3.0.1-r0
    XFCE theme for GTK
    gtkmathview - 0.8.0-r3.9 - gtkmathview version 0.8.0-r3
    gtkmathview version 0.8.0-r3
    gtkmathview-dbg - 0.8.0-r3.9 - gtkmathview version 0.8.0-r3 - Debugging files
    gtkmathview version 0.8.0-r3 This package contains ELF symbols and
    gtkmathview-dev - 0.8.0-r3.9 - gtkmathview version 0.8.0-r3 - Development files
    gtkmathview version 0.8.0-r3 This package contains symbolic links,
    gtkmathview-doc - 0.8.0-r3.9 - gtkmathview version 0.8.0-r3 - Documentation file
    s
    gtkmathview version 0.8.0-r3 This package contains documentation.
    gtkmathview-staticdev - 0.8.0-r3.9 - gtkmathview version 0.8.0-r3 - Development
    files (Static Libraries)
    gtkmathview version 0.8.0-r3 This package contains static libraries for
    gtkmm - 2.20.0-r0.2.17 - gtkmm version 2.20.0-r0.2
    C++ bindings for the GTK+ toolkit.
    gtkmm - 2.20.0-r0.2.15
    gtkmm-dbg - 2.20.0-r0.2.17 - gtkmm version 2.20.0-r0.2 - Debugging files
    C++ bindings for the GTK+ toolkit. This package contains ELF symbols and
    gtkmm-demo - 2.20.0-r0.2.17 - gtkmm version 2.20.0-r0.2
    C++ bindings for the GTK+ toolkit.
    gtkmm-dev - 2.20.0-r0.2.17 - gtkmm version 2.20.0-r0.2 - Development files

Hi Frank,

Did you ever get any resolution on this? I’m trying to get the same thing working.

Chuck

Did anybody get a solution to this issue? Having the same problem!