[CMake] compiling cmake on aix 5.1 and 5.3
Bill Hoffman
bill.hoffman at kitware.com
Thu Mar 27 07:48:47 EDT 2008
Joachim Geiger wrote:
> Sorry for the delay. You didn't scare me away, but I was trying to see
> what might be special about the machines I have access to and about
> their setup.
> So a first result:
> There are two machines, one with AIX-5.1 which has due to compatibility
> reasons the AIX-compilers of version 6. On this machine I tested the
> binary and it didn't work, certainly because of the old libraries. The
> other is with AIX-5.3 and has compilers of version 8.
Yea, IBM gave us access to a bunch of machines, but they removed all the
5.1 machines. We used to create the binaries on the 5.1 so it would
work on the older machines...
> I checked out the cvs-version yesterday (cmake-2.7.20080326). This
> compiled on the newer without problems. However, running the test
> resulted in 3 failures:
> 97% tests passed, 3 tests failed out of 90
>
> The following tests FAILED:
> 56 - SimpleInstall-Stage2 (Failed)
> 84 - BootstrapTest (Failed)
> 85 - Fortran (Failed)
> Errors while running CTest
>
If the machine has internet. You could do make Experimental in the
build tree, and the test results will be sent to the dashboard, and I
can have a look.
If not, you can run this in the build tree:
ctest -VV -R SimpleInstall-Stage2
ctest -VV -R BootstrapTest
ctest -VV -R Fortran
That will produce more verbose output to see why the tests are failing.
> I don't know what caused the failures or where to look for it. On the
> older implementation the compilation failed at a rather early stage. I
> put in the first three errors as an indication:
> "/afs/ipp/home/g/geiger/cmake-2.7.20080326/Source/kwsys/testAutoPtr.cxx",
> line 119.53: 1540-0295 (S) A parameter of type "cmsys::auto_ptr<A>"
> cannot be initialized with an rvalue of type "cmsys::auto_ptr<A>".
> "/afs/ipp/home/g/geiger/cmake-2.7.20080326/Source/kwsys/testAutoPtr.cxx",
> line 119.53: 1540-0218 (I) The call does not match any parameter list
> for "auto_ptr<A>::auto_ptr<A>".
> "/afs/ipp/home/g/geiger/build_cmake-2.7_rsaix51/Source/cmsys/auto_ptr.hxx",
> line 81.3: 1540-1283 (I) "cmsys::auto_ptr<struct
> A>::auto_ptr(auto_ptr<A> &)" is not a viable candidate.
>
You must be using an older compiler than the one we have...
-Bill
More information about the CMake
mailing list