error compiling php (5.2, I know very old): dereferencing pointer to incomplete type
Hi!
We have this PHP that we have hacked around here version 5.2. I had been able to compile it up until kubuntu 12.10. But I just tried to compile it on 13.04 and I get this error: Code:
/bin/sh /home/antoranz/Descargas/php/php-5.2.17/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/dom/ -I/home/antoranz/Descargas/php/php-5.2.17/ext/dom/ -DPHP_ATOM_INC -I/home/antoranz/Descargas/php/php-5.2.17/include -I/home/antoranz/Descargas/php/php-5.2.17/main -I/home/antoranz/Descargas/php/php-5.2.17 -I/home/antoranz/Descargas/php/php-5.2.17/ext/date/lib -I/usr/include/libxml2 -I/home/antoranz/Descargas/php/php-5.2.17/ext/mbstring/oniguruma -I/home/antoranz/Descargas/php/php-5.2.17/ext/mbstring/libmbfl -I/home/antoranz/Descargas/php/php-5.2.17/ext/mbstring/libmbfl/mbfl -I/usr/include/postgresql -I/home/antoranz/Descargas/php/php-5.2.17/TSRM -I/home/antoranz/Descargas/php/php-5.2.17/Zend -I/usr/include -g -O2 -prefer-non-pic -c /home/antoranz/Descargas/php/php-5.2.17/ext/dom/node.c -o ext/dom/node.lo Code:
$ gcc --version Thanks for any ideas |
Quote:
So please try one of the other 13.04 compilers : ( sudo apt get install g++-4.4 g++-4.6 ) I.e. : $ export CC=gcc-4.6 CXX=g++-4.6 && ./configure -- -- |
Seems like the problem is described right here. Let's see where it takes me to
http://code.google.com/p/php52-backp...s/detail?id=16 |
Well, I had to adjust the patch (manually) for php 5.2 but compilation has moved on. Let's see if it ends up working.
|
I would say it works... I think I'll be facing another problem now (with the ssl library). We'll see about that... but as far as this thread goes, it's solved.
|
I vaguely remember that in OpenSsl you have to manually enable outdated MD2 for older PHP versions.
|
All times are GMT -5. The time now is 05:53 PM. |