[Cmake] can't build on aix
Silverstein
herc at schrodinger.com
Wed Jan 16 21:18:17 EST 2002
I just downloaded cmake and tried to build on aix 4.3.3 with the visual
age 5.0 c++ compiler. But it fails to build. I set CXX=/usr/bin/xlC.
Is this code ANSI C++ compliant (not sure this is the issue but we have
had this issue with other stuff recently)?
Is there some sort of work-around?
Thanks,
Herc
./configure
loading cache ./config.cache
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for c++... /usr/bin/xlC
checking whether the C++ compiler (/usr/bin/xlC ) works... yes
checking whether the C++ compiler (/usr/bin/xlC ) is a
cross-compiler... no
checking whether we are using GNU C++... no
checking whether /usr/bin/xlC accepts -g... yes
checking system version (for dynamic loading)... AIX-3
checking ansi standard C++ stream headers ... yes
checking ansi standard namespace support ... yes
checking ansi for scope support ... yes
checking for gmake... no
checking for make... /usr/bin/make
updating cache ./config.cache
creating ./config.status
creating Source/InitialConfigureFlags.cmake
creating Makefile
creating Source/Makefile
creating Source/cmConfigure.h
cd Source; make
/usr/bin/xlC -DCMAKE_ROOT_DIR='"/home/herc/surf/CMake-1-2"' -g
-DCMAKE_HAS_AUTOCONF -I/home/herc/surf/CMake-1-2/Source -c cmake.cxx -o
cmake.o
"cmUnixMakefileGenerator.h", line 111.50: 1540-0040 (S) The text "&" is
unexpected. "cmMakeDepend" may be undeclared or ambiguous.
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
./configure[1417]: ./Source/cmake: not found
make: Cannot find a rule to create target depend from dependencies.
Stop.
More information about the CMake
mailing list