最新ICE源码编译安装

发现ICE3.7版本在编译安装时比之前的版本省事了很多,少了很多杂七杂八的依赖库;估计是被grpc火热情景给逼的?

Compiling [amd64-shared] src/Ice/CollocatedRequestHandler.cpp
Compiling [amd64-shared] src/Ice/ProtocolInstance.cpp
src/Ice/SHA1.cpp:19:31: fatal error: openssl/sha.h: No such file or directory
compilation terminated.
Makefile:30: recipe for target 'src/Ice/build/x86_64-linux-gnu/shared/pic/SHA1.o' failed
make: *** [src/Ice/build/x86_64-linux-gnu/shared/pic/SHA1.o] Error 1
make: *** Waiting for unfinished jobs....
src/Ice/ConnectionI.cpp:32:21: fatal error: bzlib.h: No such file or directory
compilation terminated.
Makefile:30: recipe for target 'src/Ice/build/x86_64-linux-gnu/shared/pic/ConnectionI.o' failed
make: *** [src/Ice/build/x86_64-linux-gnu/shared/pic/ConnectionI.o] Error 1

 


sudo apt-get install libssl-dev libbz2-dev



Compiling [amd64-shared] src/IceGrid/IceGridNode.cpp
Compiling [amd64-shared] src/IceGrid/IceGridRegistry.cpp
Linking [amd64-shared] test/Ice/library/build/x86_64-linux-gnu/shared/libAllTests.so.3.7.1
Linking [amd64-shared] test/IceGrid/deployer/build/x86_64-linux-gnu/shared/client
Linking [amd64-shared] test/IceGrid/noRestartUpdate/build/x86_64-linux-gnu/shared/client
Linking [amd64-shared] test/IceGrid/replication/build/x86_64-linux-gnu/shared/client
Linking [amd64-shared] test/IceGrid/session/build/x86_64-linux-gnu/shared/client
Linking [amd64-shared] test/IceGrid/update/build/x86_64-linux-gnu/shared/client
Compiling [amd64-shared] test/Ice/library/Client.cpp
Linking [amd64-shared] test/Ice/library/build/x86_64-linux-gnu/shared/client
Linking [amd64-shared] bin/icegridadmin
Linking [amd64-shared] test/IceGrid/replicaGroup/build/x86_64-linux-gnu/shared/client
Linking [amd64-shared] bin/icegridnode
Linking [amd64-shared] bin/icegridregistry


编译成功!

查看原文:http://www.mtcnn.com/?p=211

你可能感兴趣的:(最新ICE源码编译安装)