[Mono-devel-list] Mono doc

Alf C Stockton alf at stockton.co.za
Thu Aug 26 05:43:34 EDT 2004


On Wed, 25 Aug 2004, Rafael Teixeira wrote:

> You need the devel packages for gda and gnomedb installed, for this
> configuration stage to build gda-sharp and gnomedb-sharp for you. What
> it is telling is just that it won't build them, because it could not
> find the devel packages. Also I don't remember anyone effectively
> building them recently, we surely we don't build and package them
> ourselves, as the preferred method to access databases in Mono is to
> use the ADO.NET providers we supply.
>
Thank you for that. After having to point 
PKG_CONFIG_PATH to /usr/local/src/gtk-sharp-1.0/gtkhtml/ I have no got the 
./configure for monodoc-0.18 complete successfully but when I attempt a make I 
get:-

mono --debug ../browser/assembler.exe --ecma ./nunit/en/ -o nunit-docs
Processing namespace NUnit.Framework
      Processing input file Assert.xml
      Processing input file Assertion.xml
      Processing input file AssertionException.xml
      Processing input file AssertionFailureMessage.xml
      Processing input file ExpectedExceptionAttribute.xml
      Processing input file IgnoreAttribute.xml
      Processing input file SetUpAttribute.xml
      Processing input file SuiteAttribute.xml
      Processing input file TearDownAttribute.xml
      Processing input file TestAttribute.xml
      Processing input file TestCase.xml
      Processing input file TestFixtureAttribute.xml
      Processing input file TestFixtureSetUpAttribute.xml
      Processing input file TestFixtureTearDownAttribute.xml
Have 14 elements in the NUnit.Framework
mono --debug ../browser/assembler.exe --error ./cs-errors.config -o cs-errors

Unhandled Exception: System.IO.DirectoryNotFoundException: Directory 
'./../../mcs/errors' not found.
in [0x000fa] (at /cvs/mcs/class/corlib/System.IO/Directory.cs:419) 
System.IO.Directory:GetFileSystemEntries 
(string,string,System.IO.FileAttributes,System.IO.FileAttributes)
in [0x00005] (at /cvs/mcs/class/corlib/System.IO/Directory.cs:242) 
System.IO.Directory:GetFiles (string,string)
in [0x0000c] (at /tmp/monodoc-1.0/browser/error-provider.cs:122) 
Monodoc.ErrorProviderConfig:Compile ()
in [0x00006] (at /tmp/monodoc-1.0/browser/error-provider.cs:180) 
Monodoc.ErrorProvider:CloseTree (Monodoc.HelpSource,Monodoc.Tree)
in [0x002d6] (at /usr/local/src/monodoc-0.18/browser/assembler.cs:137) 
Monodoc.Assembler:Main (string[])

make[1]: *** [cs-errors.tree] Error 1
make[1]: Leaving directory `/usr/local/src/monodoc-0.18/class'
make: *** [all-recursive] Error 1


Now what have I missed? I have no directory called ./../../mcs/errors and in 
fact ./../.. has no relationship to mono or monodoc ? The directory I am 
attempting to build in is /usr/local/src/monodoc-0.18 and therefore ./../.. will 
put me into /usr/local which has nothing like mcs in it.

If on the other hand I "less class/cs-errors.config" I get:-
<ErrorProviderConfig>
          <FilesPath>../../mcs/errors</FilesPath>
          <Match>cs????*.cs</Match>
          <ErrorNumSubstringStart>2</ErrorNumSubstringStart>
          <ErrorNumSubstringLength>4</ErrorNumSubstringLength>
          <FriendlyFormatString>CS{0:0###}</FriendlyFormatString>
</ErrorProviderConfig>

Note however that there is no ./cs-errors.config. The cs-errors.config exists in 
/usr/local/src/monodoc-0.18/class and contains, as you can see from the above a 
hardcoded reference to ../../mcs/errors. Please tell me how I should now 
proceed? Especially as I am very, very new to mono and therefore that is why I 
am trying to get monodoc working.

---

Regards,
Alf Stockton	www.stockton.co.za

You may be sure that when a man begins to call himself a "realist," he
is preparing to do something he is secretly ashamed of doing.
  		-- Sydney Harris



More information about the Mono-devel-list mailing list