Grokbase
Topics Posts Groups | in
x
[ help ]

jarrod roberson (j...@vertigrated.com)

Profile | Posts (28)

User Information

Display Name:jarrod roberson
Partial Email Address:j...@vertigrated.com
Posts:
28 total
28 in Xapian

5 Most Recent

All Posts
1) jarrod roberson Re: [Xapian-discuss] how to compile java-swig under linux.
| +1 vote
Just a follow up, I got SmokeTest.java to run under CentOS 5.x :-) Now I just need to relearn the...
Xapian
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Mon, Mar 24, 2008 at 1:41 PM, Jarrod Roberson <jarrod@vertigrated.com>
wrote:

> On Mon, Mar 10, 2008 at 6:58 AM, Olly Betts <olly@survex.com> wrote:
>
> > On Fri, Mar 07, 2008 at 03:10:03PM -0500, Jarrod Roberson wrote:
> > > /usr/lib/jvm/java-1.6.0-sun-1.6.0.04/bin/javac -classpath .:. -d .
> > Auto.java
> > > ./XapianJNI.java:192: cannot find symbol
> > > symbol  : class Sorter
> >
> > Looks like java-swig/Makefile.am needs updating with the extra java
> > sources which SWIG generates for the new classes. I'll try to sort that
> > out for 1.0.6.
> >
> > Cheers,
> >     Olly
> >
>
>
> Ok, looks like everything compiles and builds under Linux right now. I
> haven't had a chance to actually code against it yet.
> I am still kind of stuck on windows right now :-( I hope to actually try
> and get some code executing against the java-swig binding code later today.
> One peculiarity is that everything is in the default package.
>

Just a follow up, I got SmokeTest.java to run under CentOS 5.x :-)
Now I just need to relearn the java bindings and get my code running.
_______________________________________________
Xapian-discuss mailing list
[email protected: Xapian-di...@lists.xapian.org]
http://lists.xapian.org/mailman/listinfo/xapian-discuss
2) jarrod roberson Re: [Xapian-discuss] how to compile java-swig under linux.
| +1 vote
Ok, looks like everything compiles and builds under Linux right now. I haven't had a chance to...
Xapian
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Mon, Mar 10, 2008 at 6:58 AM, Olly Betts <olly@survex.com> wrote:

> On Fri, Mar 07, 2008 at 03:10:03PM -0500, Jarrod Roberson wrote:
> > /usr/lib/jvm/java-1.6.0-sun-1.6.0.04/bin/javac -classpath .:. -d .
> Auto.java
> > ./XapianJNI.java:192: cannot find symbol
> > symbol  : class Sorter
>
> Looks like java-swig/Makefile.am needs updating with the extra java
> sources which SWIG generates for the new classes. I'll try to sort that
> out for 1.0.6.
>
> Cheers,
>     Olly
>


