[MacPorts] #20406: mysql5-server port failed installation

MacPorts noreply at macports.org
Wed Jul 22 18:53:29 PDT 2009


#20406: mysql5-server port failed installation
--------------------------------+-------------------------------------------
 Reporter:  conradwt@…          |       Owner:  ryandesign@…           
     Type:  defect              |      Status:  new                    
 Priority:  High                |   Milestone:                         
Component:  ports               |     Version:  1.8.0                  
 Keywords:                      |        Port:  mysql5                 
--------------------------------+-------------------------------------------
Changes (by blb@…):

  * owner:  macports-tickets@… => ryandesign@…
  * port:  mysql5-server => mysql5


Old description:

> The mysql5-server port is failing installation on Snow Leopard.  I'm
> using MacBook Pro Intel Core 2 Duo.  Next, I have the most recent Xcode
> developer tools Build 10A411.  The transcript for the installation
> attempt appears below.
>
> BEGIN TRANSCRIPT:
>
> darnoc-laptop:~ conradwt$ sudo port install mysql5-server
> Password:
> --->  Computing dependencies for mysql5-server
> --->  Configuring mysql5
> 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_databases_mysql5/work/mysql-5.0.83"
> && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
> --infodir=/opt/local/share/info --localstatedir=/opt/local/var/db/mysql5
> --libdir=/opt/local/lib/mysql5 --bindir=/opt/local/lib/mysql5/bin
> --includedir=/opt/local/include/mysql5 --datadir=/opt/local/share/mysql5
> --sysconfdir=/opt/local/etc/mysql5 --with-zlib-dir=/opt/local --with-
> openssl=/opt/local --with-extra-charsets=complex --with-federated-
> storage-engine --with-unix-socket-
> path=/opt/local/var/run/mysql5/mysqld.sock --with-mysqld-user=mysql
> --without-bench --enable-thread-safe-client --without-readline " returned
> error 1
> Command output: checking sys/ipc.h presence... yes
> checking for sys/ipc.h... yes
> checking sys/shm.h usability... yes
> checking sys/shm.h presence... yes
> checking for sys/shm.h... yes
> checking linux/config.h usability... no
> checking linux/config.h presence... no
> checking for linux/config.h... no
> checking sys/prctl.h usability... no
> checking sys/prctl.h presence... no
> checking for sys/prctl.h... no
> checking sys/resource.h usability... yes
> checking sys/resource.h presence... yes
> checking for sys/resource.h... yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking for floor in -lm... yes
> checking for gethostbyname_r in -lnsl_r... no
> checking for gethostbyname_r in -lnsl... no
> checking for gethostbyname_r... no
> checking for setsockopt... yes
> checking for yp_get_default_domain... yes
> checking for p2open... no
> checking for p2open in -lgen... no
> checking for bind... yes
> checking for library containing crypt... none required
> checking for library containing inet_aton... none required
> checking for sched_yield... yes
> checking for zlib compression library... configure: error: headers or
> binaries were not found in /opt/local/{include,lib}
>
> Error: The following dependencies failed to build: mysql5
> Error: Status 1 encountered during processing.
>
> END TRANSCRIPT:

New description:

 The mysql5-server port is failing installation on Snow Leopard.  I'm using
 MacBook Pro Intel Core 2 Duo.  Next, I have the most recent Xcode
 developer tools Build 10A411.  The transcript for the installation attempt
 appears below.

 BEGIN TRANSCRIPT:
 {{{
 darnoc-laptop:~ conradwt$ sudo port install mysql5-server
 Password:
 --->  Computing dependencies for mysql5-server
 --->  Configuring mysql5
 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_databases_mysql5/work/mysql-5.0.83"
 && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
 --infodir=/opt/local/share/info --localstatedir=/opt/local/var/db/mysql5
 --libdir=/opt/local/lib/mysql5 --bindir=/opt/local/lib/mysql5/bin
 --includedir=/opt/local/include/mysql5 --datadir=/opt/local/share/mysql5
 --sysconfdir=/opt/local/etc/mysql5 --with-zlib-dir=/opt/local --with-
 openssl=/opt/local --with-extra-charsets=complex --with-federated-storage-
 engine --with-unix-socket-path=/opt/local/var/run/mysql5/mysqld.sock
 --with-mysqld-user=mysql --without-bench --enable-thread-safe-client
 --without-readline " returned error 1
 Command output: checking sys/ipc.h presence... yes
 checking for sys/ipc.h... yes
 checking sys/shm.h usability... yes
 checking sys/shm.h presence... yes
 checking for sys/shm.h... yes
 checking linux/config.h usability... no
 checking linux/config.h presence... no
 checking for linux/config.h... no
 checking sys/prctl.h usability... no
 checking sys/prctl.h presence... no
 checking for sys/prctl.h... no
 checking sys/resource.h usability... yes
 checking sys/resource.h presence... yes
 checking for sys/resource.h... yes
 checking sys/param.h usability... yes
 checking sys/param.h presence... yes
 checking for sys/param.h... yes
 checking for floor in -lm... yes
 checking for gethostbyname_r in -lnsl_r... no
 checking for gethostbyname_r in -lnsl... no
 checking for gethostbyname_r... no
 checking for setsockopt... yes
 checking for yp_get_default_domain... yes
 checking for p2open... no
 checking for p2open in -lgen... no
 checking for bind... yes
 checking for library containing crypt... none required
 checking for library containing inet_aton... none required
 checking for sched_yield... yes
 checking for zlib compression library... configure: error: headers or
 binaries were not found in /opt/local/{include,lib}

 Error: The following dependencies failed to build: mysql5
 Error: Status 1 encountered during processing.
 }}}
 END TRANSCRIPT:

--

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


More information about the macports-tickets mailing list