[Dune] question for installing DUNE on mac

Tobias Malkmus tomalk at mathematik.uni-freiburg.de
Mon Apr 7 13:28:37 CEST 2014


Hi all

One note about the 'old' fem release 1.3.
This release is incompatible with the actual core release 2.3.

A new release (1.4) is in preparation and well be released in the next 
days/weeks.

Ping, you will have to use the old core versions or have to wait until 
the release is finished.

Best Tobias


On 04/07/2014 01:21 PM, Oliver Sander wrote:
> I think that is a dune-fem problem.  The method genFilename existed in dune/common/misc.hh,
> but has recently been removed completely.  dune-fem should not call it.
> --
> Oliver
>
> Am 07.04.2014 13:17, schrieb Ping Lin:
>> Dear Christoph and Benedikt,
>>
>> Thanks a lot for your reply. After I installed the best available gcc (MacPorts
>> gcc48 4.8.2_0) 4.8.2,  the problem I was asked is solved in both my mac
>> computers. And "./dune-common/bin/dunecontrol all" ran well for quite some time
>> until I encounter another problem:
>>
>> ../../../dune/fem/io/file/persistencemanager.hh: In member function 'std::string
>> Dune::PersistenceManager::getUniqueTag(const string&)':
>> ../../../dune/fem/io/file/persistencemanager.hh:332:51: error: 'genFilename' was
>> not declared in this scope
>>          return genFilename( "", tag, ++fileCounter_ );
>>                                                      ^
>> ../../../dune/fem/io/file/persistencemanager.hh: At global scope:
>> ../../../dune/fem/io/file/persistencemanager.hh:505:25: warning:
>> 'Dune::{anonymous}::persistenceManager' defined but not used [-Wunused-variable]
>>        PersistenceManager &persistenceManager = PersistenceManager::instance();
>>                            ^
>> make[4]: *** [femtimer.lo] Error 1
>> make[3]: *** [all-recursive] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> --- Failed to build dune-fem ---
>> Terminating dunecontrol due to previous errors!
>>
>> I updated autoconf, automaker and lib tool to the newer ones and the problem
>> insists. I enclose the log file and hope that you could give some further
>> instruction. Really thank you for your help!
>>
>> -Ping
>>
>>
>>
>>
>> Begin forwarded message:
>>
>>> *From: *Benedikt Oswald <benedikt.oswald at lspr.ch <mailto:benedikt.oswald at lspr.ch>>
>>> *Subject: **Re: [Dune] question for installing DUNE on mac*
>>> *Date: *6 April 2014 18:02:05 BST
>>> *To: *Ping Lin <plin at maths.dundee.ac.uk <mailto:plin at maths.dundee.ac.uk>>,
>>> DUNE Liste <dune at dune-project.org <mailto:dune at dune-project.org>>
>>>
>>> Dear Ping,
>>>
>>> it is in our experience better to use the latest gcc version to compile DUNE
>>> and applications based on it.
>>>
>>> While it may be possible to use Apple’s proprietary gcc version 4.2.1, it seem
>>> to be a bit outdated.
>>>
>>> So, I suggest you install the complete gcc 4.8.1 or later on your machine and
>>> use it.
>>>
>>> In addition, I recommend also to install the latest GNU autotools,like
>>> autoconf, automaker,lib tool
>>> on your machine. Then you have a development environment that is state of the art.
>>>
>>> Greetings, Benedikt
>>
>> On 6 Apr 2014, at 16:33, Christoph Grüninger
>> <christoph.grueninger at iws.uni-stuttgart.de
>> <mailto:christoph.grueninger at iws.uni-stuttgart.de>> wrote:
>>
>>> Hi Ping,
>>> please stay on the Dune mailing list. Currently I have no idea
>>> what causes you problem, maybe other, more Mac advances Dune users
>>> could have helped you in the meantime.
>>>
>>> I guess you use the GCC compiler from Apple Developer tools. They
>>> ship a very dated version. Either user Clang [1] or use a newer
>>> GCC from Macports.
>>>
>>> Bye
>>> Christoph
>>>
>>> [1] http://users.dune-project.org/projects/main-wiki/wiki/Clang
>>>
>>>
>>> Ping Lin <plin at maths.dundee.ac.uk <mailto:plin at maths.dundee.ac.uk>> schrieb:
>>>> Dear Christoph,
>>>> Thanks a lot for your quick reply. I am currently with my macbook  Mac OS X
>>>> 10.6.8. Its g++ version is:
>>>> i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
>>>> I used "tarball". When I download, for example, dune-common-2.3.0.tar.gz to
>>>> my mac directory download, it's automatically gunzipped to
>>>> dune-common-2.3.0.tar. I then double clicked dune-common-2.3.0.tar, it is
>>>> automatically unarchiving to dune-common-2.3.0.
>>>> The file config.log is attached. Thanks.
>>>> -Ping
>>>
>>> --
>>> Die meisten Gebäude stammen aus einer Zeit, in der man auch
>>> Türklinken aus Beton gemacht hätte, wenn das denn ginge.
>>> [Spiegel Online, 25. Februar 2013]
>>> *********************************************
>>> CMWR 2014: 10th - 13th June 2014 in Stuttgart
>>>          Please visit www.cmwr14.de <http://www.cmwr14.de>
>>> *********************************************
>>
>>
>>
>> _______________________________________________
>> Dune mailing list
>> Dune at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune
>>
>
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>


-- 
Tobias Malkmus                 <tomalk at mathematik.uni-freiburg.de>

Mathematisches Institut               Tel: +49 761 203 5627
Abt. für Angewandte Mathematik        Universität Freiburg
Hermann-Herder-Str. 10
79104 Freiburg





More information about the Dune mailing list