JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for CCPEM Archives


CCPEM Archives

CCPEM Archives


CCPEM@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

CCPEM Home

CCPEM Home

CCPEM  July 2014

CCPEM July 2014

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: relion-1.2 on MacOS10.8: installation trouble

From:

Yana Gofman <[log in to unmask]>

Reply-To:

Yana Gofman <[log in to unmask]>

Date:

Tue, 15 Jul 2014 23:26:40 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (83 lines)

Hello,

Following this last year thread (below):

I installed relion1.3 on my mac, and did all the steps suggested below to fix possible problems. There are no errors when installing, just a few warnings. Yet, when I am running relion1.3 tutorial, even just for generating a star file, I got this error:

relion_manualpick(62063,0x7fff7d7a5180) malloc: *** error for object 0x110461820: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Any idea how to fix this?

Thanks,
Yana

**********************************************************************************************


Hello.

So I seem to have resolved the trouble I was having.  The problem, besides the ones that Sjors mentioned, and as far as I could tell, lay in the gcc compiler I was using.  After switching the Makefiles to use clang instead of gcc, everything seemed to work.  For those of you who do not have a fresh install of Mountain Lion, but have upgraded from an older OS, you may still have gcc set as your default, even though Xcode has stopped shipping recent versions of gcc after their switch to GPL3.

Summary:

- "Just uncomment the "#define MAC_OSX" statement on line 3895." you'll find this in the file: src/ml_optimiser.cpp
- "replace line 122 in external/fltk-1.3.0/src/filename_list.cxx by:    int n = scandir(dirloc, list, 0, (int(*)(const dirent **, const dirent **))sort);
- after running configure for each component, alter the Makefile or makeinclude so that it uses CC=clang and CXX=clang++   You can use the INSTALL.sh script to guide you.

hope it helps.

mike

On Jul 9, 2013, at 3:55 PM, Sjors Scheres <[log in to unmask]> wrote:

> 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

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

May 2024
April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager