[MacPorts] #25320: qt4-mac mysql variant doesn't build mysql driver

MacPorts noreply at macports.org
Thu Jun 17 09:42:18 PDT 2010


#25320: qt4-mac mysql variant doesn't build mysql driver
------------------------------------------------+---------------------------
 Reporter:  mac.ports.fishspit@…                |       Owner:  macports-tickets@…                   
     Type:  defect                              |      Status:  new                                  
 Priority:  Normal                              |   Milestone:                                       
Component:  ports                               |     Version:  1.9.0                                
 Keywords:                                      |        Port:                                       
------------------------------------------------+---------------------------
 Attempting to install the mysql variant of qt4-mac (4.6.3), it
 compiles but doesn't include the mysql driver.  It appears to fail
 during the qt configuration when it can't find the mysql header
 file;

 {{{
 port -d build qt4-mac +mysql 2>&1 |tee build.out |grep -i mysql
 DEBUG: Executing variant mysql provides mysql
 DEBUG: mysql5 5.1.47_0 exists in the ports tree
 DEBUG: mysql5 5.1.47_0  is the latest installed
 DEBUG: mysql5 5.1.47_0  is active
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/mysql5
 DEBUG: No need to upgrade! mysql5 5.1.47_0 >= mysql5 5.1.47_0
 DEBUG: Searching for dependency: mysql5
 DEBUG: Found Dependency: receipt exists for mysql5
 MySQL (thread-safe) auto-detection... ()
 /usr/bin/g++-4.2 -c -pipe -arch i386 -O2 -Wall -W
 -I../../../mkspecs/macx-g++ -I. -o mysql.o ../mysql/mysql.cpp
 ../mysql/mysql.cpp:42:19: error: mysql.h: No such file or directory
 gmake: *** [mysql.o] Error 1
 MySQL (thread-safe) disabled.
 MySQL (thread-unsafe) auto-detection... ()
 /usr/bin/g++-4.2 -c -pipe -arch i386 -O2 -Wall -W
 -I../../../mkspecs/macx-g++ -I. -o mysql.o mysql.cpp
 mysql.cpp:42:19: error: mysql.h: No such file or directory
 gmake: *** [mysql.o] Error 1
 MySQL (thread-unsafe) disabled.
 }}}

 I noticed this with 4.6.2_2, and it also occuring with 4.6.3.  I
 think it worked correctly in 4.6.1, but I'm not sure exactly when
 it stopped because I still haven't gotten akonadi to work for kde
 4.4 so I have been sticking with 4.3.5 in mean time.

-- 
Ticket URL: <http://trac.macports.org/ticket/25320>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list