Homebrew/homebrew-dupes — pull request #220 by tokiloki (2013-08-18 12:59:31+00:00)
Title: fixed apr-util compilation

Without this I get error

==> Downloading http://www.apache.org/dyn/closer.cgi?path=apr/apr-util-1.5.2.tar.bz2
==> Best Mirror http://apache-mirror.telesys.org.ua/apr/apr-util-1.5.2.tar.bz2
==> ./configure --prefix=/home/vv/linuxbrew/Cellar/apr-util/1.5.2 --with-apr=/home/vv/linuxbrew/opt/apr
==> make install
/bin/bash /home/vv/linuxbrew/Cellar/apr/1.4.8/build-1/libtool --silent --mode=compile /usr/bin/gcc -g -Wall -pthread -Os -w -pipe -march=core2 -msse4 -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -isystem /home/vv/linuxbrew/include -I/tmp/apr-util-8LDE/apr-util-1.5.2/include -I/tmp/apr-util-8LDE/apr-util-1.5.2/include/private -I/home/vv/linuxbrew/Cellar/apr/1.4.8/include/apr-1 -I/tmp/apr-util-8LDE/apr-util-1.5.2/xml/expat/lib -o xlate/xlate.lo -c xlate/xlate.c && touch xlate/xlate.lo
/bin/bash /home/vv/linuxbrew/Cellar/apr/1.4.8/build-1/libtool --silent --mode=compile /usr/bin/gcc -g -Wall -pthread -Os -w -pipe -march=core2 -msse4 -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -isystem /home/vv/linuxbrew/include -I/tmp/apr-util-8LDE/apr-util-1.5.2/include -I/tmp/apr-util-8LDE/apr-util-1.5.2/include/private -I/home/vv/linuxbrew/Cellar/apr/1.4.8/include/apr-1 -I/tmp/apr-util-8LDE/apr-util-1.5.2/xml/expat/lib -o xml/apr_xml.lo -c xml/apr_xml.c && touch xml/apr_xml.lo
/bin/bash /home/vv/linuxbrew/Cellar/apr/1.4.8/build-1/libtool --silent --mode=link /usr/bin/gcc -g -Wall -pthread -Os -w -pipe -march=core2 -msse4 -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -isystem /home/vv/linuxbrew/include -I/tmp/apr-util-8LDE/apr-util-1.5.2/include -I/tmp/apr-util-8LDE/apr-util-1.5.2/include/private -I/home/vv/linuxbrew/Cellar/apr/1.4.8/include/apr-1 -I/tmp/apr-util-8LDE/apr-util-1.5.2/xml/expat/lib -version-info 5:2:5 -L/home/vv/linuxbrew/lib -o libaprutil-1.la -rpath /home/vv/linuxbrew/Cellar/apr-util/1.5.2/lib buckets/apr_brigade.lo buckets/apr_buckets.lo buckets/apr_buckets_alloc.lo buckets/apr_buckets_eos.lo buckets/apr_buckets_file.lo buckets/apr_buckets_flush.lo buckets/apr_buckets_heap.lo buckets/apr_buckets_mmap.lo buckets/apr_buckets_pipe.lo buckets/apr_buckets_pool.lo buckets/apr_buckets_refcount.lo buckets/apr_buckets_simple.lo buckets/apr_buckets_socket.lo crypto/apr_crypto.lo crypto/apr_md4.lo crypto/apr_md5.lo crypto/apr_passwd.lo crypto/apr_sha1.lo crypto/crypt_blowfish.lo crypto/getuuid.lo crypto/uuid.lo dbd/apr_dbd.lo dbm/apr_dbm.lo dbm/apr_dbm_sdbm.lo dbm/sdbm/sdbm.lo dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm_lock.lo dbm/sdbm/sdbm_pair.lo encoding/apr_base64.lo hooks/apr_hooks.lo ldap/apr_ldap_stub.lo ldap/apr_ldap_url.lo memcache/apr_memcache.lo misc/apr_date.lo misc/apr_queue.lo misc/apr_reslist.lo misc/apr_rmm.lo misc/apr_thread_pool.lo misc/apu_dso.lo misc/apu_version.lo strmatch/apr_strmatch.lo uri/apr_uri.lo xlate/xlate.lo xml/apr_xml.lo -lrt -lcrypt -lpthread -ldl /tmp/apr-util-8LDE/apr-util-1.5.2/xml/expat/libexpat.la -L/home/vv/linuxbrew/Cellar/apr/1.4.8/lib -R/home/vv/linuxbrew/Cellar/apr/1.4.8/lib -lapr-1 -lrt -lcrypt -lpthread -ldl
libtool: link: cannot find the library `/tmp/apr-util-8LDE/apr-util-1.5.2/xml/expat/libexpat.la' or unhandled argument `/tmp/apr-util-8LDE/apr-util-1.5.2/xml/expat/libexpat.la'
make: *** [libaprutil-1.la] Error 1

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting