Opened 8 years ago

Closed 8 years ago

#50735 closed defect (fixed)

octave @3.8.2: configure: error: BLAS and LAPACK libraries are required

Reported by: jainanuj99@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: octave

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I tried installing octave using macports. I used the command:

port install octave +gui +nofortran.

It took really really long (almost the entire weekend) but it finally completed building atlas and reached towards the end. Then it failed with

configure failure: command execution failed

Attachments (3)

config.log (240.5 KB) - added by jainanuj99@… 8 years ago.
config.log file generated on config error
main.log (161.4 KB) - added by jainanuj99@… 8 years ago.
mail.log file generated when error was reported
portinstalled.txt (5.7 KB) - added by jainanuj99@… 8 years ago.
port installed on my machine after the error mentioned.

Download all attachments as: .zip

Change History (15)

Changed 8 years ago by jainanuj99@…

Attachment: config.log added

config.log file generated on config error

Changed 8 years ago by jainanuj99@…

Attachment: main.log added

mail.log file generated when error was reported

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…
Port: octave added
Summary: Instlling Octave is failing towards the endoctave @3.8.2: configure: error: BLAS and LAPACK libraries are required

comment:2 Changed 8 years ago by michaelld (Michael Dickens)

What does "port installed and active" return for you?

comment:3 Changed 8 years ago by jainanuj99@…

port installed returns this: apr @1.5.2_1 (active)

