Opened 12 years ago

Closed 12 years ago

#36403 closed defect (duplicate)

php5-mysql: cannot compute suffix of object files: cannot compile

Reported by: Behinder (behinder) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: php5-mysql

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Similar issue on my machine also affects:

php5-gd                        @5.3.17         php/php5-gd
php5-mbstring                  @5.3.17         php/php5-mbstring
php5-mcrypt                    @5.3.17         php/php5-mcrypt
php5-mysql                     @5.3.17         php/php5-mysql
php5-zip                       @5.3.17         php/php5-zip

Attachments (2)

main.log (10.5 KB) - added by Behinder (behinder) 12 years ago.
config.log (7.8 KB) - added by Behinder (behinder) 12 years ago.

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by Behinder (behinder)

Attachment: main.log added

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

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Summary: php5-mysql returned: configure failure: command execution failedphp5-mysql: cannot compute suffix of object files: cannot compile

The log says:

:info:configure checking for suffix of object files... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-mysql/php5-mysql/work/php-5.3.17/ext/mysql':
:info:configure configure: error: cannot compute suffix of object files: cannot compile
:info:configure See `config.log' for more details

Could you please attach the config.log?

Changed 12 years ago by Behinder (behinder)

Attachment: config.log added

comment:2 Changed 12 years ago by Behinder (behinder)

Attached log

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

Duplicate of #36211?

Try:

sudo chown -R macports /opt/local/var/macports/build/.ccache
sudo port clean php5-gd php5-mbstring php5-mcrypt php5-mysql php5-zip
sudo port install php5-gd php5-mbstring php5-mcrypt php5-mysql php5-zip 

comment:4 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… added

Cc Me!

comment:5 Changed 12 years ago by Behinder (behinder)

It works..Thanks..

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.