I tried to compile this package but got this:
#!/bin/sh -ev
export CFLAGS='-O3'
export CXXFLAGS='-O3'
export FFLAGS='-O3'
if [ "" == "" ]
then
a='--with-lapack=-Wl,-framework,Accelerate,-dylib_file,/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
--with-blas=-Wl,-framework,Accelerate,-dylib_file,/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib'
else a='--with-lapack=/sw/lib/liblapack.dylib
--with-blas=/sw/lib/libf77blas.dylib'
fi
FLIBDIR="/sw/lib/gcc4.6/lib"
./configure FLIBS="${FLIBDIR}/libgfortran.dylib" --prefix=/sw
F77=/sw/bin/gfortran --host=i386-apple-darwin --build=i386-apple-darwin \
--infodir='${prefix}/share/info' --mandir='${prefix}/share/man'
--libexecdir='${prefix}/lib' \
--enable-shared --enable-dl --disable-static --without-mpi --with-hdf5
--with-fftw $a
checking build system type... i386-apple-darwin
checking host system type... i386-apple-darwin
checking for i386-apple-darwin-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for library containing strerror... none required
defining man1dir to be $(mandir)/man1
defining man1ext to be .1
defining infofile to be $(infodir)/octave.info
defining octincludedir to be $(includedir)/octave-$(version)
defining fcnfiledir to be $(datadir)/octave/$(version)/m
defining localfcnfiledir to be $(datadir)/octave/site/m
defining localapifcnfiledir to be $(datadir)/octave/site/$(api_version)/m
defining localverfcnfiledir to be $(datadir)/octave/$(version)/site/m
defining octlibdir to be $(libdir)/octave-$(version)
defining archlibdir to be
$(libexecdir)/octave/$(version)/exec/$(canonical_host_type)
defining localarchlibdir to be
$(libexecdir)/octave/site/exec/$(canonical_host_type)
defining localapiarchlibdir to be
$(libexecdir)/octave/$(api_version)/site/exec/$(canonical_host_type)
defining localverarchlibdir to be
$(libexecdir)/octave/$(version)/site/exec/$(canonical_host_type)
defining octfiledir to be
$(libexecdir)/octave/$(version)/oct/$(canonical_host_type)
defining localoctfiledir to be
$(libexecdir)/octave/site/oct/$(canonical_host_type)
defining localapioctfiledir to be
$(libexecdir)/octave/site/oct/$(api_version)/$(canonical_host_type)
defining localveroctfiledir to be
$(libexecdir)/octave/$(version)/site/oct/$(canonical_host_type)
defining imagedir to be $(datadir)/octave/$(version)/imagelib
configure: defining __NO_MATH_INLINES avoids buggy GNU libc exp function
checking for i386-apple-darwin-g++... no
checking for i386-apple-darwin-c++... no
checking for i386-apple-darwin-gpp... no
checking for i386-apple-darwin-aCC... no
checking for i386-apple-darwin-CC... no
checking for i386-apple-darwin-cxx... no
checking for i386-apple-darwin-cc++... no
checking for i386-apple-darwin-cl.exe... no
checking for i386-apple-darwin-FCC... no
checking for i386-apple-darwin-KCC... no
checking for i386-apple-darwin-RCC... no
checking for i386-apple-darwin-xlC_r... no
checking for i386-apple-darwin-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for C++ support for new friend template declaration... yes
checking if C++ library is ISO compliant... yes
checking for broken C++ reinterpret_cast... no
checking for i386-apple-darwin-nm... no
checking C++ ABI version used by g++... ./configure: line 6216: conftest.o:
command not found
./configure: line 6219: conftest.o: command not found
./configure: line 6222: conftest.o: command not found
unknown
checking for i386-apple-darwin-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking whether gcc accepts -mieee-fp... yes
configure: adding -mieee-fp to XTRA_CFLAGS
checking whether g++ accepts -mieee-fp... yes
configure: adding -mieee-fp to XTRA_CXXFLAGS
checking whether g++ prepends an underscore to external names... ./configure:
line 7988: conftest.o: command not found
yes
checking for sin in -lm... yes
checking qhull/qhull_a.h usability... yes
checking qhull/qhull_a.h presence... yes
checking for qhull/qhull_a.h... yes
checking for qh_qhull in -lqhull... yes
checking for pcre-config... yes
checking whether pcre.h defines the macros we need... yes
checking for regexec... yes
checking for gzclearerr in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for H5Pcreate in -lhdf5... yes
checking hdf5.h usability... yes
checking hdf5.h presence... yes
checking for hdf5.h... yes
checking for H5Gget_num_objs in -lhdf5... yes
checking fftw3.h usability... yes
checking fftw3.h presence... yes
checking for fftw3.h... yes
checking for fftw_plan_dft_1d in -lfftw3... yes
checking glpk/glpk.h usability... no
checking glpk/glpk.h presence... no
checking for glpk/glpk.h... no
checking glpk.h usability... yes
checking glpk.h presence... yes
checking for glpk.h... yes
checking for glp_lpx_simplex in -lglpk... no
checking for _glp_lpx_simplex in -lglpk... yes
checking for curl_easy_escape in -lcurl... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for IEEE 754 data format... yes
checking for i386-apple-darwin-ranlib... no
checking for ranlib... ranlib
checking for i386-apple-darwin-g77... /sw/bin/gfortran
checking whether we are using the GNU Fortran 77 compiler... no
checking whether /sw/bin/gfortran accepts -g... no
checking how to get verbose linking output from /sw/bin/gfortran... configure:
WARNING: compilation failed
checking for Fortran 77 libraries of /sw/bin/gfortran...
/sw/lib/gcc4.6/lib/libgfortran.dylib
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... configure: error: cannot
compile a simple Fortran program
See `config.log' for more details.
### execution of /var/tmp/tmp.2.zufiob failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-octave-3.0.5-7
(Reading database ... 400658 files and directories currently installed.)
Removing fink-buildlock-octave-3.0.5-7 ...
Reading buildlock packages...
All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i
/sw/fink/dists/unstable/main/binary-darwin-i386/languages/fort77_1.18-19_darwin-i386.deb
Selecting previously deselected package fort77.
(Reading database ... 400657 files and directories currently installed.)
Unpacking fort77 (from .../fort77_1.18-19_darwin-i386.deb) ...
Setting up fort77 (1.18-19) ...
Failed: phase compiling: octave-3.0.5-7 failed
Before reporting any errors, please run "fink selfupdate" and try again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem. If not, ask on one of these mailing lists:
The Fink Users List <[email protected]>
The Fink Beginners List <[email protected]>,
with a carbon copy to the maintainer:
Alexander Hansen <[email protected]>
Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.
Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.31.0
Distribution version: selfupdate-cvs Sat Aug 20 06:34:43 2011, 10.6, i386
Trees: local/main stable/main unstable unstable/crypto unstable/main
Xcode Version: 3.2.6-1
Any ideas?
Richard Miles
[email protected]
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users