Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 43862

Summary: dev-util/monodoc-0.10 fails to compile: cannot find assembly
Product: Gentoo Linux Reporter: Ioannis Aslanidis (RETIRED) <deathwing00>
Component: [OLD] DevelopmentAssignee: dotnet project <dotnet>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: Highest    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ioannis Aslanidis (RETIRED) gentoo-dev 2004-03-06 02:17:50 UTC
>>> emerge (1 of 1) dev-util/monodoc-0.10 to /
>>> md5 src_uri ;-) monodoc-0.10.tar.gz
>>> Unpacking source...
>>> Unpacking monodoc-0.10.tar.gz to /var/tmp/portage/monodoc-0.10/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
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 for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating browser/Makefile
config.status: creating class/Makefile
config.status: creating extras/Makefile
Making all in browser
make[1]: Entering directory `/var/tmp/portage/monodoc-0.10/work/monodoc-0.10/browser'
mcs -debug -out:monodoc.dll -target:library /resource:./mono-ecma.xsl,mono-ecma.xsl /resource:./ecmaspec-html.xsl,ecmaspec-html.xsl ./colorizer.cs ./man-provider.cs ./monohb-provider.cs ./xhtml-provider.cs ./ecma-provider.cs ./simple-provider.cs ./html-helper.cs ./provider.cs ./index.cs ./error-provider.cs ./ecmaspec-provider.cs ./editing.cs ./settings.cs ./commentservice.cs ./XmlNodeWriter.cs -r:ICSharpCode.SharpZipLib.dll -r:System.Web -r:System.Web.Services
./ecma-provider.cs(858) warning CS0618: Method `System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.IXPathNavigable, System.Xml.Xsl.XsltArgumentList, System.IO.TextWriter)' is obsolete: `You should pass XmlResolver to Transform() method'
./ecma-provider.cs(870) warning CS0618: Method `System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.IXPathNavigable, System.Xml.Xsl.XsltArgumentList, System.Xml.XmlWriter)' is obsolete: `You should pass XmlResolver to Transform() method'
./ecma-provider.cs(881) warning CS0618: Method `System.Xml.Xsl.XslTransform.Load(System.Xml.XmlReader)' is obsolete: `You should pass evidence.'
./ecmaspec-provider.cs(115) warning CS0618: Method `System.Xml.Xsl.XslTransform.Load(System.Xml.XmlReader)' is obsolete: `You should pass evidence.'
./ecmaspec-provider.cs(121) warning CS0618: Method `System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.IXPathNavigable, System.Xml.Xsl.XsltArgumentList, System.IO.TextWriter)' is obsolete: `You should pass XmlResolver to Transform() method'
./editing.cs(39) warning CS0162: Unreachable code detected
Compilation succeeded - 6 warning(s)
sed -e 's^\@monodocdir\@^/usr/lib/monodoc^g' < ./monodoc.config.in > monodoc.config
mcs -debug -out:browser.exe ./browser.cs ./list.cs ./elabel.cs ./history.cs ./Contributions.cs ./XmlNodeWriter.cs -resource:./../monodoc.png,monodoc.png -resource:./browser.glade,browser.glade  -r:gtkhtml-sharp.dll -r:gtk-sharp.dll -r:glade-sharp.dll -r:glib-sharp.dll -r:pango-sharp.dll -r:gdk-sharp.dll -r:atk-sharp.dll  -r:System.Web.Services -r:monodoc.dll
error CS0006: Cannot find assembly `gtkhtml-sharp.dll'
Log:

Compilation failed: 1 error(s), 0 warnings
make[1]: *** [browser.exe] Error 1
make[1]: Leaving directory `/var/tmp/portage/monodoc-0.10/work/monodoc-0.10/browser'
make: *** [all-recursive] Error 1

!!! ERROR: dev-util/monodoc-0.10 failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! (no error message)
Comment 1 foser (RETIRED) gentoo-dev 2004-03-06 05:08:28 UTC
you have to compile gtksharp with gtkhtml in USE

we're working on improving this situation, but mono and components are after all still in pre stable development.
Comment 2 foser (RETIRED) gentoo-dev 2004-03-06 05:09:38 UTC
If the hint in comment #1 didn't solve it for you reopen, but i'm quite sure it will.
Comment 3 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-03-06 08:25:26 UTC
I set those flags and did:

# emerge gtkhtml
# emerge -uD monodoc

There's somthing strange here: If you 

# emerge monodoc

as is, dependencies are not installed...

Anyway, I think I am missing something, could you check it?

I set up in /etc/make.conf the USE flags appending gtkhtml and gtksharp
I tried to emerge -uD monodoc
But still fails to compile in the same point... what shall I do now?
Comment 4 foser (RETIRED) gentoo-dev 2004-03-06 08:54:39 UTC
my comment sais remerge _gtk-sharp_ with gtkhtml in USE, not monodoc. Remerge monodoc after gtk-sharp.
Comment 5 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-03-06 08:56:01 UTC
Right... it was a typo there... (I did think it was strange that # emerge gtksharp returned an error)
Comment 6 Michael Kohl (RETIRED) gentoo-dev 2004-04-13 15:04:21 UTC
Just wanted to add that the same fix also worked for me with monodoc-0.13. 

Thanks, I wouldn't have thought of activating this useflag myself...