[MonoDevelop] Compiling gecko-sharp-2
Fabricio Santos
fabricio.santos@casadasereia.net
Wed, 04 May 2005 23:58:47 +0200
Viva a todos,
I was trying to install monodevelop 0.6 and got stuck at compiling
gecko-sharp.
I have previously compiled gtk-sharp-2.0 to a non standard directory and
included it in the PKG_CONFIG_PATH as well as in the PATH environment
variables:
==========================================
PKG_CONFIG_PATH=/home/fsantos/mono/MonoDevelop/gtk-sharp-1.9.3/INSTALL-
TMP/lib/pkgconfig/
PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/fsantos/bin:/home/fsantos/mono/MonoDevelop/gtk-sharp-1.9.3/INSTALL-TMP/bin/
==========================================
Both variables were exported.
Then I set to configure gecko-sharp-2.0-0.7 which worked fine:
==========================================
[fsantos@localhost gecko-sharp-2.0-0.7]$ ./configure --
prefix=/home/fsantos/mono/MonoDevelop/gecko-sharp-2.0-0.7/INSTALL-TMP
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles...
no
checking whether we're compiling from CVS... no
checking for mono... /usr/bin/mono
checking for mcs... /usr/bin/mcs
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.0.0 gmodule-2.0 >= 2.0.0 mono >= 0.95... yes
checking BASE_DEPENDENCIES_CFLAGS... -DXTHREADS -D_REENTRANT -
DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -
I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -
I/usr/include/pango-1.0 -I/usr/include/freetype2 -
I/usr/include/freetype2/config -I/usr/include/glib-2.0 -
I/usr/lib/glib-2.0/include
checking BASE_DEPENDENCIES_LIBS... -Wl,--export-dynamic -pthread -lgtk-
x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -
lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lmono -lpthread -lm -lgmodule-2.0
-ldl -lgthread-2.0 -lglib-2.0
checking for gtk-sharp-2.0 >= 1.9.0... yes
checking GTK_SHARP_CFLAGS... -I:/home/fsantos/mono/MonoDevelop/gtk-
sharp-1.9.3/INSTALL-TMP/share/gapi-2.0/pango-api.xml -
I:/home/fsantos/mono/MonoDevelop/gtk-sharp-1.9.3/INSTALL-
TMP/share/gapi-2.0/atk-api.xml -I:/home/fsantos/mono/MonoDevelop/gtk-
sharp-1.9.3/INSTALL-TMP/share/gapi-2.0/gdk-api.xml -
I:/home/fsantos/mono/MonoDevelop/gtk-sharp-1.9.3/INSTALL-
TMP/share/gapi-2.0/gtk-api.xml
checking GTK_SHARP_LIBS... -r:/home/fsantos/mono/MonoDevelop/gtk-
sharp-1.9.3/INSTALL-TMP/lib/mono/gtk-sharp-2.0/glib-sharp.dll -
r:/home/fsantos/mono/MonoDevelop/gtk-sharp-1.9.3/INSTALL-
TMP/lib/mono/gtk-sharp-2.0/pango-sharp.dll -
r:/home/fsantos/mono/MonoDevelop/gtk-sharp-1.9.3/INSTALL-
TMP/lib/mono/gtk-sharp-2.0/atk-sharp.dll -
r:/home/fsantos/mono/MonoDevelop/gtk-sharp-1.9.3/INSTALL-
TMP/lib/mono/gtk-sharp-2.0/gdk-sharp.dll -
r:/home/fsantos/mono/MonoDevelop/gtk-sharp-1.9.3/INSTALL-
TMP/lib/mono/gtk-sharp-2.0/gtk-sharp.dll
checking for gapi-2.0 >= 1.9.0... yes
checking GAPI_CFLAGS...
checking GAPI_LIBS...
checking for gacutil... /usr/bin/gacutil
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gtkmozembed/Makefile
config.status: creating gtkmozembed/AssemblyInfo.cs
config.status: creating sample/Makefile
config.status: creating sources/Makefile
config.status: creating gecko-sharp-2.0.pc
[fsantos@localhost gecko-sharp-2.0-0.7]$
==========================================
And finally make is breaking:
==========================================
[fsantos@localhost gecko-sharp-2.0-0.7]$ make
Making all in sources
make[1]: Entering directory `/home/fsantos/mono/MonoDevelop/gecko-
sharp-2.0-0.7/sources'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/fsantos/mono/MonoDevelop/gecko-
sharp-2.0-0.7/sources'
Making all in gtkmozembed
make[1]: Entering directory `/home/fsantos/mono/MonoDevelop/gecko-
sharp-2.0-0.7/gtkmozembed'
gapi2-codegen --generate ./gtkgecko-api.xml -
I:/home/fsantos/mono/MonoDevelop/gtk-sharp-1.9.3/INSTALL-
TMP/share/gapi-2.0/pango-api.xml -I:/home/fsantos/mono/MonoDevelop/gtk-
sharp-1.9.3/INSTALL-TMP/share/gapi-2.0/atk-api.xml -
I:/home/fsantos/mono/MonoDevelop/gtk-sharp-1.9.3/INSTALL-
TMP/share/gapi-2.0/gdk-api.xml -I:/home/fsantos/mono/MonoDevelop/gtk-
sharp-1.9.3/INSTALL-TMP/share/gapi-2.0/gtk-api.xml --outdir=generated
--customdir=. --assembly-name=gecko-sharp && touch generated-stamp
/bin/sh: gapi2-codegen: command not found
make[1]: *** [generated-stamp] Error 127
make[1]: Leaving directory `/home/fsantos/mono/MonoDevelop/gecko-
sharp-2.0-0.7/gtkmozembed'
make: *** [all-recursive] Error 1
[fsantos@localhost gecko-sharp-2.0-0.7]$
==========================================
I just can't understand why gapi2-codegen is not found during the make.
If I run it on the command line it does work:
==========================================
[fsantos@localhost gecko-sharp-2.0-0.7]$ gapi2-codegen
Usage: codegen --generate <filename1...>
=============================================
Any idea what to do next?
Thanks in advance for any help,
-fs