[pylucene-dev] Build error with gcc on Solaris x86
Andi Vajda
vajda at osafoundation.org
Fri Feb 15 23:17:01 PST 2008
On Sat, 16 Feb 2008, Aijin Kim wrote:
> With using Sun Studio, I got other errors even during building jcc:
>
> /"jcc/sources/JCCEnv.h", line 89: Warning: throwable hides
> JCCEnv::exception::throwable.
> "jcc/sources/JCCEnv.h", line 98: Warning: throwable hides
> JCCEnv::pythonError::throwable.
> "jcc/sources/JObject.h", line 32: Error: A declaration does not specify a tag
> or an identifier.
> .....
> "jcc/sources/JObject.h", line 49: Error: "}" expected instead of "$".
> "jcc/sources/JObject.h", line 52: Error: "virtual" is not allowed here.
> "jcc/sources/JObject.h", line 52: Error: weaken must be initialized.
> Compilation aborted, too many Error messages.
What version of PyLucene are you trying to build ?
> /I used Sun Studio 11, Java 1.5 and self-built Python 2.5.1 on Solaris 10.
I used Solaris Express, 11.
> I could see several posts describing similar errors and fixes or patches are
> provided for different projects.
>
> http://mail-index.netbsd.org/pkgsrc-bugs/2006/06/28/0005.html
> http://osdir.com/ml/network.dns.powerdns.devel/2006-04/msg00015.html
> http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg82675.html
>
> They gave me a hint what probably happens is that some namings night be
> conflict between PyLucene and Solaris x86.
What namings ?
> Andi, can you please have a look if you can see the similar issues described
> above?
Like I said before, I've built PyLucene on Solaris 11 with Sun Studio. This
required changes to some of the C++ code which got checked in before the
2.3.0 release. In other words, I can't reproduce the problems you're seeing.
Andi..
More information about the pylucene-dev
mailing list