facebookincubator / katran

A high performance layer 4 load balancer
GNU General Public License v2.0
4.75k stars 504 forks source link

Ubutu 22.04 errors build_katran.sh #237

Closed thang86 closed 1 month ago

thang86 commented 1 month ago

Problems when running build_katran.sh -- Configuring done CMake Error at example_grpc/CMakeLists.txt:45 (add_library): Cannot find source file:

KatranGrpcService.h

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc

CMake Error at example_grpc/CMakeLists.txt:57 (add_library): Cannot find source file:

GrpcSignalHandler.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc

CMake Error at example_grpc/CMakeLists.txt:69 (add_executable): Cannot find source file:

katran_server.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc

CMake Error at example_grpc/CMakeLists.txt:45 (add_library): No SOURCES given to target: katran_service_handler

CMake Error at example_grpc/CMakeLists.txt:57 (add_library): No SOURCES given to target: grpc_signal_handler

CMake Error at example_grpc/CMakeLists.txt:69 (add_executable): No SOURCES given to target: katran_server_grpc

CMake Generate step failed. Build files cannot be regenerated correctly.

README missing requement packager for build on Ubuntu :) , I need install fast_float :)

lima1756 commented 1 month ago

the missing files where deleted by mistake, they are back. Thanks for mentioning the missing dependency will update the readme to reflect that. closing this issue. feel free to open a new one if needed