[pylucene-dev] Build error with gcc on Solaris x86
Aijin Kim
Aijin.Kim at Sun.COM
Sat Feb 16 03:10:23 PST 2008
Andi Vajda wrote:
>
> 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'm trying to build 2.3.0.
>
>> 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 ?
Those posts describe some names used in their codes were already used in
Solaris x86 system.
>
> 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.
OK, I'll try to build with Sun Studio first.
Can you please let me know what shall I do with the above errors when
building jcc?
Thanks,
Aijin
>
> Andi..
> _______________________________________________
> pylucene-dev mailing list
> pylucene-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
More information about the pylucene-dev
mailing list