I compiled gcc into user local in order for it not to conflict with any of
the systems gcc tools:

[EMAIL PROTECTED] pylucene-trunk]# which gcj
/usr/local/bin/gcj
[EMAIL PROTECTED] pylucene-trunk]# gcj --version
gcj (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE



On 1/30/07, Andi Vajda <[EMAIL PROTECTED]> wrote:


On Tue, 30 Jan 2007, Ron Davis wrote:

> I assume that my config changes may help as well:
> # Linux (with gcc 3.4.4 and libgcj statically linked)
> PREFIX=/usr/local
> PREFIX_PYTHON=$(PREFIX)
> LIBDIR_NAME=lib
> GCJ_HOME=/usr/local
> GCJ_LIBDIR=$(GCJ_HOME)/$(LIBDIR_NAME)
> GCJ_STATIC=1
> #LIB_INSTALL=libstdc++.so.6 libgcc_s.so.1
> #DB=$(PYLUCENE)/db-$(DB_VER)
> #PREFIX_DB=$(PREFIX)/BerkeleyDB.$(DB_LIB_VER)
> ANT=ant
> PYTHON=$(PREFIX_PYTHON)/bin/python
>
>
> On 1/30/07, Ron Davis <[EMAIL PROTECTED]> wrote:
>>
>> Working on compiling trunk on fedora core 6.
>>
>> Python: Python-2.4.3
>> PyLucene: Trunk version 317
>> GCC: 3.4.6
>>
>> Here is what i get:
>>
>> [EMAIL PROTECTED] pylucene-trunk]# make all
>> /usr/local/bin/gcj --encoding=UTF-8 -O2 -fPIC -c -o
release/lucene.jar.o
>> lucene-                                             java-2.0.0-480800
>> /build/lucene-core-2.0.0-480800.jar
>> org/apache/lucene/index/SegmentInfos.java: In class
>> `org.apache.lucene.index.SegmentInfos':
>> org/apache/lucene/index/SegmentInfos.java: In method
>> `org.apache.lucene.index.SegmentInfos.write(
>> org.apache.lucene.store.Directory)':
>> org/apache/lucene/index/SegmentInfos.java:216: error: verification
error
>> at PC=167
>> org/apache/lucene/index/SegmentInfos.java:216: error: might transfer
>> control into subroutine
>> make: *** [release/lucene.jar.o] Error 1
>> [EMAIL PROTECTED] pylucene-trunk]#

It looks like you hit a problem with gcj.
How did you get gcj ?
gcj 3.4.6 works well for me on Ubuntu. I'd expect it to work just as well
on
Red Hat.

Are you sure it's gcj 3.4.6 ?
What does gcj --version return ?

Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev




--
Thanks Again,

Ron Davis
Home: 314-521-1945
Cell: 314-393-3245
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to