LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-03-2006, 02:46 PM   #1
ernesto_cgf
Member
 
Registered: Nov 2003
Location: Havana, Cuba
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 153

Rep: Reputation: 30
Problems loading mono packages


I am developing on Mono a front-end for beagle. I have just started so I have nothing yet. I read this example here and I decided to start by compiling it to see if it works.

So I copied the source code to a file named SimpleQuery.cs and I edited to remove the # comments at the beginning of each line. After saving it I compiled it using the command line that appears in that page

Code:
mcs -out:Query.exe -pkg:beagle-0.0 -pkg:gtk-sharp SimpleQuery.cs
And I got the following error message

Code:
Package gtk-sharp was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk-sharp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk-sharp' found
error CS8027: Error running pkg-config. Check the above output.
Does anyone here have a clue?
 
Old 07-03-2006, 03:26 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 111Reputation: 111
I've dealt with this as a part of SuperTux development. Just go to the "Compiling the editor" section.
http://supertux.berlios.de/wiki/inde...lding_SuperTux
 
Old 07-04-2006, 01:46 PM   #3
ernesto_cgf
Member
 
Registered: Nov 2003
Location: Havana, Cuba
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 153

Original Poster
Rep: Reputation: 30
I found out that when I copy all beagle DLLs from /usr/lib/beagle into the directory with the .exe of my application, then it works. So I figured that all I needed was to install or register the beagle assemblies in the GAC (Global Assembly Cache) using gacutil. But when I try to do it, all I get is an error message stating that those packages need a strong name in order to be registered in the GAC.

Does this mean that they need to be signed? If this is the case, then they are not signed. What can I do?
 
Old 07-04-2006, 04:48 PM   #4
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 111Reputation: 111
Can't help you there, don't really know what that stuff is. I just recognized that error while trying to build ST# because the PKG_CONFIG_PATH enviroment variable was not set up.
 
Old 01-13-2007, 05:08 PM   #5
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 36
link inside

http://www.all-the-johnsons.co.uk/mo...ompiling.shtml

log in as root and make a directory
go to the bottom, download the script and execute

>chmod u+x monupdater.sh
>monoupdater.sh

I am trying this as we speak
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
boot problem with ubuntu 6.06 after loading packages M0rphy Linux - Newbie 2 07-02-2006 01:09 PM
Help Mono Installed But Mono Develop Won't Load TheGreatGonzo Slackware 8 05-18-2006 06:42 AM
fedora core 4 is loading both x86_64 and i386 packages which screws up apt. radmaxntx Fedora 1 10-05-2005 11:43 AM
No packages while loading mandrake 8.2/10, I've tried both. Architect69 Linux - Software 0 09-10-2004 11:22 AM
Problems running Mono 1.0 in Mandrake 9.1 ernesto_cgf Programming 5 08-14-2004 07:36 AM


All times are GMT -5. The time now is 12:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration