Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#15223 closed defect (worksforme)

php 5.2.6 fails due to Image error

Reported by: arthur@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: php Cc: jyrkiwahlstedt
Port:

Description

Upgrading from php 5.2.5 to 5.2.6 does not work.

$ sudo port -v activate php5 @5.2.6_0+apache2+macosx+mysql5+pear+postgresql83+sqlite
--->  Activating php5 5.2.6_0+apache2+macosx+mysql5+pear+postgresql83+sqlite
Error: port activate failed: Image error: /opt/local/lib/php/PEAR/FixPHP5PEARWarnings.php already exists and does not belong to a registered port.  Unable to activate port php5.

Change History (6)

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

Cc: jwa@… added
Milestone: Port Bugs
Owner: changed from macports-tickets@… to ryandesign@…

Assigning to maintainers. Did you have the pear-base port installed? (It was removed in r36381.)

comment:2 Changed 16 years ago by arthur@…

No, I didn't have it installed. PEAR was installed via the php port variant.

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

You'll have to manually remove that file, or force the activation (sudo port -f activate php5).

comment:4 Changed 16 years ago by arthur@…

worked. some configuration files got moved:

Warning: File /opt/local/lib/php/PEAR/FixPHP5PEARWarnings.php already exists.  Moving to: /opt/local/lib/php/PEAR/FixPHP5PEARWarnings.php.mp_1210236206.
Warning: File /opt/local/lib/php/PEAR/Installer/Role/Cfg.php already exists.  Moving to: /opt/local/lib/php/PEAR/Installer/Role/Cfg.php.mp_1210236206.
Warning: File /opt/local/lib/php/PEAR/Installer/Role/Cfg.xml already exists.  Moving to: /opt/local/lib/php/PEAR/Installer/Role/Cfg.xml.mp_1210236206.
Warning: File /opt/local/lib/php/PEAR/Installer/Role/Www.php already exists.  Moving to: /opt/local/lib/php/PEAR/Installer/Role/Www.php.mp_1210236206.
Warning: File /opt/local/lib/php/PEAR/Installer/Role/Www.xml already exists.  Moving to: /opt/local/lib/php/PEAR/Installer/Role/Www.xml.mp_1210236206.

However, PEAR works fine.

Thanks!

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

Resolution: worksforme
Status: newclosed

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.