[MonoDevelop] Makefile problem

John Luke jluke@users.sourceforge.net
Thu, 11 Mar 2004 13:50:47 -0500

On Thu, 2004-03-11 at 12:17 -0600, Fawad Halim wrote:

> Hi,
>     I was getting a problem with compiling
> src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs
> (type SourceView not found).
> Basically, the mcs commandline in the $(DLL) target in
> src/AddIns/DisplayBindings/SourceEditor/Makefile
> doesn't include a reference to gtksourceview-sharp
> causing the build to fail. I'm wondering if this is an isolated problem 
> with my setup or if it's a genuine problem in the Makefile.in
> This is r1125.

We use pkg-config to detect the location of gtksourceview-sharp in
Makefile.am, so if it isn't working you need the -devel rpm or add
the path to the .pc file to PKG_CONFIG_PATH.

What does:
pkg-config --libs gtksourceview-sharp

return on your system?
It should return something like:
-r:gtksourceview-sharp -lib:/home/jluke/garnome/lib