help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling octave 3.8 on Ubuntu 12.04?


From: Alasdair McAndrew
Subject: Compiling octave 3.8 on Ubuntu 12.04?
Date: Thu, 2 Jan 2014 11:14:49 +1100

Hello,

I followed the instructions here:

http://blogs.bu.edu/mhirsch/2013/12/compiling-octave-3-8/

and then

sudo apt-get install llvm-3.2-dev

and finally

sudo ./configure LLVM_CONFIG=/usr/bin/llvm-config-3.2 JAVA_HOME=/usr/lib/jvm/default-java --enable-jit --prefix=/opt/octave3.8

This ground away happily for an hour or so, until:


In file included from corefcn/pt-jit.cc:81:0:
/usr/include/llvm/Target/TargetData.h:38:6: error: multiple definition of 'enum llvm::AlignTypeEnum'
/usr/lib/llvm-3.2/include/llvm/DataLayout.h:41:6: error: previous definition here
/usr/include/llvm/Target/TargetData.h:296:7: error: redefinition of 'class llvm::StructLayout'
/usr/lib/llvm-3.2/include/llvm/DataLayout.h:389:7: error: previous definition of 'class llvm::StructLayout'
corefcn/pt-jit.cc: In member function 'bool tree_jit::initialize()':
corefcn/pt-jit.cc:1898:53: error: 'class llvm::ExecutionEngine' has no member named 'getTargetData'
make[3]: *** [corefcn/corefcn_libcorefcn_la-pt-jit.lo] Error 1
make[3]: Leaving directory `/usr/local/src/octave-3.8.0/libinterp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/octave-3.8.0/libinterp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/octave-3.8.0'
make: *** [all] Error 2


Can anybody elucidate this, and let me know how I can compile without these errors?

Thanks,
Alasdair

--
Blog: http://amca01.wordpress.com
Web:  http://sites.google.com/site/amca01/
Facebook: http://www.facebook.com/alasdair.mcandrew

reply via email to

[Prev in Thread] Current Thread [Next in Thread]