LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing gecko-sharp on Debian unstable (https://www.linuxquestions.org/questions/linux-newbie-8/installing-gecko-sharp-on-debian-unstable-169362/)

nagromo 04-12-2004 08:23 PM

installing gecko-sharp on Debian unstable
 
I am trying to install gecko-sharp on my Debian install. I have already installed mono and downloaded the source from the MonoDevelop homepage. I unpacked gecko-sharp-0.1.tar.gz and ran ./configure as root. Here is the output:

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... no
checking for mawk... mawk
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... yes
checking BASE_DEPENDENCIES_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking BASE_DEPENDENCIES_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for gtk-sharp >= 0.17... yes
checking GTK_SHARP_CFLAGS...
checking GTK_SHARP_LIBS...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gtkmozembed/Makefile
config.status: creating sample/Makefile
config.status: creating sources/Makefile
config.status: creating gecko-sharp.pc

Here is the output of make:

Making all in sources
make[1]: Entering directory `/home/morgan/gecko-sharp-0.1/sources'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/morgan/gecko-sharp-0.1/sources'
Making all in gtkmozembed
make[1]: Entering directory `/home/morgan/gecko-sharp-0.1/gtkmozembed'
mono /usr/bin/gapi_codegen.exe --generate ./gtkgecko-api.xml --include /usr/share/gapi/gdk-api.xml /usr/share/gapi/gtk-api.xml /usr/share/gapi/atk-api.xml --outdir=generated --customdir=. --assembly-name=gecko-sharp && touch generated-stamp
Ellipsis parameter in ctor in Object Gtk.Widget
Ellipsis parameter in ctor in Object Gtk.Object
Generating mappers

Generation Summary:
Enums: 4 Structs: 0 Boxed: 0 Opaques: 0 Interfaces: 0 Objects: 2 Callbacks: 0
Properties: 0 Signals: 25 Methods: 22 Constructors: 0 Throttled: 2
Total Nodes: 55

mcs --unsafe --target library -L /usr/lib \
-r glib-sharp.dll -r gtk-sharp.dll -r gdk-sharp.dll \
./NewWindowOrphan_handler.cs ./NewWindow_delegate.cs ./NewWindow_handler.cs generated/*.cs -o gecko-sharp.dll
Compilation succeeded
make[1]: Leaving directory `/home/morgan/gecko-sharp-0.1/gtkmozembed'
Making all in sample
make[1]: Entering directory `/home/morgan/gecko-sharp-0.1/sample'
/usr/bin/mcs --unsafe \
-L ..//gtkmozembed \
-r gecko-sharp.dll \
-L /usr/lib \
-r glib-sharp.dll -r gtk-sharp.dll -r gdk-sharp.dll \
-r System.Drawing \
-o GtkMozApp.exe ./GtkMozApp.cs ./MozWindow.cs
Compilation succeeded
make[1]: Leaving directory `/home/morgan/gecko-sharp-0.1/sample'
make[1]: Entering directory `/home/morgan/gecko-sharp-0.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/morgan/gecko-sharp-0.1'

and make install:

Making install in sources
make[1]: Entering directory `/home/morgan/gecko-sharp-0.1/sources'
make[2]: Entering directory `/home/morgan/gecko-sharp-0.1/sources'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/morgan/gecko-sharp-0.1/sources'
make[1]: Leaving directory `/home/morgan/gecko-sharp-0.1/sources'
Making install in gtkmozembed
make[1]: Entering directory `/home/morgan/gecko-sharp-0.1/gtkmozembed'
make[2]: Entering directory `/home/morgan/gecko-sharp-0.1/gtkmozembed'
make[2]: Nothing to be done for `install-exec-am'.
mkdir -p -- . /usr/local/lib
/usr/bin/install -c -m 644 gecko-sharp.dll /usr/local/lib/gecko-sharp.dll
make[2]: Leaving directory `/home/morgan/gecko-sharp-0.1/gtkmozembed'
make[1]: Leaving directory `/home/morgan/gecko-sharp-0.1/gtkmozembed'
Making install in sample
make[1]: Entering directory `/home/morgan/gecko-sharp-0.1/sample'
make[2]: Entering directory `/home/morgan/gecko-sharp-0.1/sample'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/morgan/gecko-sharp-0.1/sample'
make[1]: Leaving directory `/home/morgan/gecko-sharp-0.1/sample'
make[1]: Entering directory `/home/morgan/gecko-sharp-0.1'
make[2]: Entering directory `/home/morgan/gecko-sharp-0.1'
make[2]: Nothing to be done for `install-exec-am'.
mkdir -p -- . /usr/local/lib/pkgconfig
/usr/bin/install -c -m 644 gecko-sharp.pc /usr/local/lib/pkgconfig/gecko-sharp.pc
make[2]: Leaving directory `/home/morgan/gecko-sharp-0.1'
make[1]: Leaving directory `/home/morgan/gecko-sharp-0.1'

Now when I try to run the sample or install MonoDevelop, it says it can't find assembly gecko-sharp. I didn't see any errors in the above messages but I'm not an experienced user. What could I do to try to get it working?

Any help is appreciated.

AutOPSY 04-12-2004 09:59 PM

what exactly does it say it can't find, word for word.

It may be loooking for a higher version of gecko-sharp, instead of 0.1 .

nagromo 04-12-2004 10:22 PM

Here are two examples:

morgan@morgan-deb:~/gecko-sharp-0.1/sample$ mono GtkMozApp.exe

** (GtkMozApp.exe:21480): WARNING **: Could not find assembly gecko-sharp
cannot open assembly GtkMozApp.exe

(as root)
morgan-deb:/home/morgan# dpkg -i monodevelop_0.2-0pre1_i386.deb
Selecting previously deselected package monodevelop.
(Reading database ... 97049 files and directories currently installed.)
Unpacking monodevelop (from monodevelop_0.2-0pre1_i386.deb) ...
dpkg: dependency problems prevent configuration of monodevelop:
monodevelop depends on gecko-sharp (>= 0.1); however:
Package gecko-sharp is not installed.
monodevelop depends on monodoc (>= 0.12); however:
Version of monodoc on system is 0.10-1.
dpkg: error processing monodevelop (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
monodevelop

I can tell that gecko-sharp isn't installed properly, but if make / make install as root didn't do it how can I install it properly?

nagromo 04-13-2004 03:30 PM

Does anyone have any ideas? Do I need to provide more information?

negligible 04-18-2004 09:28 AM

You installed in /usr/local, so try setting MONO_PATH to /usr/local/lib.

eg. export MONO_PATH=/usr/local/lib


All times are GMT -5. The time now is 10:52 PM.