[ 
https://issues.apache.org/jira/browse/PYLUCENE-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855129#action_12855129
 ] 

Andi Vajda commented on PYLUCENE-3:
-----------------------------------

Why is this a bug ?

PyLucene and JCC compile just fine for me on Snow Leopard and have since 
10.6 was released.

Maybe your environment is different and hence edits are needed in PyLucene's 
Makefile or JCC's setup.py.

Yes, having to do this is frustrating, to say the least, but guessing at all 
possible dev env setups is even worse.

If you consider this a bug, what fix do you suggest ?
(adding the -isysroot parameter for everyone is probably not correct)


> jcc not compiling on Mac Snow Leopard
> -------------------------------------
>
>                 Key: PYLUCENE-3
>                 URL: https://issues.apache.org/jira/browse/PYLUCENE-3
>             Project: PyLucene
>          Issue Type: Bug
>         Environment: Mac: Darwin jcab.local 10.3.0 Darwin Kernel Version 
> 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i38
>            Reporter: Jim Carroll
>            Priority: Trivial
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> jcc was not compiling for me on mac until I changed setup.py to include the 
> sysroot:
>  CFLAGS = {
> -    'darwin': ['-fno-strict-aliasing', '-Wno-write-strings'],
> +    'darwin': ['-fno-strict-aliasing', '-Wno-write-strings', '-isysroot', 
> '/Developer/SDKs/MacOSX10.5.sdk'],
>      'ipod': ['-Wno-write-strings'],
>      'linux2': ['-fno-strict-aliasing', '-Wno-write-strings'],

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to