New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21422 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

PHP 5.3.0_2 activation failed under Mac OS X 10.6

Reported by: james.applemac@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: jwa@…
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

comment:1 Changed 4 years ago by jmr@…

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

comment:2 Changed 4 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 4 years ago by ryandesign@…

  • Status changed from new to assigned
  • Port changed from php5 to php4, php52, php5, php5-devel

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

comment:4 Changed 4 years ago by ryandesign@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in r57777.

Note: See TracTickets for help on using tickets.