New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #26480 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

mysql5 5.1.50 prevents php5-mysql +mysql5 build: my_global.h:626:25: error: my_compiler.h: No such file or directory

Reported by: JensErikWeber@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: jwa@…
Port: mysql5, php5-mysql

Description

When trying to upgrade I get the following error (Mac OS X 10.5.8 PPC):

In file included from /Users/jens/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-mysql/work/php-5.3.3/ext/mysqli/php_mysqli_structs.h:61,
                 from /Users/jens/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-mysql/work/php-5.3.3/ext/mysqli/mysqli.c:33:
/opt/local/include/mysql5/mysql/my_global.h:626:25: error: my_compiler.h: No such file or directory

It's an include directive:

#include <my_compiler.h>

But this file doesn't exist.

Change History

comment:1 Changed 3 years ago by JensErikWeber@…

  • Cc JensErikWeber@… added

Cc Me!

comment:2 Changed 3 years ago by JensErikWeber@…

I forgot the version: I tried to upgrade php5-mysql from 5.3.2_0 to 5.3.3_0.

comment:3 Changed 3 years ago by ryandesign@…

  • Owner changed from macports-tickets@… to ryandesign@…
  • Cc jwa@… added; ryandesign@…, JensErikWeber@… removed
  • Status changed from new to assigned
  • Port changed from php5-mysql to mysql5, php5-mysql
  • Summary changed from php5-mysql fails to upgrade: my_compiler.h: No such file or directory to mysql5 5.1.50 prevents php5-mysql +mysql5 build: my_global.h:626:25: error: my_compiler.h: No such file or directory

This problem is new as of mysql5 @5.1.50 and only affects php5-mysql if you are building with the +mysql5 variant. Consider building php5-mysql with the +mysqlnd variant instead to work around the problem for now.

Here's how Gentoo resolved it; I'll see if we can apply the same fix in MacPorts.

comment:4 Changed 3 years ago by JensErikWeber@…

  • Cc JensErikWeber@… added

Cc Me!

comment:5 Changed 3 years ago by ryandesign@…

  • Cc JensErikWeber@… removed
  • Status changed from assigned to closed
  • Resolution set to fixed

You don't need to Cc yourself; you already receive notifications as the ticket submitter.

Fixed in r71511 per MySQL bug report 55846.

Note: See TracTickets for help on using tickets.