LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-12-2004, 08:23 PM   #1
nagromo
Member
 
Registered: Mar 2004
Location: Minnesota, USA
Distribution: Debian, Mepis
Posts: 65

Rep: Reputation: 15
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.
 
Old 04-12-2004, 09:59 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
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 .
 
Old 04-12-2004, 10:22 PM   #3
nagromo
Member
 
Registered: Mar 2004
Location: Minnesota, USA
Distribution: Debian, Mepis
Posts: 65

Original Poster
Rep: Reputation: 15
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?

Last edited by nagromo; 04-13-2004 at 03:28 PM.
 
Old 04-13-2004, 03:30 PM   #4
nagromo
Member
 
Registered: Mar 2004
Location: Minnesota, USA
Distribution: Debian, Mepis
Posts: 65

Original Poster
Rep: Reputation: 15
Does anyone have any ideas? Do I need to provide more information?
 
Old 04-18-2004, 09:28 AM   #5
negligible
LQ Newbie
 
Registered: Apr 2004
Location: Oxford UK
Distribution: Debian sid
Posts: 1

Rep: Reputation: 0
You installed in /usr/local, so try setting MONO_PATH to /usr/local/lib.

eg. export MONO_PATH=/usr/local/lib
 
  


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
is ubuntu unstable less unstable than debian unstable? lefty.crupps Ubuntu 9 10-14-2005 01:38 PM
installing debian stable, unstable ... ? acker Debian 12 04-12-2004 09:00 AM
Installing KDE on Debian Unstable jriis Debian 2 01-28-2004 08:53 PM
installing woody packages in unstable debian? (java3D) bronko Debian 3 01-04-2004 07:15 AM
Help with installing gforge on debian unstable campusloop Linux - Software 0 12-01-2003 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration