Guys was there ever a fix to this? I¹m having the exact same issue :(

Some notes:

Mac OS 10.9.4
Trying to build JCC 2.19
Patching with instructions here https://github.com/chrismattmann/etllib/
to deal with JAVAFRAMEWORKS hard coding, etc.
Built collective.python, my own Python buildout, and am using VirtualEnv
Python 2.7.8 (default, Sep 27 2014, 11:46:04)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 


Still getting the darned linker error (I am using home brew and installing
GCC right now in hopes that fixes it).

This really sucks..

[chipotle:python2.7/src/JCC-2.19] mattmann% ../../bin/python2.7 setup.py
build
found JAVAHOME = 
/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home
Loading source files for package org.apache.jcc...
Constructing Javadoc information...
Standard Doclet version 1.7.0_60
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 /usr/local/xdata-employment/python2.7/src/JCC-2.19/jcc/config.py
copying jcc/config.py -> build/lib.macosx-10.9-x86_64-2.7/jcc
copying jcc/classes/org/apache/jcc/PythonVM.class ->
build/lib.macosx-10.9-x86_64-2.7/jcc/classes/org/apache/jcc
copying jcc/classes/org/apache/jcc/PythonException.class ->
build/lib.macosx-10.9-x86_64-2.7/jcc/classes/org/apache/jcc
running build_ext
building 'jcc' extension
/usr/bin/clang -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -dynamiclib -arch x86_64 -D_jcc_lib -DJCC_VER="2.19"
-I/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/include/d
arwin -I_jcc -Ijcc/sources
-I/Users/mattmann/git/buildout.python/parts/opt/include/python2.7 -c
jcc/sources/jcc.cpp -o build/temp.macosx-10.9-x86_64-2.7/jcc/sources/jcc.o
-DPYTHON -fno-strict-aliasing -Wno-write-strings
clang: warning: argument unused during compilation: '-dynamiclib'
/usr/bin/clang -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -dynamiclib -arch x86_64 -D_jcc_lib -DJCC_VER="2.19"
-I/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/include/d
arwin -I_jcc -Ijcc/sources
-I/Users/mattmann/git/buildout.python/parts/opt/include/python2.7 -c
jcc/sources/JCCEnv.cpp -o
build/temp.macosx-10.9-x86_64-2.7/jcc/sources/JCCEnv.o -DPYTHON
-fno-strict-aliasing -Wno-write-strings
clang: warning: argument unused during compilation: '-dynamiclib'
g++ -Wl,-x -dynamiclib -undefined dynamic_lookup -dylib_file
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dyli
b:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dy
lib -arch x86_64 build/temp.macosx-10.9-x86_64-2.7/jcc/sources/jcc.o
build/temp.macosx-10.9-x86_64-2.7/jcc/sources/JCCEnv.o -o
build/lib.macosx-10.9-x86_64-2.7/libjcc.dylib
-L/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib
-ljava 
-L/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/s
erver -ljvm -Wl,-rpath
-Wl,/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib
 -Wl,-rpath 
-Wl,/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib
/server -Wl,-S
ld: internal error: atom not found in
symbolIndex(__ZN7JNIEnv_13CallIntMethodEP8_jobjectP10_jmethodIDz) for
architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
error: command 'g++' failed with exit status 1



Cheers,
Chris


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Chief Architect
Instrument Software and Science Data Systems Section (398)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 168-519, Mailstop: 168-527
Email: chris.a.mattm...@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




Reply via email to