[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave 2.1.40 on Mac OS X.2.2
From: |
Per Persson |
Subject: |
Re: Octave 2.1.40 on Mac OS X.2.2 |
Date: |
Mon, 25 Nov 2002 08:51:04 +0100 |
Thomas (and others),
try
setenv FLIBS '-L/sw/lib/ -lg2c'
before running configure.
/Per
On måndag, nov 25, 2002, at 00:07 Europe/Stockholm, Thomas W. Finley
wrote:
Hey there! I'm having troubles running the configure script for this
new
2.1.40 version, and would appreciate any suggestions! I'm using Mac OS
10.2.2.
Install OCTAVE on Mac OS X 10.2.x
=================================
1) Get octave-2.1.40.tar.gz from http://www.octave.org/download.html
2) Unpack it and run './configure' _without_ arguments unless you
know
exactly what you are doing
That's where I run into trouble. Others have had this error (or one
similar
to it) over time, so this will look familiar:
=-=-=-=-=-=
checking for Fortran 77 libraries... -lcrt1.o -lcrtbegin.o
-L/sw/lib/gcc-lib/powerpc-apple-darwin6.1/3.1
-L/sw/lib/gcc-lib/powerpc-apple-darwin6.1/3.1/../../.. -lm -lfrtbegin
-lg2c
-lSystem
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: linking to Fortran libraries from C fails
=-=-=-=-=-=
I'd guess C's ability to use Fortran libraries is slightly important.
:)
I've read earlier messages from this list on this subject from
September,
and I see that the suggestion of setting flibs as "-L/sw/lib/ -lg2c"
was put
forth, but those seem to be there already from the output.
Yes, but unfortunately so are some that shouldn't....
Nevertheless I
also tried --with-FLIBS="-L/sw/lib/ -lg2c" and --with-flibs="-L/sw/lib/
-lg2c"... It always insists on checking for the libraries itself,
which I
find puzzling. Anyway, neither worked. :(
In case it helps, here's how g77 describes itself through "g77 -v".
=-=-=-=-=-=
Reading specs from /sw/lib/gcc-lib/powerpc-apple-darwin6.1/3.1/specs
Configured with: ../gcc3/configure --prefix=/sw --enable-languages=f77
--infodir=${prefix}/share/info
Thread model: single
Apple Computer, Inc. GCC version 1151, based on gcc version 3.1
20020420
(prerelease)
=-=-=-=-=-=
My method for installing fink was just "fink install g77"; I've done
work
with it otherwise, and it seems to work just fine.
TIA to anyone for any assistance!
--
Thomas Finley, address@hidden
http://www.duke.edu/~twf/
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------