octave-maintainers
[Top][All Lists]
Advanced

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

Re: RE: [MXE-Octave]Build Failed on CentOS6.6 64bit


From: Tatsuro MATSUOKA
Subject: Re: RE: [MXE-Octave]Build Failed on CentOS6.6 64bit
Date: Fri, 19 Jun 2015 17:46:06 +0900 (JST)

This is a correction.

Mxe-octave will build their own bunutils.
If you finished mxe build, you have dist/octave-4.0.0/bin directory.
$ cd ( path to dist/octave-4.0.0/bin in your mxe directory tree)
$ ./ld -v
You can check bunutils version. (e.g. GNU ld (GNU Binutils) 2.25)
As I wrote
http://octave.1599824.n4.nabble.com/MXE-Octave-Build-Failed-on-CentOS6-6-64bit-tp4670812p4671017.html


If version of binutils in your mxe tree is 2.25,

modify src/openblas.mk

From
define $(PKG)_BUILD
    $(MAKE) -C '$(1)' -j '$(JOBS)' $($(PKG)_MAKE_OPTS)  
    $(MAKE) -C '$(1)' -j 1 $($(PKG)_MAKE_OPTS) install
endef

to
define $(PKG)_BUILD
    PATH=(path to dist/octave-4.0.0/bin in your mxe directory tree ):$PATH 
$(MAKE) -C '$(1)' -j '$(JOBS)' $($(PKG)_MAKE_OPTS)  
    $(MAKE) -C '$(1)' -j 1 $($(PKG)_MAKE_OPTS) install
endef

and 
back to
> $(PKG)_MAKE_OPTS := PREFIX=$(HOST_PREFIX) DYNAMIC_ARCH=1 NO_LAPACK=1


Try to build openblas again.


Another option is to upgrade your binutils to ver. 2.25 on your system.
http://rpmfind.net/linux/rpm2html/search.php?query=binutils


and back to
> $(PKG)_MAKE_OPTS := PREFIX=$(HOST_PREFIX) DYNAMIC_ARCH=1 NO_LAPACK=1

is also required

Do not forget to backup libopenblas.so, libopenblas.a in your 
dist/octave-4.0.0/lib to somewhere 
before re-build because they are working openblas.

Tatsuro



reply via email to

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