[Mono-list] Re: Compiling dotLucene with mono (thanks Arnaud)

cuentas cuentas" <cuentas@imarte.net
Thu, 25 Nov 2004 19:48:59 +0000


Thanks Arnaud, I will try with  Monodevelop.

Regards!

p.d Sorry by my late response, i was out for a while


-------Original Message-------
> From: mono-list-request@lists.ximian.com
> Subject: Mono-list digest, Vol 1 #2178 - 7 msgs
> Sent: 19 Nov 2004 11:30:29
>
>  Send Mono-list mailing list submissions to
>  mono-list@lists.ximian.com
>  
>  To subscribe or unsubscribe via the World Wide Web, visit
>  http://lists.ximian.com/mailman/listinfo/mono-list[1]
>  or, via email, send a message with subject or body 'help' to
>  mono-list-request@lists.ximian.com
>  
>  You can reach the person managing the list at
>  mono-list-admin@lists.ximian.com
>  
>  When replying, please edit your Subject line so it is more specific
>  than "Re: Contents of Mono-list digest..."
>  
>  Today's Topics:
>  
>  1. RE: Apache 1.3 Configuration (Darren Martz)
>  2. Re: rpm spec files (Gregory Junker)
>  3. Mono / C# JXTA port (Gregory Bowyer)
>  4. Re: rpm spec files (Gregory Junker)
>  5. RE: mon_mono howto guide? (Simon J)
>  6. Re: Compiling dotLucene with mono (Arnaud Bienvenu)
>  7. Re: Re: DotNetNuke on Mono (Windows) (listmail@huntington-bradley.com[2])
>  
>  --__--__--
>  
>  Message: 1
>  From: "Darren Martz"
>  To: "'Gary Mack'" , ,
>  
>  Subject: RE: [Mono-list] Apache 1.3 Configuration
>  Date: Thu, 18 Nov 2004 23:09:06 -0800
>  
>  Try adding permission settings first.
>  
>  Also check if the apache user belongs to the aspnet group. I am not 100%
>  sure if that matters, but I *think* it does.
>  
>  -----Original Message-----
>  From: mono-list-admin@lists.ximian.com[7]
>  [mailto:mono-list-admin@lists.ximian.com[8]] On Behalf Of Gary Mack
>  Sent: Thursday, November 18, 2004 5:47 PM
>  To: Darren Martz; jonepet@gmail.com[9]; mono-list@lists.ximian.com[10]
>  Subject: RE: [Mono-list] Apache 1.3 Configuration
>  
>  Well, here are the values within my httpd.conf (Apache 1.3) related to
>  mod_mono:
>  
>  LoadModule mono_module   libexec/apache/libmod_mono.so
>  AddModule mod_mono.c
>  Alias /demo "/usr/local/share/doc/xsp/test"
>  MonoApplications "/demo:/usr/local/share/doc/xsp/test"
>  
>  SetHandler mono
>  
>  DirectoryIndex index.aspx
>  
>  Is it possible I need to add a mime type or set permissions on the demo
>  directory?  And what would those settings need to be if that is the case?
>  Thanks for your responses.
>  
>  -----Original Message-----
>  From: mono-list-admin@lists.ximian.com[11]
>  [mailto:mono-list-admin@lists.ximian.com[12]] On Behalf Of Darren Martz
>  Sent: Thursday, November 18, 2004 5:03 PM
>  To: Gary Mack; jonepet@gmail.com[13]; mono-list@lists.ximian.com[14]
>  Subject: RE: [Mono-list] Apache 1.3 Configuration
>  
>  Well, that wasn't it. It's a bunch of temp files for emulating windows file
>  access or something like that, so it gets recreated each time it runs.
>  
>  I would post clips of your config file (only mono related stuff).
>  
>  Hmm... If its creating the /tmp/.wapi folder after you delete it, that seems
>  like mod-mono-server.exe is at least starting.
>  
>  -----Original Message-----
>  From: mono-list-admin@lists.ximian.com[15]
>  [mailto:mono-list-admin@lists.ximian.com[16]] On Behalf Of Gary Mack
>  Sent: Thursday, November 18, 2004 2:40 PM
>  To: Darren Martz; jonepet@gmail.com[17]; mono-list@lists.ximian.com[18]
>  Subject: RE: [Mono-list] Apache 1.3 Configuration
>  
>  I tried the command, but it seems that folder doesn't get deleted.  It
>  deletes but then when I hit the demo page again, I get the same error and
>  the .wapi folder is back.  Any ideas?
>  
>  -----Original Message-----
>  From: mono-list-admin@lists.ximian.com[19]
>  [mailto:mono-list-admin@lists.ximian.com[20]] On Behalf Of Darren Martz
>  Sent: Thursday, November 18, 2004 1:21 PM
>  To: jonepet@gmail.com[21]; mono-list@lists.ximian.com[22]
>  Subject: RE: [Mono-list] Apache 1.3 Configuration
>  
>  Just ran into the same issue. Try the following...
>  
>  # rm -Rf /tmp/.wapi
>  
>  FYI: A how-to/faq is being written that will cover topics like this.
>  
>  -----Original Message-----
>  From: mono-list-admin@lists.ximian.com[23]
>  [mailto:mono-list-admin@lists.ximian.com[24]] On Behalf Of Jon-Eirik Pettersen
>  Sent: Thursday, November 18, 2004 10:42 AM
>  To: mono-list@lists.ximian.com[25]
>  Subject: Re: [Mono-list] Apache 1.3 Configuration
>  
>  Gary Mack wrote:
>  
>  >  Apache 1.3 Configuration
>  >
>  >  Hi all,
>  >
>  >  I am excited to learn about the Mono Project and develop
>  > cross-platform ASP.Net applications. I have installed mono
>  > successfully, XSP, Apache 1.3 and mod_mono. All the files are in their
>  
>  > default locations. And I have edited the httpd.conf file, but
>  > /tmp/mod-mono-server.exe does not get launched when Apache starts.
>  >  Apache is started successfully and I get an error when hitting the
>  > demo page:
>  >
>  >  *Service Temporarily Unavailable*
>  >
>  >  *The server is temporarily unable to service your request due to
>  > maintenance downtime or capacity problems. Please try again later. *
>  >
>  >  *________________________________________*
>  >
>  >  *Apache/1.3.33 Server at hellmouth.toythieves.com Port 80*
>  >
>  >  I must have missed some configuration lines or not putting something
>  
>  > in the correct place within Apache's configuration. I also took a look
>  
>  > and no processes relating to mono seem to be starting. Please help. I
>  > really want to see this in action. If anyone wants, I can post my
>  > httpd.conf. Thanks in advance.
>  >
>  
>  Have you checked the Apache error log?
>  _______________________________________________
>  Mono-list maillist  -  Mono-list@lists.ximian.com[26]
>  http://lists.ximian.com/mailman/listinfo/mono-list[27]
>  
>  _______________________________________________
>  Mono-list maillist  -  Mono-list@lists.ximian.com[28]
>  http://lists.ximian.com/mailman/listinfo/mono-list[29]
>  _______________________________________________
>  Mono-list maillist  -  Mono-list@lists.ximian.com[30]
>  http://lists.ximian.com/mailman/listinfo/mono-list[31]
>  
>  _______________________________________________
>  Mono-list maillist  -  Mono-list@lists.ximian.com[32]
>  http://lists.ximian.com/mailman/listinfo/mono-list[33]
>  _______________________________________________
>  Mono-list maillist  -  Mono-list@lists.ximian.com[34]
>  http://lists.ximian.com/mailman/listinfo/mono-list[35]
>  
>  --__--__--
>  
>  Message: 2
>  Date: Thu, 18 Nov 2004 18:23:38 -0500
>  From: Gregory Junker
>  Organization: Dayark/ITA - Shockwave Audio
>  To: Martin Garton
>  Cc: mono-list@lists.ximian.com[38]
>  Subject: Re: [Mono-list] rpm spec files
>  
>  > Are the spec files that were used to build the mono rpms available
>  > to download anywhere?
>  
>  From the Mono Downloads page:
>  
>  http://www.go-mono.com/packagers/[39]
>  
>  Greg
>  
>  --__--__--
>  
>  Message: 3
>  To: Mono-list@lists.ximian.com[40]
>  From: Gregory Bowyer
>  Date: Thu, 18 Nov 2004 23:51:57 +0000
>  Subject: [Mono-list] Mono / C# JXTA port
>  
>  I am currently starting and working on porting the JXTA library to .net,
>  Yes I am aware that the same deal can be done with IKVM but in due time
>  it would be nice to take advantage of C# features (namely attributes and
>  delegates) in JXTA. I hope that the c# impl can be compatible with all
>  other implementations (it should be) and a reasonable performer. This
>  port is done because imho JXTA should be on every major dev platform it
>  it want to succeed.
>  
>  Anyone willing to pitch-in a hand or lend advice ????
>  
>  The project is in its initial stages at jxta4net.jxta.org
>  
>  --__--__--
>  
>  Message: 4
>  Date: Thu, 18 Nov 2004 19:11:04 -0500
>  From: Gregory Junker
>  Organization: Dayark/ITA - Shockwave Audio
>  To: mono-list@lists.ximian.com[43]
>  Subject: Re: [Mono-list] rpm spec files
>  
>  > Are the spec files that were used to build the mono rpms available
>  > to download anywhere?
>  
>  From the Mono Downloads page:
>  
>  http://www.go-mono.com/packagers/[44]
>  
>  Greg
>  
>  --__--__--
>  
>  Message: 5
>  From: "Simon J"
>  To:
>  Subject: RE: [Mono-list] mon_mono howto guide?
>  Date: Fri, 19 Nov 2004 19:24:53 +1100
>  
>  Here is some info if it helps.
>  
>  Im running FC2, mono1.0.4, and xsp. I didn't need to do anything special to
>  get mono running through apache.  Ie. No compiling from source or any of
>  that, just used yum and installed mono-complete from memory.   Unfortunately
>  I cannot remember the exact process I went through, but I can provide you
>  with sections from a working httpd.conf file for my server which has
>  multiple mono apps running
>  
>  MonoApplications "/test:/opt/xsp/test,/nGallery:/opt/xsp/nGalleryWeb"
>  
>  SetHandler mono
>  AuthType Basic
>  AuthName "blah"
>  AuthUserFile /var/www/passwords_blah
>  Require user blah
>  SSLRequireSSL
>  
>  SetHandler mono
>  
>  Hope that is of some help.
>  
>  Simon
>  
>  -----Original Message-----
>  From: mono-list-admin@lists.ximian.com[47]
>  [mailto:mono-list-admin@lists.ximian.com[48]] On Behalf Of Darren Martz
>  Sent: Thursday, 18 November 2004 8:39 AM
>  To: mono-list@lists.ximian.com[49]
>  Subject: RE: [Mono-list] mon_mono howto guide?
>  
>  Thanks Gonzalo!
>  
>  I have never seen that file before. Thanks for pointing it out, it has loads
>  of good information inside.
>  
>  Perhaps it can be added to the mono-project.com web site so it's easier to
>  find. I use Gentoo and it didn't seem to provide that INSTALL file you
>  referenced.
>  
>  Cheers,
>  Darren
>  
>  -----Original Message-----
>  From: mono-list-admin@lists.ximian.com[50]
>  [mailto:mono-list-admin@lists.ximian.com[51]] On Behalf Of Gonzalo Paniagua
>  Javier
>  Sent: Wednesday, November 17, 2004 1:27 PM
>  To: mono-list@lists.ximian.com[52]
>  Subject: Re: [Mono-list] mon_mono howto guide?
>  
>  1) is covered in the mod_mono INSTALL file that should be shipped with the
>  mod_mono package (it's in SVN
>  http://svn.myrealbox.com/viewcvs/trunk/mod_mono/INSTALL?view=markup[53])
>  
>  2) and 3) don't have examples in that file, but it's really easy once you do
>  1).
>  
>  Good luck. And if you get into troubles, ask here or search the list
>  archive.
>  
>  -Gonzalo
>  
>  _______________________________________________
>  Mono-list maillist  -  Mono-list@lists.ximian.com[54]
>  http://lists.ximian.com/mailman/listinfo/mono-list[55]
>  
>  _______________________________________________
>  Mono-list maillist  -  Mono-list@lists.ximian.com[56]
>  http://lists.ximian.com/mailman/listinfo/mono-list[57]
>  
>  --__--__--
>  
>  Message: 6
>  Date: Fri, 19 Nov 2004 09:27:33 +0100
>  From: Arnaud Bienvenu
>  To: mono-list@lists.ximian.com[59]
>  Subject: Re: [Mono-list] Compiling dotLucene with mono
>  
>  cuentas a écrit :
>  > Hi all, this is my first post on this list.
>  
>  Welcome :-)
>  
>  > I am trying to compile dotLucene[1] on Linux using mono. How can a I
>  > make a mono-project to build this kind of project (dotLucene) from the
>  > comand line?
>  
>  You can compile dotLucene this way :
>  mcs -out:dotLucene.dll -r System.Runtime.Remoting -t:library *.cs
>  Store/*.cs Util/*.cs Index/*.cs Analysis/*.cs Search/*.cs Document/*.cs
>  
>  The order is important, because of depencies in the code.
>  
>  Of course you could also build a Makefile, or create a Monodevelop project.
>  
>  --
>  Arnaud Bienvenu
>  Makina Corpus
>  http://www.makina-corpus.org/[60]
>  
>  --__--__--
>  
>  Message: 7
>  Date: Fri, 19 Nov 2004 02:13:22 -0800
>  From: listmail@huntington-bradley.com[61]
>  To: Jambunathan Jambunathan
>  Cc: mono-list@lists.ximian.com[63]
>  Subject: Re: [Mono-list] Re: DotNetNuke on Mono (Windows)
>  
>  Well it's been quite some time since I've been able to try compiling Mono from
>  source.
>  
>  I downloaded the mono-build-w32.sh script, set my ACLOCAL_FLAGS="-I
>  /usr/local/share/aclocal" and PKG_CONFIG_PATH="/usr/local/bin"  (the mono
>  compiling page says only to set the appropriate variables but doesn't say to
>  what or why or how--not too helpful to us windows spoiled compiling noobs, I
>  got instructions on what to set these to from
>  http://www.gotmono.com/docs/installation/windows.html#build[64]).  I then ran the
>  script according to instructions from the mono compiling page.  Initially the
>  script said that a file was broken and I should delete a line (can't recal the
>  file name but the line to delet was something like #define
>  ftruncate...).  So I
>  found the file the error message mentioned, deleted the line and ran
>  the script
>  again.
>  
>  Well then the script seemed to run just fine for a long time.  make was going
>  along through the directory structure of the source code for a long
>  time (like,
>  an hour).  I was seeing quite a few warnings but no errors until...suddenly
>  there were a *lot* of "undefined reference to.." messages that all seemed to
>  refer to files in the ~/glib-2.0.4/glib/ directory and its subdirectories.
>  Then make exited with the following output:
>  collect2: ld returned 1 exit status
>  make[3]: ***[pedump.exe] Error 1
>  make[3]: Leaving directory '/home/michael/mono/mono/mono/metadata'
>  make[3]: *** [all-recursive] Error 1
>  
>  ...then some other lines that just show that make is recursively leaving the
>  directory structure, then...
>  
>  make: *** [all] Error 2
>  
>  So, what should I look at next?
>  
>  Quoting Jambunathan Jambunathan :
>  
>  > Hello Michael
>  >
>  > All you need to do is folow the instructions mentioned in
>  > the two links below.
>  >
>  > http://www.mono-project.com/contributing/anoncvs.html[66]
>  > http://www.mono-project.com/contributing/compiling.html[67]
>  >
>  > Once you are able to successfully build mono and mcs tree
>  > you are all set.
>  >
>  > If you run in to any issues, do post the specific errors that
>  > you encounter and the community will be happy to help you
>  > out.
>  >
>  > Regards,
>  > Jambunathan K.
>  >
>  >
>  >
>  >
>  >>>>  10/22/04 11:24 PM >>>
>  > Jambunathan,
>  >
>  > Thank you so much for your detailed and encouraging replies.
>  >
>  > I am pretty much a noob as far as the linux/open source software
>  > world.
>  > Consequently, I have never built an app by checking the code out from
>  > cvs and
>  > building the app from the checked out source.  I guess building mono
>  > from CVS
>  > would be the next step because the newer version may have the VB
>  > runtime issue
>  > I'm running into fixed already.  I'm not really sure what the steps are
>  > to do
>  > this.  I have a linux box too, but I'd like to stick to Windows for now
>  >
>  > because
>  > DotNetNuke is highly dependant on SQL server (lots of stored
>  > procedures) and
>  > I'd like to try to see if I can get it running using SQL Server first,
>  > then
>  > look into what it would take to port the DB stuff to PostgreSQL or
>  > MySQL.
>  >
>  > I recently purchased the Mono Developers Notebook, I think it has
>  > instructions
>  > on building Mono from source on Windows so I'll enter into a learning
>  > process
>  > and take that on, then try again with the newer version of Mono.
>  >
>  > If folks can suggest a link to a tutorial on the process of building
>  > apps from
>  > source on Windows, that would also be appreciated.
>  >
>  > Thanks,
>  >
>  > Michael Bradley
>  >
>  >>> Theoretically, it should run on Mono, even though it's written in
>  > VB
>  >> (isn't
>  >>> this true?) because the application is compiled to IL.  So Mono
>  >> shouldn't need
>  >>> to compile any VB, just compile or interpret the IL.
>  >>
>  >> Very much true.
>  >>
>  >> Well, if it's a pre-compiled Microsoft's IL then there should be
>  >> no issues, except possibly for some yet to be identified glitches in
>  >> Microsoft.VisualBasic runtime, which we will be happy to address in
>  >> no time :-)
>  >>
>  >> (Just to clarify on my earlier posting, if you would like to build
>  > the
>  >> dll
>  >> using mbas, we aren't there yet.)
>  >>
>  >>> Anybody done this?
>  >>
>  >> I am not aware of any.
>  >>
>  >> Regards,
>  >> Jambunathan K.
>  >>
>  >>
>  >>>>>  10/21/04 10:38 PM >>>
>  >> Thanks for your response.  Unfortunately, there is no c# version of
>  >> DotNetNuke.
>  >> The core team has talked about porting it, there's even a
>  > csharpNuke.com
>  >> website.  However, no c# version has yet been made available and
>  > various
>  >> posts
>  >> on the DotNetNuke forum leads me to believe it will be some time (if
>  >> ever)
>  >> before a c# port is done.
>  >>
>  >> I was hoping maybe someone else has tried to run DNN on Mono.  I'ts
>  > a
>  >> very
>  >> capable and easy to use portal framework which I'm already familiar
>  >> with.
>  >> Theoretically, it should run on Mono, even though it's written in VB
>  >> (isn't
>  >> this true?) because the application is compiled to IL.  So Mono
>  >> shouldn't need
>  >> to compile any VB, just compile or interpret the IL.
>  >>
>  >> Anybody done this?
>  >>
>  >>
>  >>> I would start off by grabbing the c# version of dotnetnuke because
>  > I
>  >> am
>  >>> unsure if the vb support is 100% in mono right now.
>  >>>
>  >>>
>  >>> listmail@huntington-bradley.com[70] wrote:
>  >>>
>  >>>> Hello,
>  >>>>
>  >>>> I tried running the DotNetNuke open source ASP.NET portal system
>  >>>> using XSP (mono
>  >>>> 1.0.2 installed on WindowsXP).  I got the following error
>  > messages:
>  >>>>
>  >>>> Server error in '/' application
>  >>>> Description: Error processing request.
>  >>>>
>  >>>> Error Message: HTTP 500.
>  >>>>
>  >>>> Stack Trace:
>  >>>>
>  >>>> System.Reflection.TargetInvocationException: Exception has been
>  >>>> thrown by the
>  >>>> target of an invocation. ---> System.ArgumentOutOfRangeException:
>  >>>> Argument is
>  >>>> out of range.
>  >>>> Parameter name: count
>  >>>> in  System.String:Split (char[],int)
>  >>>> in  Microsoft.VisualBasic.Strings:Split
>  >>>> (string,string,int,Microsoft.VisualBasic.CompareMethod)
>  >>>> in  DotNetNuke.Data.SqlDataProvider:ExecuteScript
>  >> (string,bool)
>  >>>> in  DotNetNuke.Data.SqlDataProvider:ExecuteScript
>  > (string)
>  >>>> in  DotNetNuke.Data.SqlDataProvider:GetProviderPath ()
>  >>>> in  DotNetNuke.PortalSettings:GetProviderPath ()
>  >>>> in  DotNetNuke.Upgrade:AutoUpgrade ()
>  >>>> in  DotNetNuke.Global:Application_Start
>  >> (object,System.EventArgs)
>  >>>> in (unmanaged) (wrapper managed-to-native)
>  >>>> System.Reflection.MonoMethod:InternalInvoke (object,object[])
>  >>>> in  (wrapper managed-to-native)
>  >>>> System.Reflection.MonoMethod:InternalInvoke (object,object[])
>  >>>> in  System.Reflection.MonoMethod:Invoke
>  >>>>
>  >>
>  > (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
>  >>>> --- End of inner exception stack trace ---
>  >>>>
>  >>>> in  System.Reflection.MonoMethod:Invoke
>  >>>>
>  >>
>  > (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
>  >>>> in  System.Reflection.MethodBase:Invoke (object,object[])
>  >>>> in  System.Web.HttpApplicationFactory:FireEvent
>  >>>> (string,object,object[])
>  >>>> in  System.Web.HttpApplicationFactory:FireOnAppStart
>  >>>> (System.Web.HttpApplication)
>  >>>> in  System.Web.HttpApplicationFactory:InitializeFactory
>  >>>> (System.Web.HttpContext)
>  >>>> in  System.Web.HttpApplicationFactory:GetInstance
>  >>>> (System.Web.HttpContext)
>  >>>> in  System.Web.HttpRuntime:InternalExecuteRequest
>  >>>> (System.Web.HttpWorkerRequest)
>  >>>>
>  >>>> I'm pretty new to Mono and not a .NET expert (though I have
>  >>>> developed a couple
>  >>>> of small and simple web applications using Visual Studio and
>  > ASP.NET)
>  >> so I'm
>  >>>> not sure what the above error message is telling me.  I *think*
>  >>>> what's going on
>  >>>> is that something in the VB runtime threw an exeption?
>  >>>>
>  >>>> Is this something that can be easily addressed? Can someone more
>  >>>> knowledgeable
>  >>>> point me in the right direction? Or should I just hold off on
>  > running
>  >>>> DotNetNuke on Mono until better compatibility with stuff written in
>  >
>  >>>> VB has been
>  >>>> established?
>  >>>>
>  >>>> Thanks,
>  >>>>
>  >>>> mbradley
>  >>>> _______________________________________________
>  >>>> Mono-list maillist  -  Mono-list@lists.ximian.com[71]
>  >>>> http://lists.ximian.com/mailman/listinfo/mono-list[72]
>  >>
>  >>
>  >>
>  >> _______________________________________________
>  >> Mono-list maillist  -  Mono-list@lists.ximian.com[73]
>  >> http://lists.ximian.com/mailman/listinfo/mono-list[74]
>  >> _______________________________________________
>  >> Mono-list maillist  -  Mono-list@lists.ximian.com[75]
>  >> http://lists.ximian.com/mailman/listinfo/mono-list[76]
>  >
>  >
>  >
>  > _______________________________________________
>  > Mono-list maillist  -  Mono-list@lists.ximian.com[77]
>  > http://lists.ximian.com/mailman/listinfo/mono-list[78]
>  
>  --__--__--
>  
>  _______________________________________________
>  Mono-list mailing list
>  Mono-list@lists.ximian.com[79]
>  http://lists.ximian.com/mailman/listinfo/mono-list[80]
>  
>  End of Mono-list Digest
-------Original Message-------