[Mono-list] problem with FreeBSD & monodoc, multiple questions

Jonathan Pryor jonpryor@vt.edu
16 Feb 2003 11:02:51 -0500


Responses inline...

On Sun, 2003-02-16 at 03:45, Lloyd Dupont wrote:
> Hi,
<snip/>
> 1].
> I tryed 'gmake' and it failed.
> after looking the code of the makefile (4 lines... :-)
> 
> I replace 
> 		(cd $$i; make) || exit 1;	\
> by
> 		(cd $$i; $(MAKE)) || exit 1;	\
> 
> And it worked.
> the default make of FreeBSD don't have any -C option, it's why it's better to 
> do like this.

We should probably fix this in CVS.  Thanks,

> 2].
> after building it, well I tryed it.
> And I get this terrible insult message hundreds of time.
> 
> ** (<unknown>:31001): WARNING **: Failed to load library libgtkhtml-3.0.so 
> (gtkhtml-3.0): Shared object "libgtkhtml-3.0.so" not found
> 
> the diagnostic being clear enough I tryed to upgrade my system with the latest 
> libgtkhtml.
> And here is the big problem. it looks like the latest version available around 
> there is 2.2 .....
> what do you think ?

Here's some history (as I understand it, and simplified).  In the
beginning was gtkhtml, which allowed editing HTML.  Then came gtkhtml-2
for the Gnome-2 platform, which provided CSS and DOM support, but didn't
allow editing (and is currently unmaintained, IIRC).

Evolution is built atop gtkhtml (the first version), and as part of the
Gnome 2 port they're porting gtkhtml to GTK+ 2.  This version is
libgtkhtml-3.

In short, libgtkhtml-3 is completely different from libgtkhtml-2, so
trying to use libgtkhtml-2 won't work.

You can get libgtkhtml-3 from the gnome CVS, in the gtkhtml module.

> 3].
> I know that mono has a file to 'translate' DllImport.
> maybe I could edit this file and replace libgtkhtml-3.0 by libgtkhtml-.2.2 ? 
> at least I could try...
> 
> Could you tell me what is this file, where I could find it, etc ?.....

The file you're looking for is $prefix/etc/mono/config.  $prefix should
be /usr, but it has also been /usr/local in some of the previous
distributed builds.

However, trying to substitute libgtkhtml-3 with libgtkhtml-2 won't work,
as described above.

> 4].
> csc has a special file called '...' (I can't remember, something like csc.rsc) 
> where it put all default library (System.Drawing.dll, etc...), so you don't 
> have to link explicitly against this library.
> What about mcs ? (it obvioulsy has one too) I mean, what's its name ? where is 
> it ? could I also have one in my working directory, just like csc ?

Actually, I don't think mcs has this.  At least, it's not mentioned in
the man page.  It does support "response files", which can contain
files/arguments.  These are specified with a leading @ on the command
line, e.g. mcs @response-file.txt

 - Jon