[MacPorts] #13686: octave-2.9.15 doesn't compile on Leopard

MacPorts trac at macosforge.org
Sat Mar 8 22:06:39 PST 2008


#13686: octave-2.9.15 doesn't compile on Leopard
--------------------------------------+-------------------------------------
  Reporter:  charles.smart at gmail.com  |       Owner:  stechert at macports.org
      Type:  defect                   |      Status:  assigned             
  Priority:  Normal                   |   Milestone:  Port Bugs            
 Component:  ports                    |     Version:  1.6.0                
Resolution:                           |    Keywords:  octave, leopard      
--------------------------------------+-------------------------------------
Comment (by waterson at maubi.net):

 On Leopard, I was able to build octave-3.0.0 (that starts!) with '''gcc43
 +gfortran''' and one very minor configuration tweak (making sure to
 include `-lmetis` in `CHOLMOD_LIBS`).  My ports-fu is too weak to attempt
 updating the portfile, but here is the configuration I used (which is
 materially identical to the one in the current portfile):

 {{{
 CXXFLAGS='-O2' \
 CFLAGS='-O2' \
 CPPFLAGS='-I/opt/local/include' \
 CPP='/opt/local/bin/cpp-mp-4.3' \
 CXX='/opt/local/bin/g++-mp-4.3' \
 F90FLAGS='-O2' \
 SED='/opt/local/bin/gsed' \
 LDFLAGS='-L/opt/local/lib' \
 FCFLAGS='-O2' \
 OBJC='/opt/local/bin/gcc-mp-4.3' \
 INSTALL='/usr/bin/install' \
 F90='/opt/local/bin/gfortran-mp-4.3' \
 FC='/opt/local/bin/gfortran-mp-4.3' \
 FFLAGS='-O2' \
 OBJCFLAGS='-O2' \
 AWK='/opt/local/bin/gawk' \
 F77='/opt/local/bin/gfortran-mp-4.3' \
 CC='/opt/local/bin/gcc-mp-4.3' \
 ./configure --prefix=${HOME}/octave-3.0.0 --enable-shared --enable-dl \
 --disable-static --with-hdf5 --with-fftw --without-mpi \
 --with-blas="-framework Accelerate"
 }}}

 Hope this helps...

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13686#comment:6>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list