[Mono-list] Problem buiding MonoDevelop 0.6

Rohit Rohit <roxtar@gmail.com>
Wed, 11 May 2005 22:48:54 +0530


Yes I got that and built it without any problems. But even after
building it I got the same error. The problem was that the ".pc" files
were being stored at /usr/local/lib/pkgconfig instead of
/usr/lib/pkgconfig. So I copied all of the "*.pc" files into
/usr/lib/pkgconfig and ran "./configure'" for monodevelop-0.6 again.
But I got the error that it couldn't find gnome-sharp-2.0,
gconf-sharp-2.0, gtkhtml-sharp-2.0 . I got the "*.pc" files for these
packages in the directory which contained gtk-sharp-2.0 and I copied
those also into the /usr/lib/pkgconfig directory. Now I'm getting an
error  about gtksourceview-sharp-2.0

<error>

checking for gtksourceview-sharp-2.0 >=3D 0.7... Package
gtksourceview-sharp-2.0was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtksourceview-sharp-2.0.pc=
'
to the PKG_CONFIG_PATH environment variable
No package 'gtksourceview-sharp-2.0' found

configure: error: Library requirements (gtksourceview-sharp-2.0 >=3D
0.7) not met; consider adjusting the PKG_CONFIG_PATH environment
variable if your libraries are in a nonstandard prefix so pkg-config
can find them.

</error>


I couldn't "locate" any ".pc" files for gtksourceview-sharp-2.0 so I
googled for it and got a debian mirror which had its source. The
./configure works but when I do a make for it I get the following
error:


<error>

/usr/local/bin/gapi2-codegen
-I:/usr/local/share/gapi-2.0/gnome-api.xml
-I:/usr/local/share/gapi-2.0/pango-api.xml
-I:/usr/local/share/gapi-2.0/atk-api.xml
-I:/usr/local/share/gapi-2.0/gdk-api.xml
-I:/usr/local/share/gapi-2.0/gtk-api.xml
-I:/usr/local/share/gapi-2.0/art-api.xml   --generate
gtksourceview-api.xml \
--outdir=3Dgenerated --customdir=3D. --assembly-name=3Dgtksourceview-sharp
&& touch generated-stamp

Unhandled Exception: System.IO.FileNotFoundException: File
'/usr/local/share/gapi-2.0/gnome-api.xml' not found.
in <0x0033f> System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,boo=
l)
in <0x00020> System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
in <0x00081> (wrapper remoting-invoke-with-check)
System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
in <0x0002f> System.IO.File:OpenRead (string)
in <0x00048> GtkSharp.Generation.Parser:Load (string)
in <0x0004c> GtkSharp.Generation.Parser:Parse (string)
in <0x0034f> GtkSharp.Generation.CodeGenerator:Main (string[])

make[1]: *** [generated-stamp] Error 1
make[1]: Leaving directory `/downloads/gtksourceview-sharp-0.7/gtksourcevie=
w'
make: *** [all-recursive] Error 1

</error>

and I ' m really depressed now :-(

Thanks for any help

Rohit