[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave with FLTK backend on Mac OS X?
From: |
Matthias Brennwald |
Subject: |
Re: Octave with FLTK backend on Mac OS X? |
Date: |
Fri, 12 Feb 2010 21:50:06 +0100 |
On Feb 12, 2010, at 1:58 PM, Ben Abbott wrote:
>
> On Feb 12, 2010, at 4:13 AM, Carlo de Falco wrote:
>
>>
>> On 12 Feb 2010, at 09:12, Matthias Brennwald wrote:
>>
>>> Ok, I installed these using MacPorts. However, running ./configure
>>> results in an error that GNU readline was not found. However, I have
>>> installed readline from MacPorts, which is the GNU version as far as I
>>> can tell. Any hints?
>>
>> This could be due to a conflict with the apple-shipped version of readline
>> which is installed /usr/lib,
>> you must make shure you are actually linking to the macports readline...
>> One quick way to do this is to temporarily rename /usr/lib/libreadline.dylib
>> so that it is no seen by configure.
>>
>>> Matthias
>> c.
>
> What I did was to place my Fink libs ahead of the standard ones in LDFLAGS ...
>
> export PREFIX="/sw"
> export LDFLAGS="-L$PREFIX/lib -L/usr/lib -m32"
I changed both lines as follows:
export PREFIX="/opt/local"
export LDFLAGS="-L$PREFIX/lib -L/usr/lib"
With this, ./configure completed without complaints. Then I ran make, which
gave the following error:
.
.
.
gfortran -c -fPIC -O -mieee-fp i1mach.f -o pic/i1mach.o
gcc -c -I/opt/local/include -fPIC -I. -I../.. -I../../liboctave -I../../src
-I../../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wformat -g
-O2 -D_THREAD_SAFE f77-fcn.c -o pic/f77-fcn.o
In file included from f77-fcn.c:31:
f77-fcn.h:224: error: ‘F77_FUNC’ declared as function returning a function
f77-fcn.h:224: warning: parameter names (without types) in function declaration
f77-fcn.c:50: error: ‘F77_FUNC’ declared as function returning a function
f77-fcn.c: In function ‘F77_FUNC’:
f77-fcn.c:50: warning: type of ‘xstopx’ defaults to ‘int’
f77-fcn.c:50: warning: type of ‘XSTOPX’ defaults to ‘int’
f77-fcn.c:59: error: ‘s’ undeclared (first use in this function)
f77-fcn.c:59: error: (Each undeclared identifier is reported only once
f77-fcn.c:59: error: for each function it appears in.)
f77-fcn.c:59: error: ‘slen’ undeclared (first use in this function)
f77-fcn.c:64: warning: function declared ‘noreturn’ has a ‘return’ statement
f77-fcn.c:50: warning: unused parameter ‘xstopx’
f77-fcn.c:50: warning: unused parameter ‘XSTOPX’
make[3]: *** [pic/f77-fcn.o] Error 1
make[2]: *** [misc] Error 2
make[1]: *** [libcruft] Error 2
make: *** [all] Error 2
I do not understand at all, what this is about. Any hints?
Matthias
Re: Octave with FLTK backend on Mac OS X?, Liam Groener, 2010/02/09
Re: Octave with FLTK backend on Mac OS X?, Ben Abbott, 2010/02/12