[CMake] Building cmake to use stlport / Solaris

Andrew Roark andrewjroark at yahoo.com
Tue Nov 6 23:50:02 EST 2007


Hello,



I am trying to install cmake 2.4.7 on a solaris (5.8) machine. It bootstraps ok but fails with:





[  7%] Built target testFail

Linking CXX executable ../../bin/testHashSTL

Undefined                       first referenced

 symbol                             in file

cmsys::_stl_prime_list        
/tmp/cmake-2.4.7/Source/kwsys/CMakeFiles/testHashSTL.dir/SunWS_cache/CC_obj_J/J9Fj1L8fhxCtuQTN9w2u.o


[Hint: static member cmsys::_stl_prime_list must be defined in the program] 






I think this is to do with STL being old or not so good on this platform. I could be wrong.





We have stlport installed. Can anyone tell me how to point cmake bootstrap at our stlport?



I tried 

  CMAKE_INCLUDE_PATH=...  CMAKE_LIBRARY_PATH=... ./bootstrap ...





but that didn't work.



Thanks for any tips

Andrew




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the CMake mailing list