[MacPorts] #35222: php5 5.3.12 horrible slow cli

MacPorts noreply at macports.org
Tue Jul 17 02:37:33 PDT 2012


#35222: php5 5.3.12 horrible slow cli
--------------------------------+-------------------------------------------
 Reporter:  localgod@…          |       Owner:  ryandesign@…           
     Type:  defect              |      Status:  new                    
 Priority:  Normal              |   Milestone:                         
Component:  ports               |     Version:  2.1.1                  
 Keywords:                      |        Port:  php5                   
--------------------------------+-------------------------------------------

Comment(by localgod@…):

 I tried uninstalling macports all together and start from scratch with an
 updated xcode (4.3.3).

 This did not help.

 I then uninstall all php5 related ports and install the following ports
 one by one:
 {{{
 php54
 php54-solr
 php54-http
 php54-imagick
 php54-mongo
 php54-redis
 php54-xdebug
 php54-SPL_Types
 php54-apc
 php54-calendar
 php54-curl
 php54-dba
 php54-exif
 php54-ftp
 php54-gd
 php54-gettext
 php54-gmp
 php54-iconv
 php54-mbstring
 php54-mcrypt
 php54-memcache
 php54-mssql
 php54-mysql
 php54-odbc
 php54-openssl
 php54-pcntl
 php54-posix
 php54-postgresql
 php54-soap
 php54-sockets
 php54-sqlite
 php54-tidy
 php54-wddx
 php54-xmlrpc
 php54-xsl
 php54-zip
 php54-imap
 php54-gearman
 }}}

 This went well until I came to the last two ports (imap, gearman). German
 fails to install at all, and imap seems to be the cause of the slow cli.

 Without imap
 {{{
 $ time php54 --version
 PHP 5.4.4 (cli) (built: Jun 16 2012 12:49:38)
 Copyright (c) 1997-2012 The PHP Group
 Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
     with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans

 real    0m0.046s
 user    0m0.024s
 sys     0m0.015s
 }}}

 with imap
 {{{
 time php54 --version
 PHP 5.4.4 (cli) (built: Jun 16 2012 12:49:38)
 Copyright (c) 1997-2012 The PHP Group
 Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
     with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans

 real    0m35.053s
 user    0m0.029s
 sys     0m0.018s
 }}}

 gearman fails when trying to install gearmand:
 {{{
 ...
 :info:configure checking for boost/thread.hpp... yes
 :info:configure checking for the Boost thread library... no
 :info:configure configure: error: cannot find the flags to link with Boost
 thread
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_gearmand/gearmand/work/gearmand-0.33"
 && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-
 libevent-prefix=/opt/local --disable-libdrizzle --disable-libpq --disable-
 libmemcached --disable-libtokyocabinet
 :info:configure Exit code: 1
 :error:configure org.macports.configure for port gearmand returned:
 configure failure: command execution failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: configure failure: command execution failed
     while executing
 "$procedure $targetname"
 :info:configure Warning: targets not executed for gearmand:
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 :error:configure Failed to install gearmand
 :debug:configure couldn't open
 "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
 no such file or directory
     while executing
 "open [file join $dir tclIndex]"
 ...
 }}}

 How do I install PEAR using macports? php54 don't have a pear variant
 flag. The same goeas for apache2 support. There is no apache2 variant.

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


More information about the macports-tickets mailing list