apr-util @1.5.4_0 (active) aquaterm @1.1.1_0 (active) arpack @3.3.0_3+accelerate+gfortran (active) atk @2.18.0_0 (active) atlas @3.10.2_2+nofortran (active) autoconf @2.69_5 (active) automake @1.15_1 (active) bison @3.0.4_1 (active) bison-runtime @3.0.4_0 (active) bzip2 @1.0.6_0 (active) cairo @1.14.4_0+quartz+x11 cairo @1.14.6_0+quartz+x11 (active) cctools @877.5_1+llvm37 cctools @877.5_2+llvm37 (active) curl @7.47.1_0+ssl (active) curl-ca-bundle @7.45.0_0 curl-ca-bundle @7.47.1_0 (active) cyrus-sasl2 @2.1.26_5+kerberos (active) cython_select @0.1_0 (active) db46 @4.6.21_10 (active) db48 @4.8.30_4 (active) dbus @1.10.6_0 (active) djvulibre @3.5.27_0 (active) epstool @3.08_8 (active) expat @2.1.0_0 (active) fftw-3 @3.3.4_1 (active) fftw-3-single @3.3.4_1 (active) flex @2.6.0_0 (active) fltk @1.3.3_0 (active) fontconfig @2.11.1_0 (active) freetype @2.6.1_0 freetype @2.6.3_0 (active) g95 @0.93_4 (active) gawk @4.1.3_0 (active) gcc5 @5.3.0_0 (active) gcc_select @0.1_8 (active) gd2 @2.1.1_1+x11 (active) gdbm @1.11_1 (active) gdk-pixbuf2 @2.32.2_0+x11 gdk-pixbuf2 @2.32.3_0+x11 (active) gettext @0.19.6_0 gettext @0.19.7_0 (active) ghostscript @9.16_1+x11 (active) gl2ps @1.3.9_1 (active) glib2 @2.46.2_0 (active) glpk @4.57_0 (active) gmp @6.1.0_0 gmp @6.1.0_1 (active) gnuplot @5.0.3_0+aquaterm+luaterm+pangocairo+wxwidgets+x11 (active) gobject-introspection @1.46.0_0 gobject-introspection @1.46.0_1 (active) gperf @3.0.4_2 (active) GraphicsMagick @1.3.23_1+q8 (active) graphite2 @1.2.4_0 graphite2 @1.3.5_0 (active) grep @2.23_0 (active) gsed @4.2.2_0 (active) gtk2 @2.24.28_1+x11 gtk2 @2.24.29_0+x11 (active) harfbuzz @1.1.0_0 harfbuzz @1.1.3_0 (active) hdf5 @1.8.16_1+cxx+hl (active) hicolor-icon-theme @0.15_0 (active) ilmbase @1.0.2_0 (active) ImageMagick @6.9.3-4_0+x11 (active) isl @0.14.1_0 (active) jasper @1.900.1_10 (active) jbig2dec @0.11_2 (active) jbigkit @2.1_0 (active) jpeg @9a_1 (active) kerberos5 @1.13.2_2 kerberos5 @1.14_0 (active) lcms2 @2.7_0 (active) ld64 @2_0 (active) ld64-latest @253.3_0+llvm37 (active) less @481_0+pcre (active) libcaca @0.99.beta19_5 (active) libcerf @1.4_0 (active) libcomerr @1.42.13_0 (active) libcxx @3.7.0_0 libcxx @3.7.1_0 (active) libedit @20150325-3.1_0 (active) libffi @3.2.1_0 (active) libgcc @5.2.0_0 libgcc @5.3.0_0 (active) libglade2 @2.6.4_8 (active) libiconv @1.14_0 (active) libidn @1.32_0 (active) libmagic @5.25_0 (active) libmng @2.0.3_0 (active) libmpc @1.0.3_0 (active) libnetpbm @10.72.04_0 (active) libpaper @1.1.24_0 (active) libpcap @1.7.4_0 (active) libpixman @0.32.8_0 (active) libpng @1.6.19_0 libpng @1.6.21_0 (active) libtool @2.4.6_2 (active) libxml2 @2.9.2_2 (active) llvm-3.7 @3.7.0_0 llvm-3.7 @3.7.1_1 (active) llvm_select @1.0_0 (active) lua @5.3.1_2 (active) m4 @1.4.17_0 (active) mpfr @3.1.3_0 (active) ncurses @6.0_0 (active) netpbm @10.72.04_0+x11 (active) nmap @7.00_0+zenmap nmap @7.01_0+zenmap (active) nosetests_select @0.1_0 (active) openexr @1.7.0_0 (active) openjpeg @2.1.0_0 (active) openssl @1.0.2d_0 openssl @1.0.2f_0 (active) pango @1.38.1_0+quartz+x11 (active) pcre @8.37_0 pcre @8.38_0 (active) perl5 @5.22.1_1+perl5_22 (active) perl5.22 @5.22.1_1 (active) pkgconfig @0.28_0 (active) plotutils @2.6_5 (active) pstoedit @3.70_3 (active) py27-beaker @1.7.0_0 (active) py27-cairo @1.10.0_3 (active) py27-cython @0.23.4_0 (active) py27-gobject @2.28.6_3 (active) py27-mako @1.0.3_0 (active) py27-markupsafe @0.23_0 (active) py27-nose @1.3.7_0 (active) py27-numpy @1.10.1_1+gfortran py27-numpy @1.10.4_0+gfortran (active) py27-pygtk @2.24.0_3+x11 (active) py27-setuptools @18.5_0 py27-setuptools @19.2_0 (active) python2_select @0.0_1 (active) python27 @2.7.10_3 python27 @2.7.11_1 (active) python_select @0.3_6 (active) qhull @2012.1_3 (active) qrupdate @1.1.2_4+accelerate+gcc5 (active) qscintilla @2.9.1_0 (active) qt4-mac @4.8.7_3 (active) readline @6.3.003_1 (active) serf1 @1.3.4_0 (active) shared-mime-info @1.5_0 (active) sqlite3 @3.8.11.1_0 sqlite3 @3.10.2_0 (active) subversion @1.9.2_0 subversion @1.9.3_0 (active) SuiteSparse @4.2.1_4+accelerate (active) texinfo @6.1_0 (active) tiff @4.0.6_0 tiff @4.0.6_1 (active) transfig @3.2.5d_5 (active) urw-fonts @1.0.7pre44_0 (active) vecLibFort @0.4.2_0 (active) webp @0.5.0_0 (active) wxWidgets-3.0 @3.0.2_3 (active) wxWidgets_select @1.0_0 (active) Xft2 @2.3.2_0 (active) xorg-compositeproto @0.4.2_0 (active) xorg-damageproto @1.2.1_0 (active) xorg-fixesproto @5.0_0 (active) xorg-inputproto @2.3.1_0 (active) xorg-kbproto @1.0.7_0 (active) xorg-libice @1.0.9_0 (active) xorg-libpthread-stubs @0.3_0 (active) xorg-libsm @1.2.1_0 (active) xorg-libX11 @1.6.3_0 (active) xorg-libXau @1.0.8_0 (active) xorg-libxcb @1.11.1_0+python27 (active) xorg-libXcomposite @0.4.4_0 (active) xorg-libXcursor @1.1.14_0 (active) xorg-libXdamage @1.1.4_0 (active) xorg-libXdmcp @1.1.2_0 (active) xorg-libXext @1.3.3_0 (active) xorg-libXfixes @5.0.1_0 (active) xorg-libXi @1.7.5_0 xorg-libXi @1.7.6_0 (active) xorg-libXinerama @1.1.3_0 (active) xorg-libXrandr @1.5.0_0 (active) xorg-libXt @1.1.5_1 (active) xorg-randrproto @1.5.0_0 (active) xorg-renderproto @0.11.1_0 (active) xorg-xcb-proto @1.11_1+python27 (active) xorg-xcb-util @0.4.0_0 (active) xorg-xextproto @7.3.0_0 (active) xorg-xineramaproto @1.2.1_0 (active) xorg-xproto @7.0.28_0 (active) xpm @3.5.11_0 (active) xrender @0.9.9_0 (active) xz @5.2.2_0 (active) zlib @1.2.8_0 (active)

