Archived
This forum has been archived. Please start a new discussion on GitHub.
Can't build on OSX Mavericks because of SSL deprecation
Install dependencies with de-facto standard homebrew on brand new machine with OSX Mavericks 10.9 (i.e. not upgraded from something else)
Attempt to build Ice 4.5.1 with Xcode 5.0.1 clang compiler.
This is because Apple have deprecated all this since 10.7. It's possible to continue the build with a change to the Glacier2 Makefile:
But that's going outside of the install instructions.
Attempt to build Ice 4.5.1 with Xcode 5.0.1 clang compiler.
xcrun clang++ -c -I.. -pthread -I../../include -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_6 -g -Wall -Werror CryptPermissionsVerifierI.cpp
CryptPermissionsVerifierI.cpp:43:5: error: 'DES_fcrypt' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
DES_fcrypt(password.c_str(), salt.c_str(), buff);
^
/usr/include/openssl/des.h:209:7: note: 'DES_fcrypt' declared here
char *DES_fcrypt(const char *buf,const char *salt, char *ret) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
1 error generated.
make[2]: *** [CryptPermissionsVerifierI.o] Error 1
make[1]: *** [Glacier2] Error 2
make: *** [all] Error 1
This is because Apple have deprecated all this since 10.7. It's possible to continue the build with a change to the Glacier2 Makefile:
- CPPFLAGS := -I.. $(CPPFLAGS) $(OPENSSL_FLAGS) + CPPFLAGS := -I.. $(CPPFLAGS) $(OPENSSL_FLAGS) -Wno-error=deprecated-declarations
But that's going outside of the install instructions.
0