[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling 3.8.0 on OSX
From: |
John Hayes |
Subject: |
Re: compiling 3.8.0 on OSX |
Date: |
Thu, 2 Jan 2014 14:21:58 +0100 |
Hi Stuart,
I’m on OS X 10.6.8 as well and trying to compile 3.8.0 (ideally with the GUI).
I’ve run into a number of problems but had gotten through a lot of the Octave
compilation up to the point where the code was trying to link to some fortran
library functions that were missing. FYI, here’s a bit of the stack trace:
> libtool: link: g++ -dynamiclib -o .libs/liboctave.2.dylib
> -Wl,-force_load,array/.libs/libarray.a -Wl,-force_load,cruft/.libs/libcruft.a
> -Wl,-force_load,cruft/ranlib/.libs/libranlib.a
> -Wl,-force_load,numeric/.libs/libnumeric.a
> -Wl,-force_load,operators/.libs/liboperators.a
> -Wl,-force_load,system/.libs/libsystem.a -Wl,-force_load,util/.libs/libutil.a
> -Wl,-force_load,../libgnu/.libs/libgnu.a -framework JavaVM -lcurl
> /usr/local/lib/libfftw3.a -framework vecLib -lncurses -L/usr/local/lib
> /usr/local/lib/libpcre.dylib -ldl
> -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin10/4.6.2
> -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin10/4.6.2/../../..
> /usr/local/lib/libgfortran.dylib
> /usr/local/gfortran/lib/gcc/x86_64-apple-darwin10/4.6.2/libquadmath.dylib -lm
> -O2 -pthread -pthread -framework JavaVM -framework vecLib -install_name
> /usr/local/lib/octave/3.8.0/liboctave.2.dylib -compatibility_version 3
> -current_version 3.0 -Wl,-single_moduleUndefined symbols:
> "__gfortran_transfer_real_write", referenced from:
> _ddassl_ in libcruft.a(libcruft_la-ddassl.o)
> _ddassl_ in libcruft.a(libcruft_la-ddassl.o)
> ...
I was using this gfortran: gcc version 4.6.2 20111019 (prerelease) (GCC). That
version is not consistent with my gcc though: gcc version 4.2.1 (Apple Inc.
build 5646). So, I’ve decided to update my GCC and gfortran together to
hopefully solve these incompatibilities. I’m trying GCC 4.8.2, and it’s been
building about an hour.
I’ll let you know if it works -- fingers crossed.
Best regards,
John
Le 2 janv. 2014 à 14:07, Stuart Edwards a écrit :
>
> Hi -
>
> I'm trying to compile the new 3.8.0 on OS X 10.6.8. During configure the
> process terminates with the error:
>
> checking whether g77 generates correct size integers... no
> configure: error: your Fortran compiler must have an option to make integers
> the same size as octave_idx_type (int). See the file INSTALL for more
> information.
>
> I get the same error using gfortran in place of g77.
>
> I don't see anything in the INSTALL file relating to this - the README does
> inform that a Fortran 77 compiler is needed - but nothing further.
>
> Is there a different fortran compiler that I should be using?
>
> Any assistance appreciated.
>
> Best
>
> Stu
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
- Availability of GNU Octave 3.8 on Windows, José Romildo Malaquias, 2014/01/02
- Re: Availability of GNU Octave 3.8 on Windows, Markus Bergholz, 2014/01/02
- Re: Availability of GNU Octave 3.8 on Windows, Markus Bergholz, 2014/01/02
- Re: Availability of GNU Octave 3.8 on Windows, rf, 2014/01/13
- Re: Availability of GNU Octave 3.8 on Windows, Markus Bergholz, 2014/01/13
- Re: Availability of GNU Octave 3.8 on Windows, Russ Fretenburg, 2014/01/13
- Re: Availability of GNU Octave 3.8 on Windows, Markus Bergholz, 2014/01/13
- Re: Availability of GNU Octave 3.8 on Windows, Philip Nienhuis, 2014/01/13
- Re: Availability of GNU Octave 3.8 on Windows, Russ Fretenburg, 2014/01/13
- Re: Availability of GNU Octave 3.8 on Windows, KME, 2014/01/17