I followed the instructions and used 'make slx EXTRACFLAGS=-fPIC' but i get some errors.
osdep.c:431: error: ‘SSL_VERIFY_PEER’ undeclared (first use in this function)
osdep.c:433: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:436: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:440: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:447: error: ‘EVP_PKEY’ undeclared (first use in this function)
osdep.c:447: error: ‘key’ undeclared (first use in this function)
osdep.c:450: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:460: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:460: error: ‘SSL’ undeclared (first use in this function)
osdep.c:460: error: expected expression before ‘)’ token
osdep.c:462: error: ‘BIO_NOCLOSE’ undeclared (first use in this function)
osdep.c:463: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:464: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:465: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:465: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:467: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:471: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c: At top level:
osdep.c:488: error: expected declaration specifiers or ‘...’ before ‘X509_STORE_CTX’
osdep.c: In function ‘ssl_open_verify’:
osdep.c:495: error: ‘ctx’ undeclared (first use in this function)
osdep.c: At top level:
osdep.c:517: error: expected ‘)’ before ‘*’ token
osdep.c: In function ‘ssl_getline_work’:
osdep.c:622: error: ‘SSLSTREAM’ has no member named ‘iptr’
osdep.c:622: error: ‘SSLSTREAM’ has no member named ‘ictr’
osdep.c:623: error: ‘SSLSTREAM’ has no member named ‘iptr’
osdep.c:636: error: ‘SSLSTREAM’ has no member named ‘iptr’
osdep.c:637: error: ‘SSLSTREAM’ has no member named ‘iptr’
osdep.c:638: error: ‘SSLSTREAM’ has no member named ‘ictr’
osdep.c: In function ‘ssl_getbuffer’:
osdep.c:657: error: ‘SSLSTREAM’ has no member named ‘ictr’
osdep.c:659: error: ‘SSLSTREAM’ has no member named ‘iptr’
osdep.c:661: error: ‘SSLSTREAM’ has no member named ‘iptr’
osdep.c:663: error: ‘SSLSTREAM’ has no member named ‘ictr’
osdep.c: In function ‘ssl_getdata’:
osdep.c:683: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:683: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:687: error: ‘SSLSTREAM’ has no member named ‘ictr’
osdep.c:691: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:710: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:710: error: ‘SSLSTREAM’ has no member named ‘ibuf’
osdep.c:712: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:712: error: ‘SSL_ERROR_WANT_READ’ undeclared (first use in this function)
osdep.c:717: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:723: error: ‘SSLSTREAM’ has no member named ‘iptr’
osdep.c:723: error: ‘SSLSTREAM’ has no member named ‘ibuf’
osdep.c:724: error: ‘SSLSTREAM’ has no member named ‘ictr’
osdep.c: In function ‘ssl_sout’:
osdep.c:760: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:766: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:770: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c: In function ‘ssl_abort’:
osdep.c:799: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:800: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:801: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:802: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:804: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:805: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:806: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c: In function ‘ssl_server_init’:
osdep.c:906: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:912: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:912: error: ‘SSL_OP_ALL’ undeclared (first use in this function)
osdep.c:914: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:918: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:922: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:923: error: ‘SSL_FILETYPE_PEM’ undeclared (first use in this function)
osdep.c:928: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:929: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:929: error: ‘ssl_genkey’ undeclared (first use in this function)
osdep.c:931: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:931: error: ‘SSLSTREAM’ has no member named ‘context’
osdep.c:935: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:937: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c: At top level:
osdep.c:972: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
osdep.c: In function ‘ssl_server_input_wait’:
osdep.c:1002: error: ‘SSLSTREAM’ has no member named ‘ictr’
osdep.c:1003: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:1003: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:1007: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:1008: error: ‘SSLSTREAM’ has no member named ‘con’
osdep.c:1008: error: ‘SSLSTREAM’ has no member named ‘ibuf’
osdep.c:1009: error: ‘SSLSTREAM’ has no member named ‘iptr’
osdep.c:1009: error: ‘SSLSTREAM’ has no member named ‘ibuf’
osdep.c:1010: error: ‘SSLSTREAM’ has no member named ‘ictr’
In file included from osdep.c:1022:
sslstdio.c: In function ‘PBIN’:
sslstdio.c:38: error: ‘SSLSTREAM’ has no member named ‘ictr’
sslstdio.c:39: error: ‘SSLSTREAM’ has no member named ‘iptr’
sslstdio.c: In function ‘PSIN’:
sslstdio.c:57: error: ‘SSLSTREAM’ has no member named ‘ictr’
sslstdio.c:58: error: ‘SSLSTREAM’ has no member named ‘ictr’
sslstdio.c:60: error: ‘SSLSTREAM’ has no member named ‘iptr’
make[3]: *** [osdep.o] Error 1
make[3]: Leaving directory `/usr/local/imap-2007f/c-client'
make[2]: *** [slx] Error 2
make[2]: Leaving directory `/usr/local/imap-2007f/c-client'
make[1]: *** [OSTYPE] Error 2
make[1]: Leaving directory `/usr/local/imap-2007f'
make: *** [slx] Error 2
[root@qupra imap-2007f]#
I really have no idea how to get the IMAP functions working. I also recompiled using the php switcher with all the available versions.
When i add --with-imap=/usr/local/imap-2007f --with-imap-ssl then it doesnt really compile.
Also not with --with-imap --with-imap-ssl then it doesnt really compile.
I know it might be a strange question but can you check it out if i give you root acces?
Thank you