[Cmake] Failing tests in AMD64

Mario J. Borgnia mborgnia at nih.gov
Tue Jun 29 22:19:04 EDT 2004


Obviously this has to be done for each application that is compiled with
the aid of ccmake...


On Tue, 2004-06-29 at 22:15, Mario J. Borgnia wrote:
> I found the solution:
> 
> I went to the Tests directory and run ccmake .
> toggle to advance user...
> changed the path for
> X11_X11_LIB=/usr/X11R6/lib64/libX11.so
> X11_Xext_LIB=/usr/X11R6/lib64/libXext.so
> 
> The tests run OK now
> 
> On Tue, 2004-06-29 at 21:33, William A. Hoffman wrote:
> > CMake also looks in your PATH variable first.
> > So, my guess is you have /usr/X11R6/lib in your path.
> > Can you put the lib64 directory in your PATH first?
> > 
> > -Bill
> > 
> > At 05:21 PM 6/29/2004, Mario J. Borgnia wrote:
> > 
> > >I have tried turning lib into lib64 in the FindX11.cmake module: 
> > >
> > >SET(X11_LIB_SEARCH_PATH
> > >    /usr/X11R6/lib64
> > >    /usr/local/lib64
> > >    /usr/openwin/lib64 
> > >    /usr/lib64
> > >)
> > >
> > >as well as adding it: 
> > >SET(X11_LIB_SEARCH_PATH
> > >    /usr/X11R6/lib
> > >    /usr/local/lib
> > >    /usr/openwin/lib
> > >    /usr/lib
> > >    /usr/X11R6/lib64
> > >    /usr/local/lib64
> > >    /usr/openwin/lib64 
> > >    /usr/lib64
> > >)
> > >
> > >Finally, I was able to force it to work by renaming /usr/X11R6/lib into
> > >mv /usr/X11R6/lib /usr/X11R6/disabled_lib
> > >ln -s  /usr/X11R6/lib64 /usr/X11R6/lib
> > >
> > >Then the tests did not fail, but it is just a proof of the source of the
> > >error, I hope I can find a better alternative.
> > >
> > >Thanks
> > >
> > >
> > >Mario
> > >
> > >
> > >
> > >
> > >On Tue, 2004-06-29 at 16:23, William A. Hoffman wrote:
> > >> Looks like it can not find 64 bit versions of X11 to link against:
> > >> http://www.cmake.org/Testing/Sites/newton.nci.nih.gov/Linux-g++/20040629-2012-Experimental/Results/__Source_qtwrapping.html
> > >> 
> > >> Building executable /home/mborgnia/cmake-2.0.2/Tests/Wrapping/bin/qtwrapping...
> > >> /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
> > >> /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
> > >> /usr/bin/ld: cannot find -lX11
> > >> collect2: ld returned 1 exit status
> > >> 
> > >> 
> > >> usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
> > >> /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
> > >> /usr/bin/ld: cannot find -lX11
> > >> collect2: ld returned 1 exit status
> > >> 
> > >> 
> > >> The tests use the FindX11.cmake module.   
> > >>  SET(X11_LIB_SEARCH_PATH
> > >>     /usr/X11R6/lib
> > >>     /usr/local/lib 
> > >>     /usr/openwin/lib 
> > >>     /usr/lib 
> > >>   )
> > >> 
> > >> I suppose there are 32 and 64 bit versions on this machine?
> > >> I am not sure how to tell cmake to look for the 64 bit versions?
> > >> Where are they?
> > >> 
> > >> -Bill
> > >> 
> > >> 
> > >> At 04:05 PM 6/29/2004, William A. Hoffman wrote:
> > >> >Can you submit a dashboard?  You should be able to just build cmake,
> > >> >then run ./bin/ctest -D Experimental.   That should run all the tests
> > >> >and submit the results to the cmake dashboard:
> > >> >
> > >> >http://www.cmake.org/Testing/Dashboard/20040629-0100-Nightly/Dashboard.html
> > >> >
> > >> >I can then take a look and try and see what went wrong.
> > >> >
> > >> >-Bill
> > >> >
> > >> >At 03:57 PM 6/29/2004, Mario J. Borgnia wrote:
> > >> >>Dear all,
> > >> >>
> > >> >>I compiled cmake 2.0.2 on two dual opteron machines running Fedora Core
> > >> >>2 for AMD64 and Suse 9.1 for AMD64. The compilation went through OK in
> > >> >>both cases, but the tests for wrapping and qtwrapping are failing on
> > >> >>both as well. Any hints?
> > >> >>
> > >> >>-- 
> > >> >>Mario J. Borgnia <mborgnia at nih.gov>
> > >> >>National Cancer Institute - National Institutes of Health
> > >> >>
> > >> >>_______________________________________________
> > >> >>Cmake mailing list
> > >> >>Cmake at www.cmake.org
> > >> >>http://www.cmake.org/mailman/listinfo/cmake
> > >> >
> > >> >_______________________________________________
> > >> >Cmake mailing list
> > >> >Cmake at www.cmake.org
> > >> >http://www.cmake.org/mailman/listinfo/cmake
> > >
> > >_______________________________________________
> > >Cmake mailing list
> > >Cmake at www.cmake.org
> > >http://www.cmake.org/mailman/listinfo/cmake
> 
> _______________________________________________
> Cmake mailing list
> Cmake at www.cmake.org
> http://www.cmake.org/mailman/listinfo/cmake



More information about the Cmake mailing list