octave-maintainers
[Top][All Lists]
Advanced

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

attempt to build on Mac OS 10.6 (Snow Leopard)


From: Ben Abbott
Subject: attempt to build on Mac OS 10.6 (Snow Leopard)
Date: Sun, 30 Aug 2009 17:03:07 -0400

When I attempt to build 3.2.x or the developers sources on Mac OS 10.6 I encounter the following configure failure.

checking for tputs in -lncurses... no
checking for tputs in -lcurses... no
checking for tputs in -ltermcap... no
checking for tputs in -lterminfo... no
checking for tputs in -ltermlib... no
configure: WARNING: I couldn't find -ltermcap, -lterminfo, - lncurses, -lcurses, or -ltermlib!
checking for rl_set_keyboard_input_timeout in -lreadline... no
configure: WARNING: I need GNU Readline 4.2 or later
configure: error: this is fatal unless you specify --disable-readline

find /sw/lib -name libncurses\.\*
/sw/lib/libncurses.5.dylib
/sw/lib/libncurses.dylib
/sw/lib/libncurses.dylib.5
/sw/lib/ncurses/libncurses.5.dylib
/sw/lib/ncurses/libncurses.a
/sw/lib/ncurses/libncurses.dylib
find /sw/lib -name libreadline\.\*
/sw/lib/libreadline.4.2.dylib
/sw/lib/libreadline.4.3.dylib
/sw/lib/libreadline.4.dylib
/sw/lib/libreadline.5.0.dylib
/sw/lib/libreadline.5.dylib
/sw/lib/libreadline.a
/sw/lib/libreadline.dylib

When I configure 3.0.5 on Mac OS 10.6, I don't see this problem

checking for tputs in -lncurses... yes
checking for rl_set_keyboard_input_timeout in -lreadline... yes

The script I used to configure includes the part below, which is derived from Octave package from Fink.

a='--with-lapack=/sw/lib/liblapack.dylib --with-blas=/sw/lib/ libf77blas.dylib'
prefix=/sw
FLIBDIR="/sw/lib/gcc4.4/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 CPPFLAGS="-g -I/sw/ include -I/sw/include/freetype2" FFLAGS="-g" LDFLAGS="-L/sw/lib/fltk- aqua/lib -L/sw/lib -lGraphicsMagick -lfltk_gl -lfltk -lpthread" $a


I'm at a loss to determine what I need to do. Anyone have some insight here?

Thanks
Ben


reply via email to

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