Opened 11 years ago

Closed 11 years ago

#40279 closed defect (invalid)

php5 @5.3.10: build fails with libxml2 @2.9.x

Reported by: chris@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: php5

Description

trying to install an older version of PHP 5.3.

Steps to reproduce:

tried as suggested to install with gcc and apple-gcc, without luck.

install result:

...
--->  Building php5
Error: org.macports.build for port php5 returned: command execution failed
Please see the log file for port php5 for details:
    /opt/local/var/macports/logs/_private_tmp_php5/php5/main.log

Attachments (1)

main.log (163.1 KB) - added by chris@… 11 years ago.

Download all attachments as: .zip

Change History (8)

Changed 11 years ago by chris@…

Attachment: main.log added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Port: php5 added; php53 removed
Summary: php53 @5.3.10 +apache2 install fail - command execution failedphp5 @5.3.10: build fails with libxml2 @2.9.x

You appear to be using the php5 port, not the php53 port.

According to Google, that error is a php incompatibility with libxml 2.9 and later. So either apply the patch to fix that old php version to work with libxml 2.9, or downgrade the libxml2 port to 2.8.x.

Why do you need such an old php anyway?

comment:2 Changed 11 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… added

Cc Me!

comment:3 Changed 11 years ago by pixilla (Bradley Giesbrecht)

On a Leopard PPC box I am running php53 due to a "zend_mm_heap corrupted" error with php54 and php55.

Here is a list of the installed php53 deps with versions:

port echo active and rdepof:php53
bzip2                          @1.0.6_0 
expat                          @2.1.0_0+universal 
gettext                        @0.18.3.1_0+universal 
gperf                          @3.0.4_2+universal 
gsed                           @4.2.2_0 
libedit                        @20121213-3.0_0 
libiconv                       @1.14_0+universal 
libxml2                        @2.9.1_0 
mhash                          @0.9.9.9_0 
ncurses                        @5.9_2+universal 
pcre                           @8.33_0 
php_select                     @1.0_0 
pkgconfig                      @0.28_0 
xz                             @5.0.5_0+universal 
zlib                           @1.2.8_0+universal 

comment:4 in reply to:  3 ; Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to pixilla@…:

On a Leopard PPC box I am running php53 due to a "zend_mm_heap corrupted" error with php54 and php55.

Yes, but the user is not using the latest version of PHP 5.3, 5.3.27; he's trying to use PHP 5.3.10 from a year ago.

comment:5 in reply to:  4 Changed 11 years ago by pixilla (Bradley Giesbrecht)

Replying to ryandesign@…:

Replying to pixilla@…:

On a Leopard PPC box I am running php53 due to a "zend_mm_heap corrupted" error with php54 and php55.

Yes, but the user is not using the latest version of PHP 5.3, 5.3.27; he's trying to use PHP 5.3.10 from a year ago.

Sorry, I should have scrolled up to read the ticket description after clicking the link in the list email.

comment:6 Changed 11 years ago by pixilla (Bradley Giesbrecht)

I was able to build php5 @5.3.10 (r89615) with libxml2 @2.8.0 (r97423) and pcre @8.12 (r84236).

You will probably need to rebuild some ports after downgrading libxml2 and pcre. Ports rev-upgrade might help you with that.

comment:7 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

I'm going to close this now, since there is no MacPorts bug here. If you need further help building old ports, please write to the macports-users mailing list.

Note: See TracTickets for help on using tickets.