help-octave
[Top][All Lists]
Advanced

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

Re: compiling the bleeding-edge on OS X


From: Ben Abbott
Subject: Re: compiling the bleeding-edge on OS X
Date: Thu, 11 Oct 2007 08:45:34 -0700

On Thursday, October 11, 2007, at 10:34AM, "John Swensen" <address@hidden> 
wrote:
>Ben Abbott wrote:
>> I'm having trouble compiling my cvs copy on Mac OS X with a Fink  
>> installation. Octave compiled via Fink works fine, btw. The result is  
>> below,
>>
>> ./autogen
>> ./configure
>>
>> <snip>
>>
>> checking for erfc... yes
>> checking for exp2... yes
>> checking for log2... yes
>> checking for struct stat.st_blksize... yes
>> checking for struct stat.st_blocks... yes
>> checking for struct stat.st_rdev... yes
>> checking whether struct tm is in sys/time.h or time.h... time.h
>> checking for struct tm.tm_zone... yes
>> checking whether closedir returns void... no
>> checking for struct group.gr_passwd... no
>> checking if mkdir takes one argument... no
>> checking for tputs in -lncurses... yes
>> 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
>>
>> However, I do have readline installed via Fink
>>
>> bens-macbook:~/src/octave bpabbott$ fink list readline
>> Information about 6553 packages read in 1 seconds.
>>       readline             4.3-1028        Comfortable terminal input  
>> library
>>       readline-java        0.8.0-1024      Readline support for Java
>>   i   readline-shlibs      4.3-1028        Comfortable terminal input  
>> library
>>   i   readline5            5.0-1005        Comfortable terminal input  
>> library
>>   i   readline5-shlibs     5.0-1005        Comfortable terminal input  
>> library
>>       term-readline-gn...  1.15-1004       Perl extension for the GNU  
>> Readline
>>       term-readline-pm     1.0203-12       Minimal interface to Readline
>>   p   term-readline-pm586                  [virtual package]
>>       term-readline-pm588                  [virtual package]
>>
>> Any thoughts on what needs to be done to compile the code from the  
>> cvs on Mac OS X using Fink to handle the dependencies would be  
>> appreciated.
>>
>> TIA
>>
>> _______________________________________________
>> Help-octave mailing list
>> address@hidden
>> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>>
>>   
>Here is the configure line I use to compile Octave from CVS on my Intel
>Mac with the fink tools.
>
>./configure CC=gcc-4 CXX=g++-4 F77=gfortran CPPFLAGS=-I/sw/include
>LDFLAGS=-L/sw/lib --prefix=/sw/opt/octave/cvs_2.9_20071007
>
>This does not include any of the sparse stuff.
>
>John Swensen
>

Thanks John, 

I'll give that a try when I get back to my Intel MacBook.

Another question, does the prefix point to the location of the sources or to 
the location the executable is to be installed?

Ben


reply via email to

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