lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ganong <gan...@gmail.com>
Subject JCC build fails on Mac OS X Mavericks
Date Tue, 11 Mar 2014 21:44:11 GMT
Hi,

I'm having trouble installing JCC. I don't know if this is the right forum,
but I figured I would post here, since
this<http://lucene.apache.org/pylucene/mailing-lists.html>page said
this was the list to post build issues.

I'm trying to install JCC as a first step to installing PyLucene. I've
installed JDK 1.7, Python 2.7, Python 3.3, XCode, XCode Command Line Tools
and setuptools 3.1. I've pasted the error I'm getting below.

Thanks,

Peter

Macintosh-58:jcc ganong$ python setup.py build

found JAVAHOME =
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home

found JAVAFRAMEWORKS = /System/Library/Frameworks/JavaVM.framework

Loading source files for package org.apache.jcc...

Constructing Javadoc information...

Standard Doclet version 1.7.0_51

Building tree for all the packages and classes...

Generating javadoc/org/apache/jcc/PythonException.html...

Generating javadoc/org/apache/jcc/PythonVM.html...

Generating javadoc/org/apache/jcc/package-frame.html...

Generating javadoc/org/apache/jcc/package-summary.html...

Generating javadoc/org/apache/jcc/package-tree.html...

Generating javadoc/constant-values.html...

Generating javadoc/serialized-form.html...

Building index for all the packages and classes...

Generating javadoc/overview-tree.html...

Generating javadoc/index-all.html...

Generating javadoc/deprecated-list.html...

Building index for all classes...

Generating javadoc/allclasses-frame.html...

Generating javadoc/allclasses-noframe.html...

Generating javadoc/index.html...

Generating javadoc/help-doc.html...

running build

running build_py

writing /Users/ganong/Downloads/pylucene-4.6.1-1/jcc/jcc/config.py

copying jcc/config.py -> build/lib.macosx-10.9-intel-2.7/jcc

copying jcc/classes/org/apache/jcc/PythonVM.class ->
build/lib.macosx-10.9-intel-2.7/jcc/classes/org/apache/jcc

copying jcc/classes/org/apache/jcc/PythonException.class ->
build/lib.macosx-10.9-intel-2.7/jcc/classes/org/apache/jcc

running build_ext

building 'jcc' extension

cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os
-pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd
-DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes
-Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes
-DENABLE_DTRACE -dynamiclib -D_jcc_lib -DJCC_VER="2.19"
-I/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/include/darwin
-I_jcc -Ijcc/sources
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c jcc/sources/jcc.cpp -o
build/temp.macosx-10.9-intel-2.7/jcc/sources/jcc.o -DPYTHON
-fno-strict-aliasing -Wno-write-strings

clang: error: unknown argument: '-mno-fused-madd'
[-Wunused-command-line-argument-hard-error-in-future]

clang: note: this will be a hard error (cannot be downgraded to a warning)
in the future

error: command 'cc' failed with exit status 1

-- 
Peter Ganong
PhD Candidate in Economics at Harvard
scholar.harvard.edu/ganong/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message