Opened 15 years ago

Closed 15 years ago

#21422 closed defect (fixed)

PHP 5.3.0_2 activation failed under Mac OS X 10.6

Reported by: james.applemac@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: jyrkiwahlstedt
Port: php4, php52, php5, php5-devel

Description

I builded and installed PHP 5.3.2_2 from macport, but it show me following error message PS. I have uninstalled every package which builded under OS X 10.5.8 and re-build them under OS X 10.6 with XCode 3.2

port install php5 +apache2 +dbase +ipc +pear +snmp +suhosin
Port command started with PID 1579
--->  Computing dependencies for php5
--->  Fetching php5
--->  Verifying checksum(s) for php5
--->  Extracting php5
--->  Applying patches to php5
--->  Configuring php5
--->  Building php5
--->  Staging php5 into destroot
Note: php5 installs files outside the common directory structure.
--->  Installing php5 @5.3.0_2+apache2+darwin_10+dbase+ipc+macosx+pear+snmp+suhosin
--->  Activating php5 @5.3.0_2+apache2+darwin_10+dbase+ipc+macosx+pear+snmp+suhosin
Error: Target org.macports.activate returned: Image error: /opt/local/var/db/php5/.turd_php5 already exists and does not belong to a registered port.  Unable to activate port php5.
Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Cc: jwa@… added
Owner: changed from macports-tickets@… to ryandesign@…
Summary: PHP 5.3.0_2 Installed Failed under Mac OS X 10.6PHP 5.3.0_2 activation failed under Mac OS X 10.6

comment:2 Changed 15 years ago by jsf@…

Same error on Leopard:

Computing dependencies for php5
Fetching php5
Attempting to fetch php-5.3.0.tar.bz2 from http://arn.se.distfiles.macports.org/php5
Verifying checksum(s) for php5
Extracting php5
Applying patches to php5
Configuring php5
Building php5
Staging php5 into destroot
Note: php5 installs files outside the common directory structure.
Installing php5 @5.3.0_2+apache2+macosx+pear
Activating php5 @5.3.0_2+apache2+macosx+pear
Error: Target org.macports.activate returned: Image error: /opt/local/var/db/php5/.turd_php5 already exists and does not belong to a registered port.  Unable to activate port php5.
Error: Status 1 encountered during processing.
Executing: /opt/local/bin/port install php5 +apache2 +pear

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Port: php4 php52 php5-devel added
Status: newassigned

Yes, I will fix it in a moment. This came about as a result of the fix for #21414.

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Fixed in r57777.

Note: See TracTickets for help on using tickets.