Summary: | Port devel/php5-pear builds php4 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Ryan <majost> |
Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Ryan
2004-11-23 19:30:32 UTC
State Changed From-To: open->feedback Could you please report the output of the following command? cd /usr/ports/devel/php5-pear make -V PHP_VER cat /usr/local/etc/php.conf You might have installed php4 previously, and perhaps a bad deinstallation? Le Mer 24 nov 04 à 2:01:21 +0100, Majost <majost@lagparty.org> écrivait : > I am unable to perform the operation on the exact same box which I was > attempting to work on; however my laptop also is running 5.3 and > exhibits the same problem. I was able to get it working on the first > machine with a quick and dirty hack... I removed the php4 ports it was > looking for and symlinked the php5 versions to their php4 counter part. > eg: ln -s /usr/ports/devel/php5 /usr/ports/devel/php4 I know it is > bad. I was in a pinch though. heh > > Any event... the information my laptop returned is as follows: > > [karl] /usr/ports/devel/php5-pear> make -V PHP_VER > 4 > [karl] /usr/ports/devel/php5-pear> cat /usr/local/etc/php.conf > cat: /usr/local/etc/php.conf: No such file or directory Well, that means that PHP - neither 4 nor 5 - has been installed, and PHP4 is the default. But if you install firstly devel/php5-pear, which is a slave port of PHP5, it will define PHP_VER=5: post-build: @${ECHO_CMD} "PHP_VER=5" > ${WRKDIR}/php.conf Once this is defined, every extension will use PHP5. Regards, -- Th. Thomas. Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer of php5-pear, although this sounds like it might be a more general problem? State Changed From-To: feedback->closed Fixed, thanks! |