Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 2004 17:30:13 +0200
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        Gerard Samuel <gsam@trini0.org>
Cc:        fbsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: FreeBSD Port: pear-apd-1.0
Message-ID:  <20041010153013.GF7506@graf.pompo.net>
In-Reply-To: <416948F9.2070400@trini0.org>
References:  <416948F9.2070400@trini0.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Dim 10 oct 04 à 16:36:41 +0200, Gerard Samuel <gsam@trini0.org>
 écrivait :
> It is currently marked broken, but doesn't say why (besides that it 
> doesnt compile).
> I modified the port to the latest version (1.0.1), and its compiling
> correctly on FreeBSD 5.2.1-RELEASE-p9
> 
> Could anyone with a different version than mine try this patch, to
> see if it really does compile, so that I can send in a PR.

Thanks for your notification!

It is OK on FreeBSD-5.3, but it fails on 4.10-STABLE with the following
message:

===>  Building for pear-apd-1.0.1
/bin/sh /usr/local/bin/libtool13 --mode=compile cc  -I. -I/usr/ports/devel/pear-apd/work/apd-1.0.1 -DPHP_ATOM_INC -I/usr/ports/devel/pear-apd/work/apd-1.0.1/include -I/usr/ports/devel/pear-apd/work/apd-1.0.1/main -I/usr/ports/devel/pear-apd/work/apd-1.0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM  -DHAVE_CONFIG_H  -O -pipe -march=pentiumpro  -prefer-pic -c /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c -o php_apd.lo
mkdir .libs
cc -I. -I/usr/ports/devel/pear-apd/work/apd-1.0.1 -DPHP_ATOM_INC -I/usr/ports/devel/pear-apd/work/apd-1.0.1/include -I/usr/ports/devel/pear-apd/work/apd-1.0.1/main -I/usr/ports/devel/pear-apd/work/apd-1.0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -DHAVE_CONFIG_H -O -pipe -march=pentiumpro -prefer-pic -c /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c  -fPIC -DPIC -o .libs/php_apd.lo
cc: unrecognized option `-prefer-pic'
/usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c: In function `apd_get_active_function_name':
/usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:305: invalid operands to binary !=
/usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:306: invalid type argument of `unary *'
/usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:312: structure has no member named `scope'
/usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:313: structure has no member named `scope'
/usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c: At top level:
/usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:470: `OnUpdateLong' undeclared here (not in a function)
/usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:470: initializer element is not constant
/usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:470: (near initialization for `ini_entries[1].on_modify')

Best regards,
-- 
Th. Thomas.



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