Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2009 03:07:32 -0900
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        Thomas Vogt <freebsdlists@bsdunix.ch>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem compiling php5 fro ports
Message-ID:  <f906d9352a7613a06e1888d7ce4fa704@sbmail.office-on-the.net>
In-Reply-To: <06CA3C3C-636B-4DC7-9B99-751B610B6263@bsdunix.ch>
References:  <06CA3C3C-636B-4DC7-9B99-751B610B6263@bsdunix.ch>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 20 Nov 2009 12:13:39 +0100, Thomas Vogt <freebsdlists@bsdunix.ch>
wrote:
> Hello
>=20
> Maybe someone can help me. I try to compile several php5 extensions fro=
m
> the ports. php5 compiles fine but every extension fails with the same
> error.
>=20
> Example: php5-mcrypt
>=20
> 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
>                =20
/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 '=3D', ',', =
';',
> 'asm' or '__attribute__' before 'file'

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

--=20
Mel




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?f906d9352a7613a06e1888d7ce4fa704>