Re: PHP5 install error

2006-12-01 Thread Nick Bender

On 11/30/06, Brendan Grossman [EMAIL PROTECTED] wrote:

Hmm, in the Makefile it has this:

# the hardened flavor is used by both core and extensions
FLAVORS+=   hardened
FLAVOR?=

It starts to compile hardened after completing core. I loaded the core
module then in Apache and it doesn't give any errors, however php code isn't
executed (just a blank screen). I also tried just adding the core package
from ftp and same problem.

I don't know why I'm having problems... Have followed the instructions that
I used that worked perfectly on 3.8 and 3.9.


I noticed this when one of my build scripts started failing in 4.0. Now I
just do make install in www/php5/core and www/php5/extensions rather
than in www/php5 and problem solved.

A related question is say that you have decided you want to use the
hardened version of php5 for a dependent package like phpMyAdmin.
Is there a way short of makefile hacking to get the hardened version
to satisfy the RUN_DEPENDS clause?

-N



Re: Satisfying dependencies (was: PHP5 install error)

2006-12-01 Thread Joachim Schipper
On Fri, Dec 01, 2006 at 10:09:30AM -0500, Nick Bender wrote:
 Say that you have decided you want to use the hardened version of php5
 for a dependent package like phpMyAdmin. Is there a way short of
 makefile hacking to get the hardened version to satisfy the
 RUN_DEPENDS clause?

pkg_add the hardened version first?



PHP5 install error

2006-11-29 Thread Brendan Grossman
Hello everyone

I'm having the following problem trying to install php5:

bash-3.1# env FLAVOR=no_x11 no_curl no_filepro no_gmp no_imap no_ldap
no_mbstring no_mcrypt no_mhash no_ncurses no_pgsql no_shmop no_soap no_snmp
no_sqlite no_sybase_ct no_xmlrpc no_xsl make install
=== www/php5/core
=== www/php5/core,hardened
===  Installing php5-core-5.1.4p1-hardened from
/usr/ports/packages/i386/all/
Can't install php5-core-5.1.4p1-hardened because of conflicts
(php5-core-5.1.4p1)
/usr/sbin/pkg_add:
/usr/ports/packages/i386/all/php5-core-5.1.4p1-hardened.tgz:Fatal error
*** Error code 1

Stop in /usr/ports/www/php5/core (line 2057 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/php5 (line 103 of
/usr/ports/infrastructure/mk/bsd.port.subdir.mk).


Can someone point me in the right direction to resolve this? 

Cheers
Brendan



Re: PHP5 install error

2006-11-29 Thread Rogier Krieger

Just a quick guess.

On 11/30/06, Brendan Grossman [EMAIL PROTECTED] wrote:

Can't install php5-core-5.1.4p1-hardened because of conflicts
(php5-core-5.1.4p1)


Try to delete the conflicting package (php5-core) first. You already
seem to have it installed, blocking the installation for your
differently flavoured package.

# pkg_delete php5-core

Then give your original command another try.

Cheers,

Rogier

--
If you don't know where you're going, any road will get you there.



Re: PHP5 install error

2006-11-29 Thread Jason Dixon

On Nov 29, 2006, at 8:15 PM, Rogier Krieger wrote:


Just a quick guess.

On 11/30/06, Brendan Grossman [EMAIL PROTECTED] wrote:

Can't install php5-core-5.1.4p1-hardened because of conflicts
(php5-core-5.1.4p1)


Try to delete the conflicting package (php5-core) first. You already
seem to have it installed, blocking the installation for your
differently flavoured package.

# pkg_delete php5-core

Then give your original command another try.


Or if you're looking to install the hardened version in place of the  
regular, without installing it, do a make package first.  Then  
you'll have the hardened package in /usr/ports/packages/platform/ 
all/ that you can run a pkg_add -ir package against.


--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net