Changed 8 years ago by jainanuj99@…

Attachment: portinstalled.txt added

port installed on my machine after the error mentioned.

comment:4 Changed 8 years ago by jainanuj99@…

The text may be hard to read so also attaching a text file...

comment:5 Changed 8 years ago by michaelld (Michael Dickens)

OK; thanks. Is there some specific reason you want to use +nofortran? You have "arpack +gfortran", which indicates that some Fortran is already installed (it is; pick either g95 or gcc5).

I'm guessing that "atlas +nofortran" is causing the issue (per ticket #50551). Can you do the following & see what comes of it:

sudo port clean octave
sudo port install atlas
sudo port install octave

Yes, I know that atlas takes a long time to build ... just do it overnight or when you won't need the computer for 8 hours.

If you're into Portfile development, try out the patch from that ticket.

Last edited 8 years ago by michaelld (Michael Dickens) (previous) (diff)

comment:6 Changed 8 years ago by jainanuj99@…

I don't remember, I think, I was getting an error with fortran that is why I did +nofortran after reading online. To make sure this will work with the commands you suggested, should I check something in advance for fortran or c compiler ?

comment:7 Changed 8 years ago by michaelld (Michael Dickens)

I would recommend doing "sudo port install atlas +gcc5" to make sure you get a Fortran build. But, according to "port info atlas", so long as you don't add on "+nofortran" the resulting atlas should provide the needed libraries for Octave. You already have gcc5 installed, so mostly you'll just be waiting for atlas to build. HTH!

comment:8 in reply to:  7 Changed 8 years ago by hibr-list@…

Yes, atlas failed with clang, arpack might be buggy with accelerate, so the following did the job at my site (MacPorts 2.3.4, Mac OS X 10.11.3 (El-Capitan):

If Installation failed:

sudo port clean atlas
sudo port clean octave

Then:

sudo port install atlas +gcc5
sudo port install arpack -accelerate+atlas
sudo port install octave +gtgui+gui+java

For the +java variant I have Java JRE itself installed from Oracle on my Mac.

And yes the atlas build lasts for hours but I works with the gcc5 variant.

You find a App-Bundle "Octave" in Launchpad.

Hani

PS: If you need "metis" you can do "sudo port install octave +gtgui+gui+java+metis". Worked for me.

Last edited 8 years ago by hibr-list@… (previous) (diff)

comment:9 Changed 8 years ago by michaelld (Michael Dickens)

Owner: michaelld@… deleted

comment:10 Changed 8 years ago by michaelld (Michael Dickens)

Owner: set to macports-tickets@…

comment:11 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: changed from macports-tickets@… to mcalhoun@…
Status: newassigned

Octave has undergone significant changes recently (r148698).
Any chance this issue has been resolved?

comment:12 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

With no further updates, let us assume this is now fixed.
If not, we can open a ticket specifically for octave 4.

Note: See TracTickets for help on using tickets.