Opened 14 years ago

Closed 14 years ago

#26480 closed defect (fixed)

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 (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: jyrkiwahlstedt
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 (5)

comment:1 Changed 14 years ago by JensErikWeber@…

Cc: JensErikWeber@… added

Cc Me!

comment:2 Changed 14 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 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jwa@… added; ryandesign@… JensErikWeber@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: mysql5 added
Status: newassigned
Summary: php5-mysql fails to upgrade: my_compiler.h: No such file or directorymysql5 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 14 years ago by JensErikWeber@…

Cc: JensErikWeber@… added

Cc Me!

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: JensErikWeber@… removed
Resolution: fixed
Status: assignedclosed

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.