On Fri, 20 Nov 2009 12:13:39 +0100, Thomas Vogt <freebsdli...@bsdunix.ch>
wrote:
> Hello
> 
> Maybe someone can help me. I try to compile several php5 extensions from
> the ports. php5 compiles fine but every extension fails with the same
> error.
> 
> Example: php5-mcrypt
> 
> In file included from
> /usr/local/include/php/main/../main/php_config.h:2827,
>                  from /usr/local/include/php/Zend/zend_config.h:1,
>                  from /usr/local/include/php/Zend/zend.h:53,
>                  from /usr/local/include/php/main/php.h:34,
>                  from
>                 
/usr/ports/security/php5-mcrypt/work/php-5.2.11/ext/mcrypt/mcrypt.c:25:
> /usr/local/include/php/ext/php_config.h:1: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'file'

There shouldn't be anything declared there. What is line 1 of that file?

-- 
Mel

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to