[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
java package and MacOS
From: |
Ben Abbott |
Subject: |
java package and MacOS |
Date: |
Sun, 25 Nov 2012 14:37:16 -0500 |
Adding the Octave Forge java package to core Octave breaks building Octave on
MacOS X.
http://hg.savannah.gnu.org/hgweb/octave/rev/acf0addfc610
libtool: link: /opt/local/bin/g++-mp-4.5 -o dldfcn/.libs/__java__.so -bundle
dldfcn/.libs/dldfcn___java___la-__java__.o -L/opt/local/lib
./.libs/liboctinterp.dylib -L/opt/local/libexec/llvm-3.1/lib
-L/opt/local/lib/gcc45/gcc/x86_64-apple-darwin11/4.5.4
-L/opt/local/lib/gcc45/gcc/x86_64-apple-darwin11/4.5.4/../../..
-L/opt/local/lib/gcc45
/Users/bpabbott/Development/mercurial/default/sources/liboctave/.libs/liboctave.dylib
-lfltk_gl -lfltk -lpthread /opt/local/lib/libhdf5.dylib
/opt/local/lib/libfontconfig.dylib /opt/local/lib/libiconv.dylib
/opt/local/lib/libfreetype.dylib -lz -lbz2 /opt/local/lib/libexpat.dylib
/opt/local/lib/libX11.dylib /opt/local/lib/libxcb.dylib
/opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib -lLLVMAsmParser
-lLLVMInstrumentation -lLLVMLinker -lLLVMArchive -lLLVMBitReader
-lLLVMDebugInfo -lLLVMJIT -lLLVMipo -lLLVMVectorize -lLLVMBitWriter
-lLLVMTableGen -lLLVMHexagonCodeGen -lLLVMHexagonAsmPrinter -lLLVMHexagonDesc
-lLLVMHexagonInfo -lLLVMPTXCodeGen -lLLVMPTXDesc -lLLVMPTXInfo
-lLLVMPTXAsmPrinter -lLLVMMBlazeDisassembler -lLLVMMBlazeAsmParser
-lLLVMMBlazeCodeGen -lLLVMMBlazeDesc -lLLVMMBlazeInfo -lLLVMMBlazeAsmPrinter
-lLLVMCppBackendCodeGen -lLLVMCppBackendInfo -lLLVMMSP430CodeGen
-lLLVMMSP430Desc -lLLVMMSP430Info -lLLVMMSP430AsmPrinter -lLLVMXCoreCodeGen
-lLLVMXCoreDesc -lLLVMXCoreInfo -lLLVMCellSPUCodeGen -lLLVMCellSPUDesc
-lLLVMCellSPUInfo -lLLVMMipsDisassembler -lLLVMMipsAsmParser -lLLVMMipsCodeGen
-lLLVMMipsDesc -lLLVMMipsInfo -lLLVMMipsAsmPrinter -lLLVMARMDisassembler
-lLLVMARMAsmParser -lLLVMARMCodeGen -lLLVMARMDesc -lLLVMARMInfo
-lLLVMARMAsmPrinter -lLLVMPowerPCCodeGen -lLLVMPowerPCDesc
-lLLVMPowerPCAsmPrinter -lLLVMPowerPCInfo -lLLVMSparcCodeGen -lLLVMSparcDesc
-lLLVMSparcInfo -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter
-lLLVMX86AsmParser -lLLVMX86Disassembler -lLLVMX86Desc -lLLVMX86Info
-lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMMCDisassembler -lLLVMMCParser
-lLLVMInterpreter -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine
-lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMMCJIT -lLLVMRuntimeDyld
-lLLVMExecutionEngine -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore
-lLLVMSupport ../liboctave/.libs/liboctave.dylib -lstdc++ -lcholmod -lmetis
-lumfpack -lsuitesparseconfig -lamd -lcamd -lcolamd -lccolamd -lcxsparse
/opt/local/lib/libarpack.dylib -ltatlas -lqrupdate
/opt/local/lib/libfftw3.dylib /opt/local/lib/libfftw3f.dylib -llapack -lcblas
-lf77blas -latlas -lreadline -lncurses /opt/local/lib/libpcre.dylib -ldl
/opt/local/lib/gcc45/libgfortran.dylib -lm -O0 -m64 -pthread -Wl,-dylib_file
-Wl,/usr/fubar/lib/octave/3.7.0+/liboctave.1.dylib:/Users/bpabbott/Development/mercurial/default/sources/liboctave/.libs/liboctave.dylib
-pthread -framework AGL -framework OpenGL -framework ApplicationServices
-framework Cocoa
Undefined symbols for architecture x86_64:
"_JNI_CreateJavaVM", referenced from:
initialize_jvm() in dldfcn___java___la-__java__.o
"_JNI_GetCreatedJavaVMs", referenced from:
initialize_jvm() in dldfcn___java___la-__java__.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[3]: *** [dldfcn/__java__.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Looking at config.log, I have the follow defined.
#define JAVA_ARCH ""
#define JAVA_HOME ""
ac_cv_prog_JAVA=java
ac_cv_prog_JAVAC=javac
JAVA='java'
JAVAC='javac'
JAVA_CPPFLAGS=''
JAVA_LIBS=''
Ben
- java package and MacOS,
Ben Abbott <=
- Re: java package and MacOS, Alexander Hansen, 2012/11/25
- Re: java package and MacOS, Ben Abbott, 2012/11/25
- Re: java package and MacOS, Ben Abbott, 2012/11/27
- Re: java package and MacOS, Daniel J Sebald, 2012/11/27
- Re: java package and MacOS, Ben Abbott, 2012/11/27
- Re: java package and MacOS, Daniel J Sebald, 2012/11/27
- dlgtest() no longer needs Octave package, Daniel J Sebald, 2012/11/27
- Re: dlgtest() no longer needs Octave package, Mike Miller, 2012/11/27
- Re: dlgtest() no longer needs Octave package, Daniel J Sebald, 2012/11/27
- Re: dlgtest() no longer needs Octave package, Mike Miller, 2012/11/27