Ok, looks like everything compiles and builds under Linux right now. I
haven't had a chance to actually code against it yet.
I am still kind of stuck on windows right now :-( I hope to actually try and
get some code executing against the java-swig binding code later today.
One peculiarity is that everything is in the default package.
_______________________________________________
Xapian-discuss mailing list
[email protected: Xapian-di...@lists.xapian.org]
http://lists.xapian.org/mailman/listinfo/xapian-discuss
3) jarrod roberson [Xapian-discuss] how to compile java-swig under linux.
| +1 vote
ok, I am moving my development environment for the java portion of my application to linux (Centos...
Xapian
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
ok, I am moving my development environment for the java portion of my
application to linux (Centos 5 to be specific).
I have found I can still do my python development on Windows. At least
Komodo and Intellij IDEA run on both windows and linux! :-) I lost my Mac
due to a job change :-(.

Anyway, long story short, I am trying to get the java-swig bindings to build
and am having no luck.
xapian-core 1.0.5 builds fine, I got the python bindings builidng fine as
well. Just as plain and simple as it was on OSX.
This is what I am getting as output.

[[email protected: j...@localhost] java-swig]$ make
make  all-am
make[1]: Entering directory `/home/jhr/xapian-bindings-1.0.5/java-swig'
/usr/lib/jvm/java-1.6.0-sun-1.6.0.04/bin/javac -classpath .:. -d . Auto.java
./XapianJNI.java:192: cannot find symbol
symbol  : class Sorter
location: class XapianJNI
  public final static native void Enquire_setSortByKey__SWIG_0(long jarg1,
Enquire jarg1_, long jarg2, Sorter jarg2_, boolean jarg3);

^
./XapianJNI.java:193: cannot find symbol
symbol  : class Sorter
location: class XapianJNI
  public final static native void Enquire_setSortByKey__SWIG_1(long jarg1,
Enquire jarg1_, long jarg2, Sorter jarg2_);

^
./XapianJNI.java:194: cannot find symbol
symbol  : class Sorter
location: class XapianJNI
  public final static native void
Enquire_setSortByKeyThenRelevance__SWIG_0(long jarg1, Enquire jarg1_, long
jarg2, Sorter jarg2_, boolean jarg3);

^
./XapianJNI.java:195: cannot find symbol
symbol  : class Sorter
location: class XapianJNI
  public final static native void
Enquire_setSortByKeyThenRelevance__SWIG_1(long jarg1, Enquire jarg1_, long
jarg2, Sorter jarg2_);

^
./XapianJNI.java:196: cannot find symbol
symbol  : class Sorter
location: class XapianJNI
  public final static native void
Enquire_setSortByRelevanceThenKey__SWIG_0(long jarg1, Enquire jarg1_, long
jarg2, Sorter jarg2_, boolean jarg3);

^
./XapianJNI.java:197: cannot find symbol
symbol  : class Sorter
location: class XapianJNI
  public final static native void
Enquire_setSortByRelevanceThenKey__SWIG_1(long jarg1, Enquire jarg1_, long
jarg2, Sorter jarg2_);

^
./XapianJNI.java:457: cannot find symbol
symbol  : class Sorter
location: class XapianJNI
  public final static native String Sorter_apply(long jarg1, Sorter jarg1_,
long jarg2, Document jarg2_);
                                                             ^
./XapianJNI.java:460: cannot find symbol
symbol  : class Sorter
location: class XapianJNI
  public final static native void Sorter_director_connect(Sorter obj, long
cptr, boolean mem_own, boolean weak_global);
                                                          ^
./XapianJNI.java:461: cannot find symbol
symbol  : class Sorter
location: class XapianJNI
  public final static native void Sorter_change_ownership(Sorter obj, long
cptr, boolean take_or_release);
                                                          ^
./XapianJNI.java:463: cannot find symbol
symbol  : class MultiValueSorter
location: class XapianJNI
  public final static native String MultiValueSorter_apply(long jarg1,
MultiValueSorter jarg1_, long jarg2, Document jarg2_);
                                                                       ^
./XapianJNI.java:464: cannot find symbol
symbol  : class MultiValueSorter
location: class XapianJNI
  public final static native void MultiValueSorter_add__SWIG_0(long jarg1,
MultiValueSorter jarg1_, long jarg2, boolean jarg3);
                                                                           ^
./XapianJNI.java:465: cannot find symbol
symbol  : class MultiValueSorter
location: class XapianJNI
  public final static native void MultiValueSorter_add__SWIG_1(long jarg1,
MultiValueSorter jarg1_, long jarg2);
                                                                           ^
./XapianJNI.java:492: cannot find symbol
symbol  : class Sorter
location: class XapianJNI
  public static String SwigDirector_Sorter_apply(Sorter self, long doc) {
                                                 ^
./Enquire.java:99: cannot find symbol
symbol  : class Sorter
location: class Enquire
  public void setSortByKey(Sorter sorter, boolean ascending) {
                           ^
./Enquire.java:103: cannot find symbol
symbol  : class Sorter
location: class Enquire
  public void setSortByKey(Sorter sorter) {
                           ^
./Enquire.java:107: cannot find symbol
symbol  : class Sorter
location: class Enquire
  public void setSortByKeyThenRelevance(Sorter sorter, boolean ascending) {
                                        ^
./Enquire.java:111: cannot find symbol
symbol  : class Sorter
location: class Enquire
  public void setSortByKeyThenRelevance(Sorter sorter) {
                                        ^
./Enquire.java:115: cannot find symbol
symbol  : class Sorter
location: class Enquire
  public void setSortByRelevanceThenKey(Sorter sorter, boolean ascending) {
                                        ^
./Enquire.java:119: cannot find symbol
symbol  : class Sorter
location: class Enquire
  public void setSortByRelevanceThenKey(Sorter sorter) {
                                        ^
./DateValueRangeProcessor.java:39: DateValueRangeProcessor(long,boolean) is
already defined in DateValueRangeProcessor
  public DateValueRangeProcessor(long valno_, boolean prefer_mdy_) {
         ^
./Enquire.java:100: cannot find symbol
symbol  : variable Sorter
location: class Enquire
    XapianJNI.Enquire_setSortByKey__SWIG_0(swigCPtr, this,
Sorter.getCPtr(sorter),
sorter, ascending);
                                                           ^
./Enquire.java:104: cannot find symbol
symbol  : variable Sorter
location: class Enquire
    XapianJNI.Enquire_setSortByKey__SWIG_1(swigCPtr, this,
Sorter.getCPtr(sorter),
sorter);
                                                           ^
./Enquire.java:108: cannot find symbol
symbol  : variable Sorter
location: class Enquire
    XapianJNI.Enquire_setSortByKeyThenRelevance__SWIG_0(swigCPtr, this,
Sorter.getCPtr(sorter), sorter, ascending);
                                                                        ^
./Enquire.java:112: cannot find symbol
symbol  : variable Sorter
location: class Enquire
    XapianJNI.Enquire_setSortByKeyThenRelevance__SWIG_1(swigCPtr, this,
Sorter.getCPtr(sorter), sorter);
                                                                        ^
./Enquire.java:116: cannot find symbol
symbol  : variable Sorter
location: class Enquire
    XapianJNI.Enquire_setSortByRelevanceThenKey__SWIG_0(swigCPtr, this,
Sorter.getCPtr(sorter), sorter, ascending);
                                                                        ^
./Enquire.java:120: cannot find symbol
symbol  : variable Sorter
location: class Enquire
    XapianJNI.Enquire_setSortByRelevanceThenKey__SWIG_1(swigCPtr, this,
Sorter.getCPtr(sorter), sorter);
                                                                        ^
26 errors
make[1]: *** [Auto.class] Error 1
make[1]: Leaving directory `/home/jhr/xapian-bindings-1.0.5/java-swig'
make: *** [all] Error 2
[[email protected: j...@localhost] java-swig]$
_______________________________________________
Xapian-discuss mailing list
[email protected: Xapian-di...@lists.xapian.org]
http://lists.xapian.org/mailman/listinfo/xapian-discuss
4) jarrod roberson [Xapian-discuss] do the java-swig bindings compile under windows?
| +1 vote
I still can't get xapian core to build on windows so I guess it is kind of moot to begin with. Just...
Xapian
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
I still can't get xapian core to build on windows so I guess it is kind of
moot to begin with.
Just wondering.
_______________________________________________
Xapian-discuss mailing list
[email protected: Xapian-di...@lists.xapian.org]
http://lists.xapian.org/mailman/listinfo/xapian-discuss
5) jarrod roberson Re: [Xapian-discuss] Precompiled Windows Binaries?
| +1 vote
Thanks but I am using the windows build of python so I need to compile with VS.
Xapian
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On 1/15/08, Adi Oanca <adioanca@gmail.com> wrote:
>
> Hi,
>
>    I just compiled xapian with MinGW.
>
>    I could send you the files.
>
> Regards,
>
> Adi.
>


Thanks but I am using the windows build of python so I need to compile with
VS.
_______________________________________________
Xapian-discuss mailing list
[email protected: Xapian-di...@lists.xapian.org]
http://lists.xapian.org/mailman/listinfo/xapian-discuss

spacer
Profile | Posts (28)
Home > People > jarrod roberson