Opened 15 years ago
Closed 15 years ago
#20833 closed defect (fixed)
php5, php5-devel: build fails on PowerPC: 'MYSQLND_LLU_SPEC' undeclared (first use in this function)
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | talklists@… | |
Port: | php5, php5-devel |
Description
Scott Haneda reported on the mailing list that php5 @5.3.0_2 doesn't build on his Power Mac G5:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/work/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c: In function 'ps_fetch_from_1_to_8_bytes': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/work/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: 'MYSQLND_LLU_SPEC' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/work/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: (Each undeclared identifier is reported only once /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/work/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c:82: error: for each function it appears in.) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/work/php-5.3.0/ext/mysqlnd/mysqlnd_ps_codec.c:111: error: 'MYSQLND_LL_SPEC' undeclared (first use in this function) make: *** [ext/mysqlnd/mysqlnd_ps_codec.lo] Error 1
Attachments (1)
Change History (8)
comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | talklists@… added |
---|---|
Status: | new → assigned |
Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Attached is the patch I will now test.
comment:4 Changed 15 years ago by scott@…
Thanks Ryan. Can you point me to instruction on how to apply this patch?
comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
cd $(port dir php5) patch -p0 < /path/to/php5.diff
You may have to run "patch" as sudo, depending on the ownership of your ports tree.
comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | php5-devel added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Summary: | php5: build fails on PowerPC: 'MYSQLND_LLU_SPEC' undeclared (first use in this function) → php5, php5-devel: build fails on PowerPC: 'MYSQLND_LLU_SPEC' undeclared (first use in this function) |
Note: See
TracTickets for help on using
tickets.
I confirmed this on my Power Mac G4.
This is an upstream bug which has already been fixed in their CVS. I will try the patch locally.