Hello everyone! I'm trying to compile PHP 5.3 on my mips64 (sgi)
machine, because I not found this prebuilt package in 5.0 or snapshot
repository.

In file included from
/usr/ports/pobj/php-5.3.10/php-5.3.10/sapi/fpm/fpm/fpm_scoreboard.h:15,
                 from
/usr/ports/pobj/php-5.3.10/php-5.3.10/sapi/fpm/fpm/fpm.c:21:
/usr/ports/pobj/php-5.3.10/php-5.3.10/sapi/fpm/fpm/fpm_atomic.h:142:2:
error: #error Unsupported processor. Please open a bug report
(bugs.php.net).
In file included from
/usr/ports/pobj/php-5.3.10/php-5.3.10/sapi/fpm/fpm/fpm_scoreboard.h:15,
                 from
/usr/ports/pobj/php-5.3.10/php-5.3.10/sapi/fpm/fpm/fpm.c:21:
/usr/ports/pobj/php-5.3.10/php-5.3.10/sapi/fpm/fpm/fpm_atomic.h:146:
error: expected ')' before '*' token
In file included from
/usr/ports/pobj/php-5.3.10/php-5.3.10/sapi/fpm/fpm/fpm.c:21:
/usr/ports/pobj/php-5.3.10/php-5.3.10/sapi/fpm/fpm/fpm_scoreboard.h:22:
error: expected specifier-qualifier-list before 'atomic_t'
/usr/ports/pobj/php-5.3.10/php-5.3.10/sapi/fpm/fpm/fpm_scoreboard.h:51:
error: expected specifier-qualifier-list before 'atomic_t'
*** Error code 1

Stop in /usr/ports/pobj/php-5.3.10/php-5.3.10 (line 560 of Makefile).
*** Error code 1

I found the same bug and solution for ARM on bugs.php.net. Should I
open a ticket about this bug on bugs.php.net or the problem can be
solved right here? Unfortunately, I do not have the experience and
knowledge in such low-level things. Anyway, for now, this port should
be marked as broken at least for mips64. I do not think that anyone
would be happy to see the same error after a couple of hours compiling
:)

Also, doxygen port in this platform can compile only by removing O2
flag or adding "--english-only" option to configure flags, but as far
as I remember someone has already reported on this issue.

Best regards, Val.

Reply via email to