[Vortex] vortex & OSX 10.10.2

"Robert M. Münch" robert.muench at saphirion.com
Sun Mar 8 15:19:29 CET 2015

Hi, continuing in an other thread as it seems all these things are releated to compiling vortex on OSX 10.10. Some more findings:

Using OpenSSL on OSX these days: What to do

* Get OpenSSL from MacPorts.org
* Most recent version, 1.0.0d is there
* Statically link the libraries
* Include anything else in your bundle

This is what the OpenSSL team recommends
* Static linking is the binary model
* It prevents dylib version skew

When using macports OpenSLL, there needs to be a new -I option added to the makefile for the TLS stuff:
„-I/opt/local/include“ so that the macports includes and libs are found. After I added this, I was able to overcome the depreciation problem and compile the TLS code part.

Than some warnings & errors in the python interface files:

py_vortex.c:561:2: warning: implicit declaration of function 'PyUnicode_SetDefaultEncoding' [-Wimplicit-function-declaration]
        PyUnicode_SetDefaultEncoding ("UTF-8");
py_vortex.c:567:11: warning: implicit declaration of function 'Py_InitModule3' [-Wimplicit-function-declaration]
        module = Py_InitModule3 ("libpy_vortex_11", py_vortex_methods,
py_vortex.c:567:9: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
        module = Py_InitModule3 ("libpy_vortex_11", py_vortex_methods,
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
py_vortex.c:570:3: error: non-void function 'initlibpy_vortex_11' should return a value [-Wreturn-type]
py_vortex.c:581:2: error: non-void function 'initlibpy_vortex_11' should return a value [-Wreturn-type]
py_vortex.c:857:50: warning: implicit declaration of function 'PyString_AsString' [-Wimplicit-function-declaration]
                        str     = axl_strdup_printf ("%s%s", str_aux, PyString_AsString (string));

Robert M. Münch
M: +41 79 65 11 49 6

Saphirion AG

smarter | better | faster

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 526 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.aspl.es/pipermail/vortex/attachments/20150308/f31de7d5/attachment.pgp>

More information about the Vortex mailing list