Yes, it has some issues but also workarounds on jira http://www.google.com.hk/search?q=freeswitch+mountain+lion&rlz=1C1CHFA_enCN4... -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, August 24, 2012 at 11:42 PM, urealfrank wrote:
Hi,
Anyone had success building FS 1.2.0 on Mountain Lion?
I did configure it this way:
$ git pull ; make clean ; ./bootstrap.sh (http://bootstrap.sh) ; ./configure --prefix=/usr/local/fs120 --disable-dependency-tracking --with-odbc=/usr/local/Cellar/unixodbc/2.3.1 --with-openssl ; make
… Making all in ipt Making all in sdp Making all in url Making all in msg Making all in sip Making all in http Making all in soa Making all in tport LTCOMPILE tport_tls.lo cc1: warnings being treated as errors tport_tls.c: In function 'tls_init_once': tport_tls.c:98: warning: 'SSL_library_init' is deprecated (declared at /usr/include/openssl/ssl.h:1553) tport_tls.c:99: warning: 'SSL_load_error_strings' is deprecated (declared at /usr/include/openssl/ssl.h:1416) tport_tls.c:100: warning: 'SSL_get_ex_new_index' is deprecated (declared at /usr/include/openssl/ssl.h:1589) tport_tls.c: In function 'tls_log_errors': tport_tls.c:144: warning: 'ERR_get_error' is deprecated (declared at /usr/include/openssl/err.h:266) tport_tls.c:151: warning: 'ERR_get_error' is deprecated (declared at /usr/include/openssl/err.h:266) tport_tls.c:153: warning: 'ERR_lib_error_string' is deprecated (declared at /usr/include/openssl/err.h:281) tport_tls.c:154: warning: 'ERR_func_error_string' is deprecated (declared at /usr/include/openssl/err.h:282) tport_tls.c:155: warning: 'ERR_reason_error_string' is deprecated (declared at /usr/include/openssl/err.h:283) tport_tls.c: In function 'tls_verify_cb': tport_tls.c:220: warning: 'X509_STORE_CTX_get_current_cert' is deprecated (declared at /usr/include/openssl/x509_vfy.h:454) tport_tls.c:221: warning: 'X509_STORE_CTX_get_error_depth' is deprecated (declared at /usr/include/openssl/x509_vfy.h:453) tport_tls.c:222: warning: 'X509_STORE_CTX_get_error' is deprecated (declared at /usr/include/openssl/x509_vfy.h:451) tport_tls.c:223: warning: 'SSL_get_ex_data_X509_STORE_CTX_idx' is deprecated (declared at /usr/include/openssl/ssl.h:1601) tport_tls.c:224: warning: 'X509_STORE_CTX_get_ex_data' is deprecated (declared at /usr/include/openssl/x509_vfy.h:450) tport_tls.c:225: warning: 'SSL_get_ex_data' is deprecated (declared at /usr/include/openssl/ssl.h:1587) tport_tls.c:237: warning: 'X509_STORE_CTX_set_error' is deprecated (declared at /usr/include/openssl/x509_vfy.h:452) tport_tls.c:239: warning: 'X509_STORE_CTX_set_error' is deprecated (declared at /usr/include/openssl/x509_vfy.h:452) tport_tls.c:246: warning: 'X509_STORE_CTX_set_error' is deprecated (declared at /usr/include/openssl/x509_vfy.h:452) tport_tls.c:254: warning: 'X509_NAME_oneline' is deprecated (declared at /usr/include/openssl/x509.h:984) tport_tls.c:254: warning: 'X509_get_issuer_name' is deprecated (declared at /usr/include/openssl/x509.h:1011) tport_tls.c:256: warning: 'X509_NAME_oneline' is deprecated (declared at /usr/include/openssl/x509.h:984) tport_tls.c:256: warning: 'X509_get_subject_name' is deprecated (declared at /usr/include/openssl/x509.h:1013) tport_tls.c:258: warning: 'X509_verify_cert_error_string' is deprecated (declared at /usr/include/openssl/x509.h:752) tport_tls.c: In function 'tls_init_context': tport_tls.c:278: warning: 'RAND_load_file' is deprecated (declared at /usr/include/openssl/rand.h:108) tport_tls.c:301: warning: 'TLSv1_method' is deprecated (declared at /usr/include/openssl/ssl.h:1519) tport_tls.c:303: warning: 'SSLv23_method' is deprecated (declared at /usr/include/openssl/ssl.h:1515) tport_tls.c:305: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346) tport_tls.c:314: warning: 'SSL_CTX_set_timeout' is deprecated (declared at /usr/include/openssl/ssl.h:1348) tport_tls.c:318: warning: 'SSL_CTX_set_default_passwd_cb' is deprecated (declared at /usr/include/openssl/ssl.h:1472) tport_tls.c:319: warning: 'SSL_CTX_set_default_passwd_cb_userdata' is deprecated (declared at /usr/include/openssl/ssl.h:1473) tport_tls.c:322: warning: 'SSL_CTX_use_certificate_file' is deprecated (declared at /usr/include/openssl/ssl.h:1402) tport_tls.c:336: warning: 'SSL_CTX_use_PrivateKey_file' is deprecated (declared at /usr/include/openssl/ssl.h:1401) tport_tls.c:350: warning: 'SSL_CTX_check_private_key' is deprecated (declared at /usr/include/openssl/ssl.h:1475) tport_tls.c:361: warning: 'SSL_CTX_load_verify_locations' is deprecated (declared at /usr/include/openssl/ssl.h:1572) tport_tls.c:384: warning: 'SSL_CTX_set_verify_depth' is deprecated (declared at /usr/include/openssl/ssl.h:1460) tport_tls.c:385: warning: 'SSL_CTX_set_verify' is deprecated (declared at /usr/include/openssl/ssl.h:1459) tport_tls.c:387: warning: 'SSL_CTX_set_cipher_list' is deprecated (declared at /usr/include/openssl/ssl.h:1345) tport_tls.c: In function 'tls_free': tport_tls.c:403: warning: 'SSL_shutdown' is deprecated (declared at /usr/include/openssl/ssl.h:1532) tport_tls.c:406: warning: 'SSL_CTX_free' is deprecated (declared at /usr/include/openssl/ssl.h:1347) tport_tls.c:409: warning: 'BIO_free' is deprecated (declared at /usr/include/openssl/bio.h:583) tport_tls.c: In function 'tls_get_socket': tport_tls.c:419: warning: 'BIO_ctrl' is deprecated (declared at /usr/include/openssl/bio.h:590) tport_tls.c: In function 'tls_init_master': tport_tls.c:446: warning: 'RAND_pseudo_bytes' is deprecated (declared at /usr/include/openssl/rand.h:105) tport_tls.c:448: warning: 'SSL_CTX_set_session_id_context' is deprecated (declared at /usr/include/openssl/ssl.h:1479) tport_tls.c:453: warning: 'SSL_CTX_set_client_CA_list' is deprecated (declared at /usr/include/openssl/ssl.h:1542) tport_tls.c:454: warning: 'SSL_load_client_CA_file' is deprecated (declared at /usr/include/openssl/ssl.h:1404) tport_tls.c: In function 'tls_init_secondary': tport_tls.c:495: warning: 'BIO_new_socket' is deprecated (declared at /usr/include/openssl/bio.h:675) tport_tls.c:496: warning: 'SSL_new' is deprecated (declared at /usr/include/openssl/ssl.h:1481) tport_tls.c:505: warning: 'SSL_set_bio' is deprecated (declared at /usr/include/openssl/ssl.h:1375) tport_tls.c:506: warning: 'SSL_ctrl' is deprecated (declared at /usr/include/openssl/ssl.h:1496) tport_tls.c:507: warning: 'SSL_set_ex_data' is deprecated (declared at /usr/include/openssl/ssl.h:1586) tport_tls.c: In function 'tls_post_connection_check': tport_tls.c:523: warning: 'SSL_get_peer_certificate' is deprecated (declared at /usr/include/openssl/ssl.h:1450) tport_tls.c:539: warning: 'X509_get_ext_count' is deprecated (declared at /usr/include/openssl/x509.h:1144) tport_tls.c:554: warning: 'X509_get_ext' is deprecated (declared at /usr/include/openssl/x509.h:1148) tport_tls.c:555: warning: 'OBJ_nid2sn' is deprecated (declared at /usr/include/openssl/objects.h:1008) tport_tls.c:555: warning: 'OBJ_obj2nid' is deprecated (declared at /usr/include/openssl/objects.h:1009) tport_tls.c:555: warning: 'X509_EXTENSION_get_object' is deprecated (declared at /usr/include/openssl/x509.h:1185) tport_tls.c:560: warning: 'X509V3_EXT_get' is deprecated (declared at /usr/include/openssl/x509v3.h:581) tport_tls.c:561: warning: 'X509V3_EXT_d2i' is deprecated (declared at /usr/include/openssl/x509v3.h:585) tport_tls.c:564: warning: 'sk_num' is deprecated (declared at /usr/include/openssl/stack.h:81) tport_tls.c:565: warning: 'sk_value' is deprecated (declared at /usr/include/openssl/stack.h:82) tport_tls.c:579: warning: 'X509_get_subject_name' is deprecated (declared at /usr/include/openssl/x509.h:1013) tport_tls.c:582: warning: 'X509_NAME_get_text_by_NID' is deprecated (declared at /usr/include/openssl/x509.h:1099) tport_tls.c:599: warning: 'SSL_get_verify_result' is deprecated (declared at /usr/include/openssl/ssl.h:1584) tport_tls.c: In function 'tls_error': tport_tls.c:667: warning: 'SSL_get_error' is deprecated (declared at /usr/include/openssl/ssl.h:1501) tport_tls.c:682: warning: 'SSL_get_shutdown' is deprecated (declared at /usr/include/openssl/ssl.h:1568) tport_tls.c: In function 'tls_read': tport_tls.c:725: warning: 'SSL_read' is deprecated (declared at /usr/include/openssl/ssl.h:1493) tport_tls.c: In function 'tls_pending': tport_tls.c:741: warning: 'SSL_pending' is deprecated (declared at /usr/include/openssl/ssl.h:1368) tport_tls.c: In function 'tls_write': tport_tls.c:809: warning: 'SSL_write' is deprecated (declared at /usr/include/openssl/ssl.h:1495) tport_tls.c: In function 'tls_connect': tport_tls.c:901: warning: 'SSL_accept' is deprecated (declared at /usr/include/openssl/ssl.h:1491) tport_tls.c:901: warning: 'SSL_connect' is deprecated (declared at /usr/include/openssl/ssl.h:1492) tport_tls.c:902: warning: 'SSL_get_error' is deprecated (declared at /usr/include/openssl/ssl.h:1501) tport_tls.c:956: warning: 'ERR_error_string_n' is deprecated (declared at /usr/include/openssl/err.h:280) make[9]: *** [tport_tls.lo] Error 1 make[8]: *** [all] Error 2 Making all in nta Making all in nth Making all in nea Making all in iptsec Making all in nua make[8]: *** No rule to make target `tport/libtport.la (http://libtport.la)', needed by `libsofia-sip-ua.la (http://libsofia-sip-ua.la)'. Stop. make[7]: *** [all-recursive] Error 1 Making all in packages make[6]: *** [all-recursive] Error 1 make[5]: *** [all] Error 2 make[4]: *** [/Users/include/Documents/dev/Projects/WIMM/freeswitch_src/freeswitch/libs/sofia-sip/libsofia-sip-ua/libsofia-sip-ua.la (http://libsofia-sip-ua.la)] Error 2 make[3]: *** [mod_sofia-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
$
Any magic potion? :)
Cheers Frank
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto:FreeSWITCH-users@lists.freeswitch.org) http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org