Bug 74300 - Port devel/php5-pear builds php4
Summary: Port devel/php5-pear builds php4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-23 19:30 UTC by Ryan
Modified: 2004-12-01 10:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan 2004-11-23 19:30:32 UTC
--->  Installing 'php5-pear-5.0.2' from a port (devel/php5-pear)
--->  Building '/usr/ports/devel/php5-pear'
===>  Cleaning for libiconv-1.9.2_1
===>  Cleaning for autoconf-2.53_3
===>  Cleaning for autoconf-2.59_2
===>  Cleaning for automake-1.5_2,1
===>  Cleaning for bison-1.75_2
===>  Cleaning for gettext-0.13.1_1
===>  Cleaning for gmake-3.80_2
===>  Cleaning for libtool-1.3.5_2
===>  Cleaning for libtool-1.5.10
===>  Cleaning for m4-1.4.1
===>  Cleaning for p5-gettext-1.03

===>  Cleaning for php4-pcre-4.3.9
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

===>  Cleaning for pkgconfig-0.15.0_1
===>  Cleaning for perl-5.8.5


===>  Cleaning for php4-4.3.9
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

===>  Cleaning for help2man-1.33.1
===>  Cleaning for expat-1.95.8
===>  Cleaning for libxml2-2.6.16


===>  Cleaning for php4-xml-4.3.9
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

===>  Cleaning for apache-2.0.52_3
===>  Cleaning for php5-pear-5.0.2

How-To-Repeat:       cd /usr/ports/devel/php5-pear ; make install
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2004-11-23 22:45:33 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?
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2004-11-24 20:59:51 UTC
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.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2004-11-25 16:49:22 UTC
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?
Comment 4 Alex Dupre freebsd_committer freebsd_triage 2004-12-01 10:36:42 UTC
State Changed
From-To: feedback->closed

Fixed, thanks!