On May 10, 2006, at 6:29 PM, Didier Lucor wrote:
> Thanks for your help!
>
> So far, I had successfully installed lam with the Mac OS Tiger
> package that is available on the lam website.
> I'd assumed that the installer would do all the job for me
> (configure, make install,...).
>
> So basically, I only had proceeded with the "configure" step within
> the lam test suite directory.
>
> I think that what you mean now is to rebuild lam from scratch. I've
> downloaded the lam source file instead and tried:
>
> > configure --with-memory-manager=none
>
> This time, I get an error when it checks for the size of the bool:
> [...]
> checking size of bool... -1
> configure: WARNING: *** Problem running configure test!
> configure: WARNING: *** See config.log for details.
> configure: error: *** Cannot continue.
>
> (I must say that I have not installed a different gcc version yet.
> Also, I get the same error if I don't include the --with-memory-
> manager=none flag.)
>
> I've attached the config.log to this message.
I'd hate to break it to you, but you are using a non-standard version
of the compilers:
configure:6837: g++ --version </dev/null >&5
g++ (GCC) 4.2.0 20060318 (experimental)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
The version of GCC shipped with OS X 10.4 is 4.0.1. You might want
to run 'which g++' to make sure you haven't picked up one installed
in an external package. As for why configure is failing, it looks
like you still have something wrong with your C++ compiler:
configure:8840: g++ -o conftest -O3 -DLAM_BUILDING=1
conftest.cc >&5
configure:8843: $? = 0
configure:8845: ./conftest
dyld: Symbol not found: ___dso_handle
Referenced from: /usr/local/lib/libstdc++.6.dylib
Expected in: flat namespace
Based on the fact that it's looking in /usr/local/lib, that also
indicates that you are not using the standard Apple compiler -- it
would be looking in /usr/lib.
Hope this helps,
Brian
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|