[MacPorts] #15462: rb-mysql 2.7.5_0 fails to build

MacPorts noreply at macports.org
Sat May 31 11:43:07 PDT 2008


#15462: rb-mysql 2.7.5_0 fails to build
-------------------------------+--------------------------------------------
  Reporter:  tyoshida at mac.com  |       Owner:  febeling at macports.org
      Type:  defect            |      Status:  assigned             
  Priority:  Normal            |   Milestone:  Port Bugs            
 Component:  ports             |     Version:  1.6.0                
Resolution:                    |    Keywords:  rb-mysql             
-------------------------------+--------------------------------------------
Comment (by tyoshida at mac.com):

 I modified the Portfile to the following:

 {{{
 configure.args          --with-mysql-config=${prefix}/bin/mysql_config5
 }}}

 And I was able to upgrade my old rb-mysql to the new version. Not sure why
 I needed to make this change though.
 Just for a reference, mysql_config5 print the following:

 {{{
 Usage: /opt/local/bin/mysql_config5 [OPTIONS]
 Options:
         --cflags         [-I/opt/local/include/mysql5/mysql]
         --include        [-I/opt/local/include/mysql5/mysql]
         --libs           [-L/opt/local/lib -L/opt/local/lib/mysql5/mysql
 -lmysqlclient -L/opt/local/lib -lz -lm  -L/opt/local/lib -lssl -lcrypto]
         --libs_r         [-L/opt/local/lib -L/opt/local/lib/mysql5/mysql
 -lmysqlclient_r -L/opt/local/lib -lz -lm   -L/opt/local/lib -lssl
 -lcrypto]
         --socket         [/opt/local/var/run/mysql5/mysqld.sock]
         --port           [3306]
         --version        [5.0.51a]
         --libmysqld-libs [-L/opt/local/lib -L/opt/local/lib/mysql5/mysql
 -lmysqld -L/opt/local/lib -lz -lm     -L/opt/local/lib -lssl -lcrypto]
 }}}

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


More information about the macports-tickets mailing list