[Dune] question for installing DUNE on mac
Ping Lin
plin at maths.dundee.ac.uk
Mon Apr 7 13:17:26 CEST 2014
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>
> 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>, DUNE Liste <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> 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> 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
> *********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140407/c990e1d1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 120151 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140407/c990e1d1/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140407/c990e1d1/attachment-0001.htm>
More information about the Dune
mailing list