octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #48366] Failed to compile the "control" packag


From: Andrea Vicere'
Subject: [Octave-bug-tracker] [bug #48366] Failed to compile the "control" package
Date: Fri, 1 Jul 2016 14:49:46 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?48366>

                 Summary: Failed to compile the "control" package
                 Project: GNU Octave
            Submitted by: vicere
            Submitted on: Fri 01 Jul 2016 02:49:43 PM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.2
        Operating System: Mac OS

    _______________________________________________________

Details:

I am trying to build the "control" package in octave 4.02.
My computer is a MacBook Pro running MacOS X 10.11.5, and octave had been
installed using MacPorts.

I download the package directly from forge with the command
>> pkg install -forge control
clang: warning: argument unused during compilation: '-pthread'
clang: warning: argument unused during compilation: '-pthread'
ld: warning: directory not found for option
'-L/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.3.0'
ld: warning: directory not found for option
'-L/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.3.0/../../..'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [__control_slicot_functions__.oct] Error 1
tar -xzf slicot.tar.gz
/opt/local/bin/mkoctfile-4.0.2 __control_helper_functions__.cc
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cd sltmp; /opt/local/bin/mkoctfile-4.0.2 -c *.f
ar -rc slicotlibrary.a ./sltmp/*.o
rm -rf sltmp slicot
LFLAGS="-L/opt/local/lib/octave/4.0.2 -L/opt/local/lib  -lvecLibFort
-L/opt/local/lib -L/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.3.0
-L/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.3.0/../../.. -lgfortran
-lquadmath -lm" \
    /opt/local/bin/mkoctfile-4.0.2 __control_slicot_functions__.cc common.cc
slicotlibrary.a

pkg: error running `make' for the control package.
error: called from 'configure_make' in file
/opt/local/share/octave/4.0.2/m/pkg/private/configure_make.m near line 96,
column 9

When checking the libraries installed in my system, I find the directory
/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.4.0, not 5.3.0
but I do not understand why the configuration looks for an older version




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48366>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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