Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hansvdput

Pages: [1]
1
E-Mail / Re: imap php extension
« on: November 29, 2014, 01:08:32 AM »
I followed the instructions and used 'make slx EXTRACFLAGS=-fPIC' but i get some errors.

Code: [Select]
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

2
E-Mail / Re: imap php extension
« on: November 26, 2014, 03:20:04 PM »
I believe i found the problem but i don't know how to fix it.

When i run the compiler without adding --with-imap and --with-imap-ssl
then it runs for about 10 minutes and my version has changed.

When i run the compiler with adding --with-imap and --with-imap-ssl
then it runs for about 1 minute and my version doesnt change.

So it looks like when  add --with-imap and --with-imap-ssl it doesn't 'really' compile.

Do you have any idea how come?

3
E-Mail / Re: imap php extension
« on: November 26, 2014, 02:53:59 PM »
It's not really working.

Is it possible to give you credentials to login to my CentOS-webpanel so you can try to configure it once?

Thank you.

4
E-Mail / Re: imap php extension
« on: November 25, 2014, 10:49:30 AM »
I used the PHP Version switcher.
I select the recommended 5.4.27 version and in the additional configuration i enter --with-imap en --with-imap-ssl.

then i get
Code: [Select]
PHP Compiler Started in Background. You can monitor PHP rebuild from console using command: tail -f /var/log/php-rebuild.log
So i go monitor the rebuild and see IMAP is compiled in PHP now.
Code: [Select]
checking for IMAP support... yes
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... yes
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE...
checking for pam_start in -lpam... no
checking for crypt in -lcrypt... yes
PHP Rebuild Completed

Then i reboot my entire server i look the PHP short info and dont see it there

Code: [Select]
hash
iconv
json
libxml

What am i doing wrong? Thank you


5
E-Mail / imap php extension
« on: November 14, 2014, 06:14:56 PM »
I have installed this awesome piece of software.

But i got a problem.

My helpdesk program should automatically fetch e-mail without IMAP / pop3.

The program tells me i need a php extension for IMAP.
in windows i managed to do this pretty easy but because i wanna move to linux i really need this working.

Can anyone tell me how to enable or install the IMAP extension?

Thank you

Pages: [1]