Hi again,
Had a bit closer look into the fltk issue on new Macs. Apparently, this is
a known bug in the fltk-version which ships with relion
(http://article.gmane.org/gmane.comp.lib.fltk.bugs/10755/match=filename_list+cxx+122).
The solution appears to be to replace line 122 in
external/fltk-1.3.0/src/filename_cxx.cpp
by
int n = scandir(dirloc, list, 0, (int(*)(const dirent **, const dirent
**))sort);
Then everyhting compiles just fine (on my mountain lion at least). For
relion-1.3 (next year or so) I will include a more modern version of fltk.
Best,
Sjors
> Hello,
>
> I have so far been unable to install relion1.2 on my mac system. FFTW
> compilation fails with messages like:
>
> configure: WARNING: unknown Fortran name-mangling scheme
> /usr/bin/ranlib: file: .libs/libfftw3.a(debug.o) has no symbols
>
> FLTK fails with errors such as:
>
> configure: WARNING: sys/select.h: accepted by the compiler, rejected by
> the preprocessor!
> g++: error: language objective-c++ not recognized
>
> I have set the system variable MAC_OSX=true as suggested on the wiki, but
> can't seem to get any farther in the process. Does anyone have relion
> working on macos? If so, could you let me know what you did to make it
> work? I have tried gcc 4.2 and gcc 4.7.1, using both gfortran and g77
> (3.4)
>
> I would appreciate any help you could lend.
> mike
>
--
Sjors Scheres
MRC Laboratory of Molecular Biology
Francis Crick Avenue, Cambridge Biomedical Campus
Cambridge CB2 0QH, U.K.
tel: +44 (0)1223 267061
http://www2.mrc-lmb.cam.ac.uk/groups/scheres
|