lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From László Monda (JIRA) <j...@apache.org>
Subject [jira] Commented: (LUCENENET-173) Makefile for *nix platforms to build Lucene.Net with Mono
Date Sun, 22 Feb 2009 13:15:04 GMT

    [ https://issues.apache.org/jira/browse/LUCENENET-173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675649#action_12675649
] 

László Monda commented on LUCENENET-173:
----------------------------------------

1) I've added the Apache 2.0 Licenese to the Makefile.
2) Im ready with Makefile-ReadMe.txt, but I find it overkill to add license text to it.  Isn't
it necessary that I provide the rights to you by checking the relevant checkbox when upload
my files?
3) These files should be under the "Lucene.Net" folder.
4) I don't really have to time to create Makefiles for Demos and NUnit right now, sorry.
5) Ive just made a diff which I'll immedately attach to this issue.

There were some files that I've had problems with, when I first tried to build Lucene.Net.
 I've disrespected the .csproj file the first time, but I believe the following should shed
some light on what's wrong with the codebase.

$ gmcs -t:library -r:System.Configuration `find Lucene.Net -name
'*.cs' ! -name RemoteSearchable.cs -type f` -out:Lucene.Net.dll

Here is what I got:

Lucene.Net/Analysis/Standard/TokenMgrError.cs(49,18): error CS8025:
Parsing error
Lucene.Net/Index/DocumentWriter.cs(126,57): error CS8025: Parsing error
Lucene.Net/Index/SegmentReade-2r.cs(32,22): error CS0101: The
namespace `Lucene.Net.Index' already contains a definition for
`SegmentReader'
Lucene.Net/Index/SegmentReader.cs(34,22): (Location of the symbol
related to previous error)
Compilation failed: 3 error(s), 0 warnings

I removed SegmentReade-2r.cs, fixed the messed up comments in
TokenMgrError.cs and DocumentWriter.cs and tried again.  Here's the
result:

