You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michele Bini (JIRA)" <ji...@apache.org> on 2005/11/25 23:16:56 UTC
[jira] Created: (LUCENE-471) gcj ant target doesn't work on windows
gcj ant target doesn't work on windows
--------------------------------------
Key: LUCENE-471
URL: http://issues.apache.org/jira/browse/LUCENE-471
Project: Lucene - Java
Type: Bug
Components: Other
Versions: CVS Nightly - Specify date in submission
Environment: Windows with MinGW (http://www.mingw.org/) and unixutils (http://unxutils.sourceforge.net/)
Reporter: Michele Bini
In order to fix it I made two changes, both really simple.
First I added to org/apache/lucene/store/GCJIndexInput.cc some code to use windows memory-mapped I/O instead than unix mmap().
Then I had to rearrange the link order in the Makefile in order to avoid unresolved symbol errors. Also to build repeatedly I had to instruct make to ignore the return code for the mkdir command as on windows it fails if the directory already exists.
I'm attaching two patches corresponding to the changes; please note that with the patches applied, the gcj target still works on linux. Both patches apply cleanly to the current svn head.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-471) gcj ant target doesn't work on windows
Posted by "Michele Bini (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LUCENE-471?page=all ]
Michele Bini updated LUCENE-471:
--------------------------------
Attachment: win-mmap.diff
Window implementation of to GCJIndexInput.cc memory mapped i/o
> gcj ant target doesn't work on windows
> --------------------------------------
>
> Key: LUCENE-471
> URL: http://issues.apache.org/jira/browse/LUCENE-471
> Project: Lucene - Java
> Type: Bug
> Components: Other
> Versions: CVS Nightly - Specify date in submission
> Environment: Windows with MinGW (http://www.mingw.org/) and unixutils (http://unxutils.sourceforge.net/)
> Reporter: Michele Bini
> Attachments: win-mmap.diff
>
> In order to fix it I made two changes, both really simple.
> First I added to org/apache/lucene/store/GCJIndexInput.cc some code to use windows memory-mapped I/O instead than unix mmap().
> Then I had to rearrange the link order in the Makefile in order to avoid unresolved symbol errors. Also to build repeatedly I had to instruct make to ignore the return code for the mkdir command as on windows it fails if the directory already exists.
> I'm attaching two patches corresponding to the changes; please note that with the patches applied, the gcj target still works on linux. Both patches apply cleanly to the current svn head.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-471) gcj ant target doesn't work on windows
Posted by "Michele Bini (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LUCENE-471?page=all ]
Michele Bini updated LUCENE-471:
--------------------------------
Attachment: win-makefile.diff
Makefile changes to let the gcj ant target work on windows
> gcj ant target doesn't work on windows
> --------------------------------------
>
> Key: LUCENE-471
> URL: http://issues.apache.org/jira/browse/LUCENE-471
> Project: Lucene - Java
> Type: Bug
> Components: Other
> Versions: CVS Nightly - Specify date in submission
> Environment: Windows with MinGW (http://www.mingw.org/) and unixutils (http://unxutils.sourceforge.net/)
> Reporter: Michele Bini
> Attachments: win-makefile.diff, win-mmap.diff
>
> In order to fix it I made two changes, both really simple.
> First I added to org/apache/lucene/store/GCJIndexInput.cc some code to use windows memory-mapped I/O instead than unix mmap().
> Then I had to rearrange the link order in the Makefile in order to avoid unresolved symbol errors. Also to build repeatedly I had to instruct make to ignore the return code for the mkdir command as on windows it fails if the directory already exists.
> I'm attaching two patches corresponding to the changes; please note that with the patches applied, the gcj target still works on linux. Both patches apply cleanly to the current svn head.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org