rashadkm / webgrass

Other
1 stars 3 forks source link

FindWt.cmake fails on OSX #2

Closed epifanio closed 8 years ago

epifanio commented 8 years ago

After trying to configure with cmake i got this log:

 CMake Error at cmake/FindWt.cmake:112 (MESSAGE):
   Could NOT find Wt
 Call Stack (most recent call first):
   CMakeLists.txt:20 (FIND_PACKAGE)

But from the cmake log WT seems to be found:

    CMAKE_AR                         /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar                             
    CMAKE_BUILD_TYPE                                                                                                                                       
    CMAKE_COLOR_MAKEFILE             ON                                                                                                                    
    CMAKE_CXX_COMPILER               /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++                            
    CMAKE_CXX_FLAGS                                                                                                                                        
    CMAKE_CXX_FLAGS_DEBUG            -g                                                                                                                    
    CMAKE_CXX_FLAGS_MINSIZEREL       -Os -DNDEBUG                                                                                                          
    CMAKE_CXX_FLAGS_RELEASE          -O3 -DNDEBUG                                                                                                          
    CMAKE_CXX_FLAGS_RELWITHDEBINFO   -O2 -g -DNDEBUG                                                                                                       
    CMAKE_C_COMPILER                 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc                             
    CMAKE_C_FLAGS                                                                                                                                          
    CMAKE_C_FLAGS_DEBUG              -g                                                                                                                    
    CMAKE_C_FLAGS_MINSIZEREL         -Os -DNDEBUG                                                                                                          
    CMAKE_C_FLAGS_RELEASE            -O3 -DNDEBUG                                                                                                          
    CMAKE_C_FLAGS_RELWITHDEBINFO     -O2 -g -DNDEBUG                                                                                                       
    CMAKE_EXE_LINKER_FLAGS                                                                                                                                 
    CMAKE_EXE_LINKER_FLAGS_DEBUG                                                                                                                           
    CMAKE_EXE_LINKER_FLAGS_MINSIZE                                                                                                                         
    CMAKE_EXE_LINKER_FLAGS_RELEASE                                                                                                                         
    CMAKE_EXE_LINKER_FLAGS_RELWITH                                                                                                                         
    CMAKE_EXPORT_COMPILE_COMMANDS    OFF                                                                                                                   
    CMAKE_INSTALL_NAME_TOOL          /usr/bin/install_name_tool                                                                                            
    CMAKE_INSTALL_PREFIX             /usr/local                                                                                                            
    CMAKE_LINKER                     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld                             
    CMAKE_MAKE_PROGRAM               /usr/bin/make                                                                                                         
    CMAKE_MODULE_LINKER_FLAGS                                                                                                                              
    CMAKE_MODULE_LINKER_FLAGS_DEBU                                                                                                                         
    CMAKE_MODULE_LINKER_FLAGS_MINS                                                                                                                         
    CMAKE_MODULE_LINKER_FLAGS_RELE                                                                                                                         
    CMAKE_MODULE_LINKER_FLAGS_RELW                                                                                                                         
    CMAKE_NM                         /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm                             
    CMAKE_OBJCOPY                    CMAKE_OBJCOPY-NOTFOUND                                                                                                
    CMAKE_OBJDUMP                    CMAKE_OBJDUMP-NOTFOUND                                                                                                
    CMAKE_OSX_ARCHITECTURES                                                                                                                                
    CMAKE_OSX_DEPLOYMENT_TARGET                                                                                                                            
    CMAKE_OSX_SYSROOT                /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk                   
    CMAKE_RANLIB                     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib                         
    CMAKE_SHARED_LINKER_FLAGS                                                                                                                              
    CMAKE_SHARED_LINKER_FLAGS_DEBU                                                                                                                         
    CMAKE_SHARED_LINKER_FLAGS_MINS                                                                                                                         
    CMAKE_SHARED_LINKER_FLAGS_RELE                                                                                                                         
    CMAKE_SHARED_LINKER_FLAGS_RELW                                                                                                                         
    CMAKE_SKIP_INSTALL_RPATH         OFF                                                                                                                   
    CMAKE_SKIP_RPATH                 OFF                                                                                                                   
    CMAKE_STATIC_LINKER_FLAGS                                                                                                                              
    CMAKE_STATIC_LINKER_FLAGS_DEBU                                                                                                                         
    CMAKE_STATIC_LINKER_FLAGS_MINS                                                                                                                         
    CMAKE_STATIC_LINKER_FLAGS_RELE                                                                                                                         
    CMAKE_STATIC_LINKER_FLAGS_RELW                                                                                                                         
    CMAKE_STRIP                      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip                          
    CMAKE_VERBOSE_MAKEFILE           OFF                                                                                                                   
    Wt_DBOPOSTGRES_DEBUG_LIBRARY     /usr/local/lib/libwtdbopostgres.dylib                                                                                 
    Wt_DBOPOSTGRES_LIBRARY           /usr/local/lib/libwtdbopostgres.dylib                                                                                 
    Wt_DBOSQLITE3_DEBUG_LIBRARY      /usr/local/lib/libwtdbosqlite3.dylib                                                                                  
    Wt_DBOSQLITE3_LIBRARY            /usr/local/lib/libwtdbosqlite3.dylib                                                                                  
    Wt_DBO_DEBUG_LIBRARY             /usr/local/lib/libwtdbo.dylib                                                                                         
    Wt_DBO_LIBRARY                   /usr/local/lib/libwtdbo.dylib                                                                                         
    Wt_DEBUG_LIBRARY                 /usr/local/lib/libwt.dylib                                                                                            
    Wt_EXT_DEBUG_LIBRARY             Wt_EXT_DEBUG_LIBRARY-NOTFOUND                                                                                         
    Wt_EXT_LIBRARY                   Wt_EXT_LIBRARY-NOTFOUND                                                                                               
    Wt_FCGI_DEBUG_LIBRARY            /usr/local/lib/libwtfcgi.dylib                                                                                        
    Wt_FCGI_LIBRARY                  /usr/local/lib/libwtfcgi.dylib                                                                                        
    Wt_HTTP_DEBUG_LIBRARY            /usr/local/lib/libwthttp.dylib                                                                                        
    Wt_HTTP_LIBRARY                  /usr/local/lib/libwthttp.dylib                                                                                        
    Wt_INCLUDE_DIR                   /usr/local/include                                                                                                    
    Wt_LIBRARY                       /usr/local/lib/libwt.dylib

However, cmake configuration strep ends with an error and can't generate the make files.

rashadkm commented 8 years ago

didnt tested this. but from bug report i found

Wt_EXT_LIBRARY Wt_EXT_LIBRARY-NOTFOUND

rashadkm commented 8 years ago

agreed that cmake should have told about this.

epifanio commented 8 years ago

Do I need Wt_EXT to build webgrass ?

epifanio commented 8 years ago

I enabled Wt_EXT in the WT build, now webgrass is happy with WT. However, I've some build errors. I'll open another issue to debug the build on OSX.