Finally!!
I figure out how to build it!!!
I didn't use the macports version but the XCode version.
I just changed the default gcc and g++ version from 4.2 to 4.0
that is also installed.
How to follows:
1)First I removed the symbolik links in /usr/bin/
sudo rm gcc g++
2)Then I created two other links pointing to 4.0
sudo ln -s gcc-4.0 gcc
sudo ln -s g++-4.0 g++
That did the trick!!
I run the configure script without a problem
Exported the variable in path and hopefully I have a working version!
Thank you all for your help!
Regards,
G.
you could try and use the macports version of gcc rather than the mac
Xcode one. I can't get version 6.1.0 to configure properly but I can
get a lot further than you. The problem I have concerns f77 libraries
(c++ and c are all fine)
./configure CC=/opt/local/bin/gcc-mp-4.5
CXX=/opt/local/bin/g++-mp-4.5 F77=/opt/local/bin/gfortran-mp-4.5
----------------- configuring F77 compilers -----------------
checking for gfortran... /opt/local/bin/gfortran-mp-4.5
F77 compiler is unknown but accepted gcc version
configure: error: No compiler options for F77 compiler
Perhaps you can figure out how to proceed from here.
cheers
Andrew
On 24.09.2011, at 15:58, Georgios Dimitrakakis wrote:
On Sat, 24 Sep 2011 07:17:01 -0500, Wolfgang Bangerth wrote:
------------------ checking compiler flags ------------------
checking for CPU to optimize for... none given or not recognized
checking for consistency of CXXFLAGSG flags... configure: error:
invalid combination of flags!
You need to search through the output in config.log. There should
be
an error
message from the compiler that says what the invalid combination
is.
In general, why would you want to install a version of deal.II
that's that
old?
Best
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email:
[email protected]
www:
http://www.math.tamu.edu/~bangerth/
I 've searched through the config.log and the following error
appears many times
cc1plus: error: unrecognized command line option "-Wno-long-double"
cc1plus: error: unrecognized command line option
"-Wno-ignored-qualifiers"
The last time that it appears it ends somehow like this:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "deal.II"
| #define PACKAGE_TARNAME "deal.II"
| #define PACKAGE_VERSION "6.1.0"
| #define PACKAGE_STRING "deal.II 6.1.0"
| #define PACKAGE_BUGREPORT "[email protected]"
etc. etc.
etc. etc.
| /* end confdefs.h. */
|
| int
| main ()
| {
| ;
| ;
| return 0;
| }
configure:13573: error: invalid combination of flags!
folowed by the cache variables.
I cat attach the config.log if neccessary.
The reason why I want to use this specific version is because people
already have a fully working code
for this version which fails on the newer ones and it will take them
quiet a lot of time to correct and
re-wright it.
Any ideas what should I do?
Regards,
G.
_______________________________________________
dealii mailing list
http://poisson.dealii.org/mailman/listinfo/dealii
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii