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

MacPorts noreply at macports.org
Fri May 30 23:40:10 PDT 2008


#15462: rb-mysql 2.7.5_0 fails to build
------------------------------+---------------------------------------------
 Reporter:  tyoshida at mac.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:  Port Bugs                            
Component:  ports             |     Version:  1.6.0                                
 Keywords:  rb-mysql          |  
------------------------------+---------------------------------------------
 I'm upgrading to rb-mysql 2.7.5_0 from rb-mysql 2.7.3_1.
 I already have MySQL 5 installed and running via MacPorts as well.

 {{{
 sudo port -v upgrade rb-mysql
 --->  Fetching rb-mysql
 --->  mysql-ruby-2.7.5.tar.gz doesn't seem to exist in
 /opt/local/var/macports/distfiles/ruby
 --->  Attempting to fetch mysql-ruby-2.7.5.tar.gz from
 http://tmtm.org/downloads/mysql/ruby/
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 32479  100 32479    0     0  12564      0  0:00:02  0:00:02 --:--:--
 16345
 --->  Verifying checksum(s) for rb-mysql
 --->  Checksumming mysql-ruby-2.7.5.tar.gz
 --->  Extracting rb-mysql
 --->  Extracting mysql-ruby-2.7.5.tar.gz
 --->  Configuring rb-mysql
 checking for mysql_query() in -lmysqlclient... no
 checking for main() in -lm... yes
 checking for mysql_query() in -lmysqlclient... no
 checking for main() in -lz... yes
 checking for mysql_query() in -lmysqlclient... no
 checking for main() in -lsocket... no
 checking for mysql_query() in -lmysqlclient... no
 checking for main() in -lnsl... no
 checking for mysql_query() in -lmysqlclient... no
 checking for main() in -lmygcc... no
 checking for mysql_query() in -lmysqlclient... no
 *** extconf.rb failed ***
 Could not create Makefile due to some reason, probably lack of
 necessary libraries and/or headers.  Check the mkmf.log file for more
 details.  You may need configuration options.

 Provided configuration options:
         --with-opt-dir
         --without-opt-dir
         --with-opt-include
         --without-opt-include=${opt-dir}/include
         --with-opt-lib
         --without-opt-lib=${opt-dir}/lib
         --with-make-prog
         --without-make-prog
         --srcdir=.
         --curdir
         --ruby=/opt/local/bin/ruby
         --with-mysql-config
         --without-mysql-config
         --with-mysql-dir
         --without-mysql-dir
         --with-mysql-include=${mysql-dir}/include
         --with-mysql-lib=${mysql-dir}/lib
         --with-mysqlclientlib
         --without-mysqlclientlib
         --with-mlib
         --without-mlib
         --with-mysqlclientlib
         --without-mysqlclientlib
         --with-zlib
         --without-zlib
         --with-mysqlclientlib
         --without-mysqlclientlib
         --with-socketlib
         --without-socketlib
         --with-mysqlclientlib
         --without-mysqlclientlib
         --with-nsllib
         --without-nsllib
         --with-mysqlclientlib
         --without-mysqlclientlib
         --with-mygcclib
         --without-mygcclib
         --with-mysqlclientlib
         --without-mysqlclientlib
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-mysql/work/mysql-ruby-2.7.5" &&
 /opt/local/bin/ruby -rvendor-specific extconf.rb --with-mysql-
 include=/opt/local/include/mysql5/mysql --with-mysql-
 lib=/opt/local/lib/mysql5/mysql " returned error 1
 Command output:         --curdir
         --ruby=/opt/local/bin/ruby
         --with-mysql-config
         --without-mysql-config
         --with-mysql-dir
         --without-mysql-dir
         --with-mysql-include=${mysql-dir}/include
         --with-mysql-lib=${mysql-dir}/lib
         --with-mysqlclientlib
         --without-mysqlclientlib
         --with-mlib
         --without-mlib
         --with-mysqlclientlib
         --without-mysqlclientlib
         --with-zlib
         --without-zlib
         --with-mysqlclientlib
         --without-mysqlclientlib
         --with-socketlib
         --without-socketlib
         --with-mysqlclientlib
         --without-mysqlclientlib
         --with-nsllib
         --without-nsllib
         --with-mysqlclientlib
         --without-mysqlclientlib
         --with-mygcclib
         --without-mygcclib
         --with-mysqlclientlib
         --without-mysqlclientlib

 Warning: the following items did not execute (for rb-mysql):
 org.macports.destroot org.macports.configure org.macports.build
 Error: Unable to upgrade port: 1
 }}}

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


More information about the macports-tickets mailing list