Lucene.Net/Document/DateTools.cs(109,41): warning CS1717: Assignment
made to same variable; did you mean to assign something else?
Lucene.Net/Document/DateTools.cs(116,41): warning CS1717: Assignment
made to same variable; did you mean to assign something else?
Lucene.Net/Document/DateTools.cs(123,41): warning CS1717: Assignment
made to same variable; did you mean to assign something else?
Lucene.Net/Document/DateTools.cs(130,41): warning CS1717: Assignment
made to same variable; did you mean to assign something else?
Lucene.Net/Document/DateTools.cs(137,41): warning CS1717: Assignment
made to same variable; did you mean to assign something else?
Lucene.Net/Document/DateTools.cs(83,55): warning CS0219: The variable
`cal' is assigned but its value is never used
Lucene.Net/Document/DateTools.cs(290,55): warning CS0219: The variable
`cal' is assigned but its value is never used
Lucene.Net/Store/LockStressTest.cs(65,49): warning CS0168: The
variable `e' is declared but never used
Lucene.Net/Store/LockStressTest.cs(75,67): warning CS0168: The
variable `e' is declared but never used
Lucene.Net/Store/LockStressTest.cs(79,60): warning CS0168: The
variable `e' is declared but never used
Lucene.Net/Store/LockStressTest.cs(83,49): warning CS0168: The
variable `e' is declared but never used
Lucene.Net/Store/LockStressTest.cs(114,66): warning CS0168: The
variable `e' is declared but never used
Lucene.Net/Store/FSDirectory.cs(337,91): warning CS0168: The variable
`e' is declared but never used
Lucene.Net/Store/FSDirectory.cs(534,54): warning CS0219: The variable
`generatedAux' is assigned but its value is never used
Lucene.Net/Search/FilterManager.cs(270,92): warning CS0168: The
variable `e' is declared but never used
Lucene.Net/Search/FieldCacheImpl.cs(482,87): warning CS0168: The
variable `nfe3' is declared but never used
Lucene.Net/Search/FieldCacheImpl.cs(475,79): warning CS0168: The
variable `nfe1' is declared but never used
Lucene.Net/Search/ParallelMultiSearcher.cs(101,84): warning CS0168:
The variable `ie' is declared but never used
Lucene.Net/Search/ParallelMultiSearcher.cs(153,84): warning CS0168:
The variable `ie' is declared but never used
Lucene.Net/Search/Function/DocValues.cs(143,72): warning CS0168: The
variable `e' is declared but never used
Lucene.Net/Index/SegmentInfos.cs(401,54): warning CS0168: The variable
`e' is declared but never used
Lucene.Net/Index/SegmentInfos.cs(660,102): warning CS0168: The
variable `err2' is declared but never used
Lucene.Net/Index/SegmentInfos.cs(673,116): warning CS0168: The
variable `e' is declared but never used
Lucene.Net/Index/MultiReader.cs(182,86): warning CS0168: The variable
`ignore' is declared but never used
Lucene.Net/Index/DocumentWriter.cs(393,82): error CS1061: Type
`Lucene.Net.Index.TermVectorsWriter' does not contain a definition for
`OpenDocument' and no extension method `OpenDocument' of type
`Lucene.Net.Index.TermVectorsWriter' could be found (are you missing a
using directive or an assembly reference?)
Lucene.Net/Index/DocumentWriter.cs(395,74): error CS1061: Type
`Lucene.Net.Index.TermVectorsWriter' does not contain a definition for
`OpenField' and no extension method `OpenField' of type
`Lucene.Net.Index.TermVectorsWriter' could be found (are you missing a
using directive or an assembly reference?)
Lucene.Net/Index/DocumentWriter.cs(399,74): error CS1061: Type
`Lucene.Net.Index.TermVectorsWriter' does not contain a definition for
`CloseField' and no extension method `CloseField' of type
`Lucene.Net.Index.TermVectorsWriter' could be found (are you missing a
using directive or an assembly reference?)
Lucene.Net/Index/DocumentWriter.cs(402,90): error CS1061: Type
`Lucene.Net.Index.TermVectorsWriter' does not contain a definition for
`IsFieldOpen' and no extension method `IsFieldOpen' of type
`Lucene.Net.Index.TermVectorsWriter' could be found (are you missing a
using directive or an assembly reference?)
Lucene.Net/Index/DocumentWriter.cs(404,66): error CS1061: Type
`Lucene.Net.Index.TermVectorsWriter' does not contain a definition for
`AddTerm' and no extension method `AddTerm' of type
`Lucene.Net.Index.TermVectorsWriter' could be found (are you missing a
using directive or an assembly reference?)
Lucene.Net/Index/DocumentWriter.cs(408,58): error CS1061: Type
`Lucene.Net.Index.TermVectorsWriter' does not contain a definition for
`CloseDocument' and no extension method `CloseDocument' of type
`Lucene.Net.Index.TermVectorsWriter' could be found (are you missing a
using directive or an assembly reference?)
Lucene.Net/Index/IndexFileDeleter.cs(177,96): warning CS0168: The
variable `e' is declared but never used
Lucene.Net/Index/IndexFileDeleter.cs(221,62): warning CS0168: The
variable `e' is declared but never used
Lucene.Net/Index/MultiSegmentReader.cs(61,78): warning CS0168: The
variable `ignore' is declared but never used
Lucene.Net/Index/MultiSegmentReader.cs(161,94): warning CS0168: The
variable `ignore' is declared but never used
Compilation failed: 6 error(s), 28 warnings


> Makefile for *nix platforms to build Lucene.Net with Mono
> ---------------------------------------------------------
>
>                 Key: LUCENENET-173
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-173
>             Project: Lucene.Net
>          Issue Type: Improvement
>         Environment: Unix
>            Reporter: László Monda
>            Priority: Minor
>         Attachments: Makefile
>
>
> I've already done this but cannot see any form fields to upload my Makefile, so I post
this issue and see if I can add it in the comments.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message