octave-control configure fail

Marius Schamschula lists at schamschula.com
Sat Jul 4 06:18:19 PDT 2015


Alan,

On Jul 4, 2015, at 8:06 AM, Alan Rakes <aarakes at bellsouth.net> wrote:

> During a routine sudo port upgrade outdated, I started getting a configure error on upgrading octave-control.  I performed a sudo port clean octave-control and tried again which often works, but this time, alas no.
> 
> Here is the message when it failed.
> 
> Error: org.macports.configure for port octave-control returned: configure failure: command execution failed
> Please see the log file for port octave-control for details:
>     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-control/octave-control/main.log
> Error: Unable to upgrade port: 1
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> 
> 
> Here is the part of the log where the configure appears to have failed.
> 
> :info:configure LFLAGS="-L/opt/local/lib/octave/3.8.2 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4 -L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4/../../.. -lgfortran -lquadmath -lm -llapack -lcblas -lf77blas -latlas -L/opt/local/lib -L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4 -L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4/../../.. -lgfortran -lquadmath -lm" \
> :info:configure     /opt/local/bin/mkoctfile-3.8.2 __control_slicot_functions__.cc common.cc slicotlibrary.a
> :info:configure ld: warning: directory not found for option '-L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4'
> :info:configure ld: warning: directory not found for option '-L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4/../../..'
> :info:configure ld: warning: directory not found for option '-L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4'
> :info:configure ld: warning: directory not found for option '-L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin14/4.8.4/../../..'
> :info:configure ld: library not found for -lgfortran
> :info:configure clang: error: linker command failed with exit code 1 (use -v to see invocation)
> :info:configure make: *** [__control_slicot_functions__.oct] Error 1
> :info:configure 
> :info:configure pkg: error running `make' for the control package.
> :info:configure error: called from 'configure_make' in file /opt/local/share/octave/3.8.2/m/pkg/private/configure_make.m near line 82, column 9
> :info:configure error: called from:
> :info:configure error:   /opt/local/share/octave/3.8.2/m/pkg/private/install.m at line 199, column 5
> :info:configure error:   /opt/local/share/octave/3.8.2/m/pkg/private/build.m at line 50, column 3
> :info:configure error:   /opt/local/share/octave/3.8.2/m/pkg/pkg.m at line 516, column 7
> :info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-control/octave-control/work/control" && /opt/local/bin/octave -q -f --eval 'pkg build -verbose -nodeps /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-control/octave-control/work/control /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-control/octave-control/work/.tmp/control.tar.gz' 
> :info:configure Exit code: 1
> :error:configure org.macports.configure for port octave-control returned: configure failure: command execution failed
> :debug:configure Error code: NONE
> :debug:configure Backtrace: configure failure: command execution failed
>     while executing
> "portconfigure::configure_main org.macports.configure"
>     ("eval" body line 1)
>     invoked from within
> "eval $procedure $targetname"
> :info:configure Warning: targets not executed for octave-control: org.macports.install org.macports.configure org.macports.build org.macports.destroot
> :notice:configure Please see the log file for port octave-control for details:
>     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-control/octave-control/main.log
> 
> 
> Suggestions.  Thanks.
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users


Have you recently upgraded OS X on your computer, or uninstalled gcc48? mkoctfile is looking for Fortran, and not finding it, as gcc48 is not properly installed.

BTW: octave is currently built against gcc49. 

Marius
--
Marius Schamschula




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150704/b6e2dc61/attachment.html>


More information about the macports-users mailing list