Skip to content

Instantly share code, notes, and snippets.

@lvnilesh
Created August 11, 2012 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lvnilesh/3320494 to your computer and use it in GitHub Desktop.
Save lvnilesh/3320494 to your computer and use it in GitHub Desktop.
brew install -v libxmlsec1
imac% brew install -v libxmlsec1
==> Downloading http://www.aleksey.com/xmlsec/download/xmlsec1-1.2.18.tar.gz
Already downloaded: /Library/Caches/Homebrew/libxmlsec1-1.2.18.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/libxmlsec1-1.2.18.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file src/dl.c
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/libxmlsec1/1.2.18 --with-libxml=/usr/local/Cellar/libxml2/2.8.0 --disable-apps-crypto-dl
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/libxmlsec1/1.2.18 --with-libxml=/usr/local/Cellar/libxml2/2.8.0 --disable-apps-crypto-dl
checking build system type... x86_64-apple-darwin12.0.0
checking host system type... x86_64-apple-darwin12.0.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... /usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/clang... none
checking how to run the C preprocessor... /usr/bin/clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/clang... /usr/bin/clang
checking if the linker (/usr/bin/clang) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/clang option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /usr/bin/clang object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang static flag -static works... no
checking if /usr/bin/clang supports -c -o file.o... yes
checking if /usr/bin/clang supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang linker (/usr/bin/clang) supports shared libraries... yes
checking dynamic linker characteristics... darwin12.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for cp... /bin/cp
checking for mv... /bin/mv
checking for tar... /usr/bin/tar
checking for help2man... no
checking for man2html... no
checking for function prototypes... yes
checking for string.h... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking ansidecl.h usability... no
checking ansidecl.h presence... no
checking for ansidecl.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for strchr... yes
checking for strrchr... yes
checking for printf... yes
checking for sprintf... yes
checking for fprintf... yes
checking for snprintf... yes
checking for vfprintf... yes
checking for vsprintf... yes
checking for vsnprintf... yes
checking for sscanf... yes
checking for timegm... yes
checking for development environment... no
checking for __FUNCTION__ or __func__... __FUNCTION__
checking size of size_t... 8
checking for pkg-config... yes
checking for xml2-config... /usr/local/Cellar/libxml2/2.8.0/bin/xml2-config
checking libxml2 /usr/local/Cellar/libxml2/2.8.0/bin/xml2-config ... yes ('2.8.0')
checking for LIBXSLT... yes
checking for OPENSSL... yes
checking for NSS... no
checking for NSS... no
checking for NSS... no
checking for NSS... no
checking for nspr libraries >= 4.4.1... ./configure: line 13258: test: too many arguments
./configure: line 13258: test: too many arguments
./configure: line 13258: test: too many arguments
./configure: line 13258: test: too many arguments
./configure: line 13258: test: too many arguments
no
checking for nss libraries >= 3.9... ./configure: line 13340: test: too many arguments
./configure: line 13340: test: too many arguments
./configure: line 13340: test: too many arguments
./configure: line 13340: test: too many arguments
./configure: line 13340: test: too many arguments
no
checking for GCRYPT... no
checking for GCRYPT... no
checking for GCRYPT... no
checking for gcrypt libraries >= 1.4.0... checking for GNUTLS... yes
checking for mscrypto libraries... none
checking for default crypto library... yes ('openssl')
checking for MD5 support... yes
checking for RIPEMD-160 support... yes
checking for SHA1 support... yes
checking for SHA224 support... yes
checking for SHA256 support... yes
checking for SHA384 support... yes
checking for SHA512 support... yes
checking for HMAC support... yes
checking for DSA support... yes
checking for RSA support... yes
checking for x509 support... yes
checking for DES support... yes
checking for AES support... yes
checking for GOST support... no
checking for XMLDSig support... yes
checking for XMLEnc support... yes
checking for XMKMS support - under development... no
checking for xmlsec-crypto dynamic loading support... checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
configure: error: libltdl is required for xmlsec-crypto dynamic loading
config.log was copied to /Users/nilesh/Library/Logs/Homebrew
==> Exit Status: 1
https://github.com/mxcl/master/blob/master/Library/Formula/libxmlsec1.rb#L18
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: dc9bda6f0da0c1736698b208e3daf8f7082d6f4e
CPU: 8-core 64-bit sandybridge
OS X: 10.8-x86_64
Xcode: 4.4.1
CLT: 4.4.0.0.1.1249367152
X11: XQuartz 2.7.2 in /opt/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CPPFLAGS: -I/usr/local/Cellar/libxml2/2.8.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include
LDFLAGS: -L/usr/local/Cellar/libxml2/2.8.0/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib
MAKEFLAGS: -j8
MACOSX_DEPLOYMENT_TARGET: 10.8
PKG_CONFIG_PATH: /usr/local/Cellar/libxml2/2.8.0/lib/pkgconfig:/usr/local/Library/Homebrew/pkgconfig
ACLOCAL_PATH: /usr/local/Cellar/libxml2/2.8.0/share/aclocal:/usr/local/Cellar/gettext/0.18.1.1/share/aclocal
OBJC: /usr/bin/clang
PATH: /usr/local/Cellar/libxml2/2.8.0/bin:/usr/local/Cellar/gettext/0.18.1.1/bin:/usr/local/bin:/Users/nilesh/.rbenv/shims:/Users/nilesh/.rbenv/bin:/Users/nilesh/.rbenv/shims:/Users/nilesh/.rbenv/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/Library/Contributions/cmds
Error: Failed executing: ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/libxmlsec1/1.2.18 --with-libxml=/usr/local/Cellar/libxml2/2.8.0 --disable-apps-crypto-dl (libxmlsec1.rb:18)
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/13845
Otherwise, this may help you fix or report the issue:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
We saved the configure log:
~/Library/Logs/Homebrew/config.log
When you report the issue please paste the config.log here:
http://gist.github.com/
imac%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment