Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 20:14:20 -0700
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        RdBSD <slaveszeroes@gmail.com>
Subject:   Re: Error installing php5.0.4 in freebsd 5.4 Stable
Message-ID:  <200510262014.21022.ringworm01@gmail.com>
In-Reply-To: <b1041d430510261857u24e4f615w2e475de4dc56aa50@mail.gmail.com>
References:  <b1041d430510261857u24e4f615w2e475de4dc56aa50@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 26 October 2005 18:57, RdBSD wrote:
> Dear All,
>  I Have a Problem when installing php5.0.4 from source or from ports.
>  Here's the detail of errors :
>  www:>make
> gcc -Iext/libxml/
> -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/ext/libxml/
> -DPHP_ATOM_INC
> -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/include
> -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/main
> -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4-I/usr/local/incl
>ude/libxml2 -I/usr/local/include
> -I/usr/local/include/freetype2 -I/usr/local/mysql/include
> -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/TSRM
> -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/Zend -g -O2 -c
> /data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/ext/libxml/libxml.
>c -o ext/libxml/libxml.o && echo > ext/libxml/libxml.lo
> In file included from /usr/local/include/libxml2/libxml/parser.h:781,
> from /data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4
> /ext/libxml/libxml.c:38:
> /usr/local/include/libxml2/libxml/encoding.h:136: error: syntax error
> before "iconv_t"
> *** Error code 1
>
> Stop in /data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4.
>
>  Can anybody help me ?
>
>  My System :
>
> FreeBSD 5.4 Stable
>
> Apache 1.3.1
>
> PHP 5.0.4
>
> Mysql 5
>
> And other modules for Apache
>
>  Thanks.



The current version seems to be php5-5.0.5_1, is your ports tree up to date?

-Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510262014.21022.ringworm01>