You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by oleg_gnatovskiy <ol...@citysearch.com> on 2008/04/09 03:45:45 UTC
Nightly build compile error?
Hello everyone. I downloaded the latest nightly build from
http://people.apache.org/builds/lucene/solr/nightly/. When I tried to
compile it, I got the following errors:
[javac] Compiling 189 source files to
/home/csweb/apache-solr-nightly/build/core
[javac]
/home/csweb/apache-solr-nightly/src/java/org/apache/solr/handler/admin/MultiCoreHandler.java:93:
cannot find symbol
[javac] symbol : variable CREATE
[javac] location: class
org.apache.solr.common.params.MultiCoreParams.MultiCoreAction
[javac] if (action == MultiCoreAction.CREATE) {
[javac] ^
[javac]
/home/csweb/apache-solr-nightly/src/java/org/apache/solr/handler/admin/MultiCoreHandler.java:95:
cannot find symbol
[javac] symbol : variable NAME
[javac] location: interface
org.apache.solr.common.params.MultiCoreParams
[javac] dcore.init(params.get(MultiCoreParams.NAME),
[javac] ^
[javac]
/home/csweb/apache-solr-nightly/src/java/org/apache/solr/handler/admin/MultiCoreHandler.java:96:
cannot find symbol
[javac] symbol : variable INSTANCE_DIR
[javac] location: interface
org.apache.solr.common.params.MultiCoreParams
[javac] params.get(MultiCoreParams.INSTANCE_DIR));
[javac] ^
[javac]
/home/csweb/apache-solr-nightly/src/java/org/apache/solr/handler/admin/MultiCoreHandler.java:99:
cannot find symbol
[javac] symbol : variable CONFIG
[javac] location: interface
org.apache.solr.common.params.MultiCoreParams
[javac] String opts = params.get(MultiCoreParams.CONFIG);
[javac] ^
[javac]
/home/csweb/apache-solr-nightly/src/java/org/apache/solr/handler/admin/MultiCoreHandler.java:103:
cannot find symbol
[javac] symbol : variable SCHEMA
[javac] location: interface
org.apache.solr.common.params.MultiCoreParams
[javac] opts = params.get(MultiCoreParams.SCHEMA);
[javac] ^
[javac]
/home/csweb/apache-solr-nightly/src/java/org/apache/solr/handler/admin/MultiCoreHandler.java:164:
unqualified enumeration constant name required
[javac] case PERSIST: {
[javac] ^
[javac]
/home/csweb/apache-solr-nightly/src/java/org/apache/solr/handler/component/QueryComponent.java:356:
cannot find symbol
[javac] symbol : class ShardFieldSortedHitQueue
[javac] location: class org.apache.solr.handler.component.QueryComponent
[javac] ShardFieldSortedHitQueue queue = new
ShardFieldSortedHitQueue(sortFields, ss.getOffset() + ss.getCount());
[javac] ^
[javac]
/home/csweb/apache-solr-nightly/src/java/org/apache/solr/handler/component/QueryComponent.java:356:
cannot find symbol
[javac] symbol : class ShardFieldSortedHitQueue
[javac] location: class org.apache.solr.handler.component.QueryComponent
[javac] ShardFieldSortedHitQueue queue = new
ShardFieldSortedHitQueue(sortFields, ss.getOffset() + ss.getCount());
[javac] ^
[javac]
/home/csweb/apache-solr-nightly/src/java/org/apache/solr/handler/component/QueryComponent.java:491:
cannot find symbol
[javac] symbol : method
join(java.util.ArrayList<java.lang.String>,char)
[javac] location: class org.apache.solr.common.util.StrUtils
[javac] sreq.params.add("ids", StrUtils.join(ids, ','));
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 9 errors
Am I doing something wrong?
--
View this message in context: http://www.nabble.com/Nightly-build-compile-error--tp16577739p16577739.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Nightly build compile error?
Posted by oleg_gnatovskiy <ol...@citysearch.com>.
hossman wrote:
>
> :
> : Hello everyone. I downloaded the latest nightly build from
> : http://people.apache.org/builds/lucene/solr/nightly/. When I tried to
> : compile it, I got the following errors:
> :
> : [javac] Compiling 189 source files to
> : /home/csweb/apache-solr-nightly/build/core
> : [javac]
> :
> /home/csweb/apache-solr-nightly/src/java/org/apache/solr/handler/admin/MultiCoreHandler.java:93:
> : cannot find symbol
> : [javac] symbol : variable CREATE
>
> I'm not sure how you managed to get that far ... because of some
> refactoring that was done a little while back, the nightly builds don't
> currently include all of the source, see SOLR-510.
>
> The nightly builds do however already contain all the pre-built jars (and
> war) that you need to run Solr ... if you want to compile from source, I
> would just check out from subversion.
>
>
>
> -Hoss
>
>
>
Yup, that works.
--
View this message in context: http://www.nabble.com/Nightly-build-compile-error--tp16577739p16592725.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Nightly build compile error?
Posted by Chris Hostetter <ho...@fucit.org>.
:
: Hello everyone. I downloaded the latest nightly build from
: http://people.apache.org/builds/lucene/solr/nightly/. When I tried to
: compile it, I got the following errors:
:
: [javac] Compiling 189 source files to
: /home/csweb/apache-solr-nightly/build/core
: [javac]
: /home/csweb/apache-solr-nightly/src/java/org/apache/solr/handler/admin/MultiCoreHandler.java:93:
: cannot find symbol
: [javac] symbol : variable CREATE
I'm not sure how you managed to get that far ... because of some
refactoring that was done a little while back, the nightly builds don't
currently include all of the source, see SOLR-510.
The nightly builds do however already contain all the pre-built jars (and
war) that you need to run Solr ... if you want to compile from source, I
would just check out from subversion.
-Hoss