[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #3643 [Tor bundles/installation]: Building Tor on Mac OS X Lion
#3643: Building Tor on Mac OS X Lion
--------------------------------------+-------------------------------------
Reporter: runa | Owner: erinn
Type: task | Status: new
Priority: normal | Milestone:
Component: Tor bundles/installation | Version:
Keywords: | Parent:
Points: | Actualpoints:
--------------------------------------+-------------------------------------
Comment(by edmanm):
This doesn't jive with my experience trying to build Tor on OS X Lion.
Perhaps infowolfe and I have different Xcode versions. I installed Xcode
4.1 (4B110) from the App Store after installing Lion.
In any case, Apple seems to have deprecated a boatload of OpenSSL APIs, so
Tor fails to build with `--enable-gcc-warnings` (log attached). For
example:
{{{
cc1: warnings being treated as errors
crypto.c: In function âcrypto_log_errorsâ:
crypto.c:173: warning: âERR_get_errorâ is deprecated (declared at
/usr/include/openssl/err.h:266)
crypto.c:174: warning: âERR_reason_error_stringâ is deprecated (declared
at /usr/include/openssl/err.h:283)
crypto.c:175: warning: âERR_lib_error_stringâ is deprecated (declared at
/usr/include/openssl/err.h:281)
crypto.c:176: warning: âERR_func_error_stringâ is deprecated (declared at
/usr/include/openssl/err.h:282)
}}}
The corresponding function prototype for `ERR_get_error()`, for example,
in `/usr/include/openssl/err.h` looks like this:
{{{
unsigned long ERR_get_error(void)
DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
}}}
All the other referenced deprecated functions have the same annotation.
Indeed, most (if not all) of OpenSSL seems deprecated in Lion:
{{{
[edmanm:/usr/include/openssl]$ grep
DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER *.h |wc -l
2667
}}}
I have no clue what these have all been deprecated in favor of, though.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3643#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs