Opened 10 years ago
Closed 10 years ago
#44278 closed defect (wontfix)
php5-mysql @5.3.28 configure failure: command execution failed
Reported by: | drew.lamar@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | ||
Port: | php5-mysql |
Description
My system details:
- OS X 10.9.3
- Xcode 5.1.1 (5B1008)
Now sure if this is where the problem is (taken from config.log -- see attached):
configure:4376: checking for MySQL support for PDO configure:4416: result: yes, shared configure:4426: checking for the location of libz configure:4441: result: /opt/local configure:5467: checking for PDO includes configure:5473: checking for PDO includes configure:5484: result: configure:5489: error: Cannot find php_pdo_driver.h.
Here's the alternate viewpoint from main.log (also attached):
:info:configure checking for PDO includes... checking for PDO includes... :info:configure configure: error: Cannot find php_pdo_driver.h. :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-mysql/php5-mysql/work/php-5.3.28/ext/pdo_mysql" && ./configure --prefix=/opt/local --with-zlib-dir=/opt/local --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd :info:configure Exit code: 1
Thanks!
- Drew
Attachments (2)
Change History (6)
Changed 10 years ago by drew.lamar@…
Attachment: | config.log added |
---|
Changed 10 years ago by drew.lamar@…
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Ports whose names begin with "php5-" are deprecated. You should use the same-named port whose name begins with "php53-", "php54-", "php55-" or "php56-" corresponding to the version of php you want to use.
The "php5-" ports work fine for me, but looking at the difference between my log and yours, I'm guessing that at some point in the past you have used "sudo port select php php53" and that this is the reason why the php5-mysql port is finding php53's headers instead of php5's headers.
comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Were you able to resolve this issue?
comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
The deprecated php5- ports are going away soon so I'm not looking into this further.
In the future, please Cc the port maintainers (
port info --maintainers php5-mysql
).