[ https://issues.apache.org/jira/browse/PYLUCENE-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855142#action_12855142 ]
Jim Carroll commented on PYLUCENE-3: ------------------------------------ By the way, the error that I got was that it could not find the file map in a #include <map> > 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.